Skip to content

Instantly share code, notes, and snippets.

@josiahhaswell
Created February 22, 2021 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josiahhaswell/1627ecffd993f1ba2643ac180d5ed35d to your computer and use it in GitHub Desktop.
Save josiahhaswell/1627ecffd993f1ba2643ac180d5ed35d to your computer and use it in GitHub Desktop.
Node DNS Configurations
cluster_nodes = {
etcd_nodes = [
{
name = "etcd-1"
ip = "192.168.1.5"
},
{
name = "etcd-2"
ip = "192.168.1.6"
},
{
name = "etcd-3"
ip = "192.168.1.7"
}
],
k8s_leaders = [
{
name = "k8s-leader-1"
ip = "192.168.1.8"
},
{
name = "k8s-leader-2"
ip = "192.168.1.9"
}
],
k8s_workers = [
{
name = "k8s-worker-1"
ip = "192.168.1.11"
},
{
name = "k8s-worker-2"
ip = "192.168.1.12"
},
{
name = "k8s-worker-3"
ip = "192.168.1.13"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment