Skip to content

mitrakov/uber-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uber Server

How to build and deploy

If necessary, bump up version in:

  • MainApp.scala

Build:

sbt assembly

Create Docker image:

docker build -t mitrakov/uber-server .

Login to DockerHub and push:

docker push mitrakov/uber-server

Deploy to k8s:

kubectl apply -f k8s/uber-service.yaml
kubectl apply -f k8s/uber-deployment.yaml

If the deployment already exists and you just want to restart, run:

kubectl delete pod uber-65689499b7-hhrml