https://github.com/techprimers/skaffold-spring-boot-example
Skaffold Spring Boot Example
https://github.com/techprimers/skaffold-spring-boot-example
k8s kubectl skaffold skaffold-example
Last synced: 7 months ago
JSON representation
Skaffold Spring Boot Example
- Host: GitHub
- URL: https://github.com/techprimers/skaffold-spring-boot-example
- Owner: TechPrimers
- Created: 2019-11-15T19:16:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-15T19:23:21.000Z (over 6 years ago)
- Last Synced: 2025-03-28T22:51:12.512Z (12 months ago)
- Topics: k8s, kubectl, skaffold, skaffold-example
- Language: Java
- Size: 52.7 KB
- Stars: 13
- Watchers: 2
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Skaffold Spring Boot Example
- `skaffold.yml` is used by the Skaffold CLI
- `k8s-deployment.yml` & `k8s-service.yml` are used for deployment into the K8s cluster and they are integrated into the `skaffold.yml` for continuous deployment
- `skaffold build` is used for building docker images from `skaffold.yml`
- `skaffold run` is used for building and deploying docker images on to a Kubernetes cluster
- `skaffold dev` is used to watch for files and trigger build and deployment based on that
- `minikube service spring-boot-example` - opens my service url which is configured as type `LoadBalancer`
## Reference Links
- [Skaffold Installation](https://skaffold.dev/docs/install/)
- [GoogleContainerTools](https://github.com/GoogleContainerTools/skaffold)