https://pulumi.com logo
Title
b

bumpy-laptop-30846

03/15/2023, 2:13 PM
Hello, I need to configure kubelet on my EKS cluster as indicated here. Does anyone have any experience with this with Pulumi?
s

straight-yacht-47796

03/15/2023, 4:18 PM
Do you mean that you want to update kubectl to point to your EKS cluster?
if so you can just use local from “@pulumi/command” and do something like (typescript example)
const kc = new local.Command("execkc", {
    create: pulumi.interpolate`aws eks update-kubeconfig --name ${cluster.eksCluster.name}`
});
where cluster is
const cluster = new eks.Cluster(...);
b

bumpy-laptop-30846

03/15/2023, 4:28 PM
kubelet is the process that runs on each eks node and is used to configure the node in the cluster, make it join the cluster.
In order to configure nodeLocalDns, you need to change parameters for this process as indicated in the link.