Skip to content

Commit

Permalink
[fix] providerID must conform to linode://{instanceID} for node exter…
Browse files Browse the repository at this point in the history
…nal/internal IP setting (#109)

* providerID must conform to linode://{instanceID}
* need to set CCM to external
  • Loading branch information
AshleyDumaine authored Feb 13, 2024
1 parent 1a66fd5 commit b7e4ae2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions templates/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: ${CLUSTER_NAME}
labels:
cni: cilium
ccm: linode
spec:
clusterNetwork:
pods:
Expand Down Expand Up @@ -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}"
---
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b7e4ae2

Please sign in to comment.