I'm seeing an issue with EKS when updating the k8s...
# kubernetes
a
I'm seeing an issue with EKS when updating the k8s version of a Node Group using Pulumi. We have an
eks.ManagedNodeGroup
(the node group is currently on Kubernetes version
1.31
). When I update the
version
property on this type,
pulumi preview
is not showing any version change on the Node Group. I've tried a few things, but hoping someone here might have seen a similar issue before, or any advice on how to debug this? (p.s. Sorry for cross-posting on #CRH5ENVDX)
In case someone else has this issue, we've worked around this by specifying the AMI. Previously the AMI seemed to be inferred from this
version
property.
s
Hi James! Do you have userData or the amiId set? It looks like the logic removes the version if those are explicitly set https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/nodes/nodegroup.ts#L2051 Looks like these may trigger that behavior as well: "bootstrapExtraArgs", "kubeletExtraArgs", "bottlerocketSettings", and "nodeadmExtraOptions" https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/nodes/userdata.ts#L135