almosen
Intern
Intern
  • UID3556
  • Fans0
  • Follows0
  • Posts3
Reads:1162Replies:2

kubernetes API https endpoint

Created#
More Posted time:Feb 9, 2018 1:06 AM
Hello there,


I have tried deploying a kubernetes cluster, but the API endpoint is only reachable at https://IP:port, I need a domain name and a valid ssl certificate, is there a DNS name where I can reach the kubernetes API? The load balancer also wont allow me to assign a ssl certificate, since the exposed port already is a https port. I can only redeploy the cert on the cluster, but then I have to do all the configuration manually. :( Any help?
I want to integrate the kubernetes cluster to gitlab for Auto CI

hanneng
Assistant Engineer
Assistant Engineer
  • UID3277
  • Fans3
  • Follows0
  • Posts52
1st Reply#
Posted time:Feb 9, 2018 17:38 PM
Hi

you can use Alibaba DNS.
Add an A record to your IP.



Refer to my post on how to add DNS records in Aliabab Cloud DNS

almosen
Intern
Intern
  • UID3556
  • Fans0
  • Follows0
  • Posts3
2nd Reply#
Posted time:Feb 23, 2018 16:44 PM
I know how to assign a DNS name to an IP, but then the issue will be that the certificate for this name will not be correct. I also cannot generate the cert at a reverse proxy i put in front of kubernetes, since the ssl cert has to match on the cluster
Guest