microk8s icon indicating copy to clipboard operation
microk8s copied to clipboard

How to run microk8s in AWS - adding correct providerID

Open npandeya opened this issue 11 months ago • 1 comments

When deploying nginx ingress controller and aws load balancer controller from these charts https://kubernetes.github.io/ingress-nginx and https://aws.github.io/eks-charts; aws load balancer controller giving providerID not specified for node:

  • How can I add providerID?
  • Will deploying eks-D channel add providerID automatically for aws?

Please help!!

npandeya avatar Jan 12 '25 23:01 npandeya

Hi @npandeya,

Thank you for reporting your issue with us.

You may have to add arguments to the kubelet arguments file living at: /var/snap/microk8s/current/args/kubelet and try setting the --cloud-provider flag and/or the --provider-id argument. Please restart your microk8s service for the changes to apply. See the command line reference for more guidance: https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/

Best regards, Louise

louiseschmidtgen avatar Jan 13 '25 13:01 louiseschmidtgen