Demo spring-boot application to try out new features.
A minimal SpringBoot application to try out new features.
./run.sh start
./run.sh stop
./run.sh restart
cd kind
./create-cluster.sh
cd ..
./run.sh k8s_deploy
# Access http://localhost:30090
./run.sh k8s_undeploy
./kind/destroy-cluster.sh
kubectl apply -f k8s/config.yaml
kubectl apply -f k8s/postgresdb.yaml
kubectl apply -f k8s/todolist.yaml
kubectl apply -f k8s/
kubectl scale --replicas=2 deployment spring-boot-todolist-deployment
kubectl create deployment spring-boot-todolist --image sivaprasadreddy/spring-boot-todolist -o yaml --dry-run=client > k8s/deployment.yaml
kubectl create service clusterip spring-boot-todolist --tcp 80:8080 -o yaml --dry-run=client > k8s/service.yaml
kubectl port-forward svc/spring-boot-todolist 9090:8080
kubectl create configmap spring-boot-todolist --from-file=./k8s/application.properties
kubectl create configmap todolist-k8s-configmap --from-file=./application.properties
kubectl get configmap spring-boot-todolist -o yaml
skaffold dev --port-forward --skip-tests=true