Generating the Kubernetes API Server Certificate

I'm not sure what value should be used to replace the static IP here CERT_HOSTNAME=10.32.0.1
  • post-author-pic
    Will B
    01-22-2019

    It should be a long list of values:

    CERT_HOSTNAME=10.32.0.1,<controller node 1 Private IP>,<controller node 1 hostname>,<controller node 2 Private IP>,<controller node 2 hostname>,<API load balancer Private IP>,<API load balancer hostname>,127.0.0.1,localhost,kubernetes.default

    Everything marked with "< >" needs to be replaced, the other static stuff needs to be exactly as is printed there. So, for example, leave the 10.32.0.1 as-is. The other values are the values for your servers, private IP addresses and hostnames. You can find the values in the cloud playground/cloud servers screen where you set up the servers.

    I hope that answers your question. Let me know if you need any further clarification!

  • post-author-pic
    Victor C
    01-22-2019

    Kubernetes uses 10.32.0.1.  You have to include it in the CERT_HOSTNAME variable together with your controller IP's.

  • post-author-pic
    Ermin K
    01-23-2019

    Did you manage to solve this?

Looking For Team Training?

Learn More