Open nadiia-caspar opened 1 year ago
Hello @nadiia-caspar, how did you enable the debug log for kubegrunt cli? Can you please help with the steps.
@valabhaveshr sorry, lost this issue out of sight.
I just run this command and it was the output of it:
kubergrunt eks deploy --delete-emptydir-data --region eu-central-1 --asg-name "$ASG_GROUP_NAME"
Describe the bug I recently used
kubergrunt eks deploy
to roll-out workers update and it suddenly failed at some point (see logs):The reason for this that my
kubectl
was not switched to correct context, basically, neitherkubectl
notkubergrunt
cannot authenticate to the correct cluster. But, as you can see from logs, you cannot define that.To Reproduce Steps to reproduce the behavior including the relevant Terraform/Terragrunt/Packer version number and any code snippets and module inputs you used.
Expected behavior Display meaningful errors if
kubergrunt
cannot authenticate to Kubernetes cluster.Nice to have
Additional context Add any other context about the problem here.