### local, usando docker-compose
make compose_up
make run
### kubernetes
make cluster_up
make build
make deploy
NODE_ADDRESS=$(shell kubectl get node goexpert-k8s-control-plane -o jsonpath="{.status.addresses[0].address}")
NODE_PORT=$(kubectl get svc server-svc -o jsonpath="{.spec.ports[0].nodePort}")
curl ${NODE_ADDRESS}:${NODE_PORT}/status
curl ${NODE_ADDRESS}:${NODE_PORT}/hello/$(whoami)
make cluster_down
-
Notifications
You must be signed in to change notification settings - Fork 0
goexpert-k8s
aleroxac/goexpert-k8s
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
goexpert-k8s
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published