$ cd springboot-app/
$ docker build --no-cache -t anushiya/app:latest .
$ docker build --no-cache -t [dockerhub account name]/[name of the application]:[version number]
Note that the name of the application and the version number should be same as the one used to build the image above
$ docker push anushiya/app:latest
$ docker push [dockerhub account name]/[name of the application]:[version number]
cd deployment/app
kubectl apply -f app.yaml
kubectl apply -f [name of the deployment yaml]