https://pulumi.com logo
#automation-api
Title
# automation-api
m

most-lighter-95902

06/03/2022, 8:30 PM
Copy code
kubernetes:core/v1:Namespace 8d4a3669-8adb-412e-8498-17a30d0bce76 creating error: configured Kubernetes cluster is unreachable: unable to load schema information from the API server: Get "<https://XXXXXXXXXXXXXXX.gr7.us-west-1.eks.amazonaws.com/openapi/v2?timeout=32s>": getting credentials: exec: executable aws not found
b

billowy-army-68599

06/03/2022, 10:45 PM
the EKS provider requires the aws cli
m

most-lighter-95902

06/03/2022, 11:17 PM
Does it also require kubectl?
Looks like it doesn’t! Thanks for answering this!
@billowy-army-68599 One more quick question - what permission does Automation API assume to run the commands? I’m getting this error when I try to create a namespace in Kubernetes cluster
Copy code
kubernetes:core/v1:Namespace 8d4a3669-8adb-412e-8498-17a30d0bce76 creating error: resource 8d4a3669-8adb-412e-8498-17a30d0bce76 was not successfully created by the Kubernetes API server : namespaces is forbidden: User "system:node:ip-10-0-202-254.us-west-1.compute.internal" cannot create resource "namespaces" in API group "" at the cluster scope
But not sure where that “User” is coming from and where I can change the permissions?
2 Views