https://github.com/albertoimpl/hello-java-kubernetes
https://github.com/albertoimpl/hello-java-kubernetes
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/albertoimpl/hello-java-kubernetes
- Owner: Albertoimpl
- License: apache-2.0
- Created: 2021-07-16T13:32:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-21T11:02:36.000Z (over 4 years ago)
- Last Synced: 2025-01-23T21:28:41.681Z (about 1 year ago)
- Language: Java
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hello-java-kubernetes
Build the image:
```bash
./gradlew bootBuildImage --imageName=albertoimpl/hello-java
```
or:
```bash
pack set-default-builder paketobuildpacks/builder:base
pack build albertoimpl/hello-java
```
Push it to a registry:
```bash
docker push albertoimpl/hello-java
```
Create a Kubernetes cluster:
```bash
kind create cluster
```
Deploy it into Kubernetes:
```bash
kubectl apply -f k8s/
```