mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-28 10:19:36 +00:00
* Self-hosted Kuberntes api-server comes up without a hostname override and detects the hostname it should use from `uname -n` * kube-apiserver name must correspond to routable kubelet hostname-override * Provision /etc/hostname with the FQDN so `uname -n` can be used by Kubernetes (until NODE_NAME is avail. in k8s 1.4)
22 lines
602 B
JSON
22 lines
602 B
JSON
{
|
|
"id": "node1",
|
|
"name": "Controller Node",
|
|
"profile": "bootkube-controller",
|
|
"selector": {
|
|
"mac": "52:54:00:a1:9c:ae"
|
|
},
|
|
"metadata": {
|
|
"domain_name": "node1.example.com",
|
|
"etcd_initial_cluster": "node1=http://node1.example.com:2380",
|
|
"etcd_name": "node1",
|
|
"k8s_controller_endpoint": "https://node1.example.com:443",
|
|
"k8s_dns_service_ip": "10.3.0.10",
|
|
"k8s_etcd_endpoints": "http://node1.example.com:2379",
|
|
"k8s_pod_network": "10.2.0.0/16",
|
|
"k8s_service_ip_range": "10.3.0.0/24",
|
|
"pxe": "true",
|
|
"ssh_authorized_keys": [
|
|
"ADD ME"
|
|
]
|
|
}
|
|
} |