coreos / coreos-kubernetes

CoreOS Container Linux+Kubernetes documentation & Vagrant installers
https://coreos.com/kubernetes/docs/latest/
Apache License 2.0
1.1k stars 466 forks source link

Kubeconfig #854

Closed kcgen closed 7 years ago

kcgen commented 7 years ago

Please include how multiple api servers are specified in the kubeconfig YAML structure.

For example, the --api-servers flag accepted a list such as "hostname1:port1,hostname2:port2,..."

However, the YAML key "server" name implies a single server, and the examples below only show it's a dict key accepting a string:

clusters:

So would one have to duplicate the cluster itself?

clusters:

Or is a list allowed?

clusters:

Or are the servers embedded in a comma-delimited string?

clusters:

Thank you.

jsulinski commented 7 years ago

This should probably be cleaned up and merged. api-servers has a deprecation warning.

zbwright commented 7 years ago

Hey - Thanks for your help on these. I'm closing this PR because we've completely rewritten and moved the Kubernetes documentation. Take a look, if you like: https://coreos.com/tectonic/docs/latest/tutorials/kubernetes/getting-started.html