From efba1ff6c74a5e57f98f2a9d78a765212f6795df Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 2 Feb 2024 14:07:57 +0930 Subject: [PATCH] feat(config): set value `node-ip` !17 --- templates/k3s-config.yaml.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/k3s-config.yaml.j2 b/templates/k3s-config.yaml.j2 index 0b49094..13c46ca 100644 --- a/templates/k3s-config.yaml.j2 +++ b/templates/k3s-config.yaml.j2 @@ -123,7 +123,8 @@ "system-reserved=cpu=" + kubelet_arg_system_reserved_cpu + ",memory=" + kubelet_arg_system_reserved_memory + ",ephemeral-storage=" + kubelet_arg_system_reserved_storage ], - "node-name": inventory_hostname + "node-name": inventory_hostname, + "node-ip": ansible_default_ipv4.address } -%}