From b7e4ae26cf291762541d89d794c2f5c599e4f8ea Mon Sep 17 00:00:00 2001 From: Ashley Dumaine <5779804+AshleyDumaine@users.noreply.github.com> Date: Mon, 12 Feb 2024 20:24:53 -0500 Subject: [PATCH] [fix] providerID must conform to linode://{instanceID} for node external/internal IP setting (#109) * providerID must conform to linode://{instanceID} * need to set CCM to external --- templates/cluster-template.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/templates/cluster-template.yaml b/templates/cluster-template.yaml index 075d75208..ec9443b48 100644 --- a/templates/cluster-template.yaml +++ b/templates/cluster-template.yaml @@ -4,6 +4,7 @@ metadata: name: ${CLUSTER_NAME} labels: cni: cilium + ccm: linode spec: clusterNetwork: pods: @@ -65,18 +66,20 @@ spec: apiServer: extraArgs: cloud-provider: external - timeoutForControlPlane: 20m + controllerManager: + extraArgs: + cloud-provider: external initConfiguration: nodeRegistration: kubeletExtraArgs: cloud-provider: external - provider-id: 'linode:///{{ ds.meta_data.region }}/{{ ds.meta_data.id }}' + provider-id: 'linode://{{ ds.meta_data.id }}' name: '{{ ds.meta_data.label }}' joinConfiguration: nodeRegistration: kubeletExtraArgs: cloud-provider: external - provider-id: 'linode:///{{ ds.meta_data.region }}/{{ ds.meta_data.id }}' + provider-id: 'linode://{{ ds.meta_data.id }}' name: '{{ ds.meta_data.label }}' version: "${KUBERNETES_VERSION}" --- @@ -164,7 +167,7 @@ spec: nodeRegistration: kubeletExtraArgs: cloud-provider: external - provider-id: 'linode:///{{ ds.meta_data.region }}/{{ ds.meta_data.id }}' + provider-id: 'linode://{{ ds.meta_data.id }}' name: '{{ ds.meta_data.label }}' --- apiVersion: v1