You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
rishabhjain62
changed the title
Can inject variable determined at runtime to nodeadm config?
How to inject variable determined at runtime to nodeadm userdata?
Nov 13, 2024
Hi,
We need to assign instance life cycle as node label to support some functionality. Earlier with bootstrap.sh this method used to work - --kubelet-extra-args "--node-labels=lifecycle=$(curl -s http://169.254.169.254/latest/meta-data/instance-life-cycle),worker_type=application"
But with nodeadm, I could not find reference to make it work.
`MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="BOUNDARY"
--BOUNDARY
Content-Type: application/node.eks.aws
apiVersion: node.eks.aws/v1alpha1
kind: NodeConfig
spec:
cluster:
name:
apiServerEndpoint:
certificateAuthority:
cidr: 10.1.0.0/16
--BOUNDARY
Content-Type: application/node.eks.aws
apiVersion: node.eks.aws/v1alpha1
kind: NodeConfig
spec:
kubelet:
config:
shutdownGracePeriod: 30s
featureGates:
DisableKubeletCloudCredentialProviders: true
flags:
- --node-labels=lifecycle=$(curl -s http://169.254.169.254/latest/meta-data/instance-life-cycle),worker_type=application
--BOUNDARY--`
The text was updated successfully, but these errors were encountered: