guanw / ct-dns

service discovery with support for different storage options + http/grpc protocols (WIP)
0 stars 0 forks source link

deploy service with kubernetes #27

Open guanw opened 4 years ago

guanw commented 4 years ago

references:

https://www.bogotobogo.com/GoLang/GoLang_Web_Building_Docker_Image_and_Deploy_to_Kubernetes.php

https://medium.com/@yusufkaratoprak/a-simple-golang-application-via-kubernetes-8a200235a45a

https://www.callicoder.com/deploy-multi-container-go-redis-app-kubernetes/

guanw commented 4 years ago
  1. make sure kubernetes can read config from config folder
  2. deploy the application with kubernetes
  3. deploy the storage backend with kubernetes
guanw commented 4 years ago

one more thing: http handler doesn't seem to recognize if ingress passes prefix path, refer to https://stackoverflow.com/questions/49481834/http-handlefunc-not-working for solution.

also, this article is helpful for diagnosing the ingress issue.