Skip to content

Commit 0aeb0ce

Browse files
committed
fixup! refactor: Remove system pools from EKS cluster
This was breaking certain pod deployments due to incorrect IAM permissions.
1 parent ff2e42d commit 0aeb0ce

File tree

4 files changed

+0
-56
lines changed

4 files changed

+0
-56
lines changed

charts/cluster-api-runtime-extensions-nutanix/defaultclusterclasses/eks-cluster-class.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,6 @@ spec:
5252
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
5353
kind: AWSMachineTemplate
5454
name: eks-quick-start-worker-machinetemplate
55-
- class: system-worker
56-
template:
57-
bootstrap:
58-
ref:
59-
apiVersion: bootstrap.cluster.x-k8s.io/v1beta2
60-
kind: EKSConfigTemplate
61-
name: eks-quick-start-worker-configtemplate
62-
infrastructure:
63-
ref:
64-
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
65-
kind: AWSMachineTemplate
66-
name: eks-quick-start-worker-machinetemplate
6755
---
6856
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
6957
kind: AWSManagedClusterTemplate

examples/capi-quick-start/eks-cluster.yaml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,3 @@ spec:
102102
cluster.x-k8s.io/cluster-api-autoscaler-node-group-max-size: "${WORKER_MACHINE_COUNT}"
103103
cluster.x-k8s.io/cluster-api-autoscaler-node-group-min-size: "${WORKER_MACHINE_COUNT}"
104104
name: md-0
105-
- class: system-worker
106-
metadata:
107-
labels:
108-
node-restriction.kubernetes.io/capi-controllers: ""
109-
name: system
110-
replicas: 1
111-
variables:
112-
overrides:
113-
- name: workerConfig
114-
value:
115-
eks:
116-
iamInstanceProfile: control-plane.cluster-api-provider-aws.sigs.k8s.io
117-
taints:
118-
- effect: NoSchedule
119-
key: node-restriction.kubernetes.io/capi-controllers
120-
value: "true"

hack/examples/bases/eks/cluster/cluster.yaml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,3 @@ spec:
8282
- class: default-worker
8383
name: md-0
8484
replicas: ${WORKER_MACHINE_COUNT}
85-
- class: system-worker
86-
name: system
87-
metadata:
88-
labels:
89-
node-restriction.kubernetes.io/capi-controllers: ""
90-
replicas: 1
91-
variables:
92-
overrides:
93-
- name: workerConfig
94-
value:
95-
taints:
96-
- effect: NoSchedule
97-
key: node-restriction.kubernetes.io/capi-controllers
98-
value: "true"
99-
eks:
100-
iamInstanceProfile: "control-plane.cluster-api-provider-aws.sigs.k8s.io"

hack/examples/bases/eks/clusterclass/clusterclass.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@ spec:
3030
name: "quick-start-worker-machinetemplate"
3131
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
3232
kind: AWSMachineTemplate
33-
- class: system-worker
34-
template:
35-
bootstrap:
36-
ref:
37-
name: "quick-start-worker-configtemplate"
38-
apiVersion: bootstrap.cluster.x-k8s.io/v1beta2
39-
kind: EKSConfigTemplate
40-
infrastructure:
41-
ref:
42-
name: "quick-start-worker-machinetemplate"
43-
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
44-
kind: AWSMachineTemplate
4533
---
4634
kind: AWSManagedClusterTemplate
4735
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2

0 commit comments

Comments
 (0)