Update docs on flatcar-linux bare-metal kubernetes worker module usage.
This commit is contained in:
parent
d29e6e3de1
commit
cd699ee1aa
|
@ -194,7 +194,7 @@ Workers with similar features can be defined inline using the `workers` field as
|
||||||
|
|
||||||
```tf
|
```tf
|
||||||
module "mercury-node1" {
|
module "mercury-node1" {
|
||||||
source = "git::https://github.com/poseidon/typhoon//bare-metal/fedora-coreos/kubernetes/worker?ref=v1.27.4"
|
source = "git::https://github.com/poseidon/typhoon//bare-metal/flatcar-linux/kubernetes/worker?ref=v1.27.4"
|
||||||
|
|
||||||
# bare-metal
|
# bare-metal
|
||||||
cluster_name = "mercury"
|
cluster_name = "mercury"
|
||||||
|
@ -206,13 +206,13 @@ module "mercury-node1" {
|
||||||
name = "node2"
|
name = "node2"
|
||||||
mac = "52:54:00:b2:2f:86"
|
mac = "52:54:00:b2:2f:86"
|
||||||
domain = "node2.example.com"
|
domain = "node2.example.com"
|
||||||
kubeconfig = module.mercury.kubeconfig
|
kubeconfig = module.mercury.kubeconfig-admin
|
||||||
ssh_authorized_key = "ssh-rsa AAAAB3Nz..."
|
ssh_authorized_key = "ssh-rsa AAAAB3Nz..."
|
||||||
|
|
||||||
# optional
|
# optional
|
||||||
snippets = []
|
snippets = []
|
||||||
node_labels = []
|
node_labels = []
|
||||||
node_tains = []
|
node_taints = []
|
||||||
install_disk = "/dev/vda"
|
install_disk = "/dev/vda"
|
||||||
cached_install = false
|
cached_install = false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue