brief-church-51632
07/12/2024, 1:15 AMbrief-church-51632
07/12/2024, 1:45 AMquick-house-41860
07/12/2024, 9:24 AMbrief-church-51632
07/12/2024, 5:47 PMpulumi_eks.Cluster
, so the latter of the two. And yeah, sorry, I meant 1.27brief-church-51632
07/12/2024, 5:50 PMv1.27.6-minimal-eksbuild.2
is the exact versionquick-house-41860
07/15/2024, 9:22 AMconst cluster = new eks.Cluster("example-managed-nodegroups", {
skipDefaultNodeGroup: true,
deployDashboard: false,
vpcId: eksVpc.vpcId,
publicSubnetIds: eksVpc.publicSubnetIds,
privateSubnetIds: eksVpc.privateSubnetIds,
instanceRoles: [role],
version: "1.29",
});
const managedNodeGroup0 = eks.createManagedNodeGroup("example-managed-ng0", {
cluster: cluster,
nodeRole: role,
enableIMDSv2: true,
version: cluster.eksCluster.version, // <- this makes the version propagate to the node group
});
Ideally we should do this in the provider by default. I created an issue to track this enhancement: https://github.com/pulumi/pulumi-eks/issues/1253quick-house-41860
07/15/2024, 9:24 AMbrief-church-51632
07/15/2024, 10:02 AMquick-house-41860
07/15/2024, 10:27 AMbrief-church-51632
07/15/2024, 6:07 PMv1.27.1-minimal-eksbuild.1
)quick-house-41860
07/15/2024, 7:48 PMkube-proxy
and coredns
).
Example:
const kubeProxyVersion = aws.eks.getAddonVersionOutput({
addonName: "kube-proxy",
kubernetesVersion: cluster.eksCluster.version,
mostRecent: true, // whether to return the default version or the most recent version for the specified kubernetes version
}).apply((addonVersion) => addonVersion.version);
const example = new aws.eks.Addon("example", {
clusterName: cluster.eksCluster.name,
addonName: "kube-proxy",
addonVersion: kubeProxyVersion,
});
I'll also create an issue to track this enhancementbrief-church-51632
07/15/2024, 8:13 PMquick-house-41860
07/15/2024, 8:16 PMbrief-church-51632
07/16/2024, 7:04 PMI'll also create an issue to track this enhancementdo you have a pointer to the issue?
quick-house-41860
07/16/2024, 8:30 PM