From 9f8e4359bf32254614ca4f8a69c4502123ad4fa5 Mon Sep 17 00:00:00 2001 From: Bianco95 Date: Thu, 3 Jul 2025 10:58:52 +0200 Subject: [PATCH 1/2] Updated virtual-kubelet-configuration file to handle podCIDR --- interlink/templates/virtual-kubelet-config.yaml | 4 ++++ interlink/values.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/interlink/templates/virtual-kubelet-config.yaml b/interlink/templates/virtual-kubelet-config.yaml index 9678fcf..1632c9f 100644 --- a/interlink/templates/virtual-kubelet-config.yaml +++ b/interlink/templates/virtual-kubelet-config.yaml @@ -51,6 +51,10 @@ data: Model: "{{ .model }}" Available: {{ .available }} {{- end }} + PodCIDR: + Subnet: {{ .Values.virtualNode.podCIDR.subnet }} + MinIP: {{ .Values.virtualNode.podCIDR.minIP }} + MaxIP: {{ .Values.virtualNode.podCIDR.maxIP }} HTTP: Insecure: {{ .Values.virtualNode.HTTP.insecure }} CaCert: {{ .Values.virtualNode.HTTP.CACert }} diff --git a/interlink/values.yaml b/interlink/values.yaml index 3262448..310c468 100644 --- a/interlink/values.yaml +++ b/interlink/values.yaml @@ -59,6 +59,10 @@ virtualNode: #- resourceType: nvidia.com/gpu # model: a100 # available: 1 + # podCIDR: + # subnet: 10.42.122.0/24 + # minIP: 2 + # maxIP: 250 HTTPProxies: HTTP: null HTTPs: null From 2537bb206aff99292f4cd8c2fb8d1e6bb3d4ed57 Mon Sep 17 00:00:00 2001 From: Bianco95 Date: Tue, 22 Jul 2025 09:39:42 +0200 Subject: [PATCH 2/2] updated virtual-kubelet-config template to handle null podCIDR --- interlink/templates/virtual-kubelet-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interlink/templates/virtual-kubelet-config.yaml b/interlink/templates/virtual-kubelet-config.yaml index 1632c9f..1e346b8 100644 --- a/interlink/templates/virtual-kubelet-config.yaml +++ b/interlink/templates/virtual-kubelet-config.yaml @@ -51,10 +51,12 @@ data: Model: "{{ .model }}" Available: {{ .available }} {{- end }} + {{- if .Values.virtualNode.podCIDR }} PodCIDR: Subnet: {{ .Values.virtualNode.podCIDR.subnet }} MinIP: {{ .Values.virtualNode.podCIDR.minIP }} MaxIP: {{ .Values.virtualNode.podCIDR.maxIP }} + {{- end }} HTTP: Insecure: {{ .Values.virtualNode.HTTP.insecure }} CaCert: {{ .Values.virtualNode.HTTP.CACert }}