https://pulumi.com logo
#general
Title
# general
h

helpful-account-44059

01/27/2022, 2:00 PM
Hi,i'm following the code to create new aws eks cluter, after
pulumi up
, i got this error:
Copy code
Diagnostics:
  eks:index:VpcCni (relation-aws-eks-cluter-vpc-cni):
    error: Command failed: kubectl apply -f C:\Users\Matrix\AppData\Local\Temp\tmp-6800oi250Aa7ZzSV.tmp
    error: You must be logged in to the server (the server has asked for the client to provide credentials)

  pulumi:pulumi:Stack (relation-aws-eks-cluter-dev):
    error: You must be logged in to the server (the server has asked for the client to provide credentials)

    error: update failed
how to fix?
if i run this command, it successwd
Copy code
aws eks update-kubeconfig --name relation-aws-eks-cluter-eksCluster-a8b83ef --region us-east-2
b

bored-oyster-3147

01/27/2022, 3:15 PM
notice that in the error message pulumi is using
kubectl apply
not the
aws eks
command you are testing with. So make sure you are able to authenticate to your cluster with
kubectl
1
👀 1
2 Views