This message was deleted.
# kubernetes
s
This message was deleted.
s
You will want to set the provider namespace/secret etc. to the provider from EKS. See https://github.com/pulumi/examples/blob/master/aws-ts-eks-hello-world/index.ts#L27 Sounds like the default kubernetes provider is trying to use ambient credentials (which probably don't exist) and failing.
b
Vivek beat me to it!
s
you're supposed to be resting @billowy-army-68599 😛
d
ive seen that sample code but when i look at https://www.pulumi.com/docs/reference/pkg/aws/eks/cluster/ provider is not a output of new aws.eks.Cluster
oh i see it uses
@pulumi/eks
and not
@pulumi/aws
.eks what is the difference between the two?
ive changed the code to use @pulumi/eks but im getting an error
Copy code
error: Error: It looks like you're using AWS profiles. Please specify this profile in providerCredentialOpts.
        at new Cluster (/Users/peterzhang/workspace/formations/infra/node_modules/@pulumi/cluster.ts:1385:19)
however, ive already set the profile with
pulumi config set
and also running the command like this
Copy code
AWS_PROFILE=playground pulumi up
b