Kubernetes Deploy
- Install docker and golang
cd && GO111MODULE=on go get github.com/google/ko/cmd/ko
for install kokubectl create -f https://bit.ly/k4k8s
for install kong api gatewaykubectl create -f namespace.json
for create namespace for productionkubectl create -f namespace-dev.json
for create namespace for dev (default namespace)KO_DOCKER_REPO=ko.local ko apply -f <fileName>.yaml
for set deploymentkubectl apply -f api-gateway.yaml
for create kong api gateway controllerkubectl apply -f rate-limit.yaml
for use kong rate limit pluginkubectl apply -f user-service.yaml
for expose service http://localhost/api/userkubectl apply -f post-service.yaml
for expose service http://localhost/api/post)- If Production Server must download config.yaml of k8s to can apply deployment