An open API service indexing awesome lists of open source software.

https://github.com/aleroxac/goexpert-k8s

goexpert-k8s
https://github.com/aleroxac/goexpert-k8s

docker docker-compose fullcycle go goexpert golang k8s kubernetes

Last synced: 3 months ago
JSON representation

goexpert-k8s

Awesome Lists containing this project

README

          

# goexpert-k8s

## Modo de uso
``` shell
### 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
```