Skip to content

Commit

Permalink
Support feature-gate config for kubelet
Browse files Browse the repository at this point in the history
  • Loading branch information
discordianfish committed Feb 13, 2018
1 parent e27470f commit ad421b9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions templates/worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ Parameters:
Type: String
Default: ""

FeatureGates:
Description: Feature Gates for kubelet
Type: String
Default: ""

WorkerInstanceType:
Description: EC2 instance type for controller nodes.
Type: String
Expand Down Expand Up @@ -86,6 +91,7 @@ Mappings:
--cluster-dns=10.96.0.10 \
--cluster-domain=${KUBELET_CLUSTER_DOMAIN} \
--register-with-taints=${KUBELET_TAINTS} \
--feature-gates=${KUBELET_FEATURE_GATES} \
--allow-privileged
ExecStop=-/usr/bin/rkt stop --uuid-file=/var/run/kubelet-pod.uuid
[Install]
Expand Down Expand Up @@ -291,9 +297,11 @@ Resources:
KUBELET_API_SERVERS=api.${DomainName}
KUBELET_CLUSTER_DOMAIN=${DomainName}
KUBELET_TAINTS=${Taints}
KUBELET_FEATURE_GATES=${FeatureGates}
- KubeletImageTag: !Ref KubeletImageTag
DomainName: !Ref DomainName
Taints: !Ref Taints
FeatureGates: !Ref FeatureGates
cloudProviderConfig:
Fn::Base64:
Fn::Sub:
Expand Down

0 comments on commit ad421b9

Please sign in to comment.