GKE: Setting up HTTP(S) on ingress using pre-shared certificate

https://www.bestinternet.co.th/service_view.php?id=6
Google Domain
https://veracompadria.com/en/google-chrome-68-protect-website-ssl-certificates/
gcloud compute addresses create my-app-ip --global
gcloud compute addresses describe my-app-ip --global
gcloud compute ssl-certificates create my-app-ingress-cer \
--certificate my-website.pem --private-key my-website.key
gcloud compute ssl-certificates list
  • kubernetes.io/ingress.global-static-ip-name is the name of your reserved static ip
  • ingress.gcp.kubernetes.io/pre-shared-cert is the name of your certificate resource created
  • Replace www.my-website.page with your website.
  • Replace “app-name” with your app name.
  • Replace 5000 with your service port.
  • The ingress will route external traffic to the service specified.
  • First field: subdomain, ex: www
  • Second field: The global static ip you reserved

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Key Intouch

Key Intouch

Software Engineer @ LINE MAN Wongnai. Interested in Back-end, DevOps, Data pipeline.