GeezerVison is showing github.com — GitHub - suresh955/docker-kubernetes-hello-world: Docker & Kubernetes Hello World
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
Hello World with Docker and Kubernetes
This repo consists of a Spring Boot Hello World application. It shows:
-
Run & test the application from CLI
-
Create a Docker image, run the container and test it
-
Create Kubernetes deployment and test it
curl http://localhost:8080
docker image build -t arungupta/helloworld-spring-boot:latest .
docker image push arungupta/helloworld-spring-boot:latest
docker container run -d --name hello-world -p 8080:8080 arungupta/helloworld-spring-boot:latest
curl http://localhost:8080
docker container rm -f hello-world
kubectl apply -f deployment.yaml
curl http://`kubectl get svc hello-world-service -o jsonpath={.status.loadBalancer.ingress[0].hostname}`
kubectl delete -f deployment.yaml
About
Docker & Kubernetes Hello World
Resources
Stars
0 stars
Watchers
0 watching
Forks