flat-laptop-90489
05/23/2022, 8:23 PMcurved-morning-41391
05/24/2022, 7:33 PMcurved-morning-41391
05/24/2022, 7:34 PMflat-laptop-90489
05/24/2022, 7:49 PMflat-laptop-90489
05/25/2022, 6:15 PMUnable to connect to the server: getting credentials: exec plugin is configured to use API version <http://client.authentication.k8s.io/v1beta1|client.authentication.k8s.io/v1beta1>, plugin returned version <http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>
I was able to fix this error locally by updating to a newer version of the awscli. I can't seem to find where this is defined for the pulumi containers.
Any thoughts on a workaround, and/or should I file an issue somewhere for this?breezy-bear-50708
05/26/2022, 9:01 AM--set-file
, used for a template that that replaces a value with the file's contents. If I 1) use a json object as the value, it blows up with wrong type for value; expected string; got []interface {}
. If I try to pass a yaml string literal, pulumi helpfully escapes all the newlines so that doesn't work either. So wondering if anyone knows of a way to duplicate whatever helm template --set-file does.busy-island-31180
05/26/2022, 9:12 PMacceptable-mechanic-48231
05/29/2022, 6:09 PMOtherFields
field, ref. Because of that, I can’t pass it a Pulumi type for a value. This is an issue for me because my custom resource needs to support resource dependencies for a dependsOn
to work, but as far as I know Pulumi’s provider type checking requires that fields implement Pulumi types if a resource is to have dependencies. Implementing plain types when my provider’s resource has a dependsOn
results in an error like the following:
error: program failed: waiting for RPCs: rpc error: code = Unknown desc = setting args: copying input "spec": application.ArgocdAppArgs.Spec is typed as map[string]interface {} but must be a type that implements pulumi.Input or pulumi.Output for input with dependencies
Which seems to originate from here: https://github.com/pulumi/pulumi/blob/master/sdk/go/pulumi/provider.go#L564. Which seems odd that this is even a problem, because my dependency is simply a dependsOn
, not an actual field dependency.
So with all of that backstory laid out, my main questions are:
How do I pass a pulumi type to a resource that implements a plain type?
If that’s not possible, is it possible to get around the pulumi provider type checking that is requiring all fields to implement pulumi types when there are dependencies?curved-morning-41391
05/31/2022, 8:38 PMlittle-vegetable-79574
06/01/2022, 6:30 PM.kube/config
on pulumi up
. How do you make it not touch the file?famous-salesclerk-74711
06/01/2022, 9:08 PMif (.Capabilities.APIVersions.Has <some-api-resource-version>)
which always fails, bc apparently this check returns false. is there a known way for pulumi-k8s operators to work around this, specifically around hydrating .Capabilities
?
https://github.com/pulumi/pulumi-kubernetes/issues/196echoing-angle-67526
06/01/2022, 10:00 PMlet secrets: pulumi.Output<output.core.v1.ObjectReference[]> = k8s.core.v1.ServiceAccount.get("ksa-".concat(ksa.name),resourceId).secrets;
error: Error: failed to read resource #thx/shared-db-password 'ksa-shared-db-password' [kubernetes:core/v1:ServiceAccount]: 2 UNKNOWN: Default provider for 'kubernetes:core/v1:ServiceAccount' disabled. 'kubernetes:core/v1:ServiceAccount' must use an explicit provider.
looking at the k8s.core.v1.ServiceAccount.get
api it doesn't allow you to set the k8s provider. i believe this is the same issue as https://github.com/pulumi/pulumi-kubernetes/issues/1945 ?nice-lizard-13594
06/02/2022, 10:49 AMclient-side throttling
? If yes - How did you get rid of them?
I keep getting spammed with messages like this during provisioning of my cluster(s):
Diagnostics:
pulumi:pulumi:Stack (development-localhost):
I0602 12:31:12.623746 98885 request.go:665] Waited for 1.044442038s due to client-side throttling, not priority and fairness, request: GET:<https://127.0.0.1:6443/api/v1/namespaces/harbor>
I0602 12:31:23.024342 98885 request.go:665] Waited for 1.019069815s due to client-side throttling, not priority and fairness, request: GET:<https://127.0.0.1:6443/api/v1/namespaces/minio>
[..]
I found several reports to delete and/or chown
the ~/.kube/cache
directory. This did not help for me.
Any ideas?white-chef-55657
06/02/2022, 1:46 PMpowerful-planet-88446
06/03/2022, 7:02 AMpowerful-planet-88446
06/03/2022, 7:03 AMpowerful-planet-88446
06/03/2022, 7:04 AMwet-noon-14291
06/04/2022, 10:04 PMresource complete event returned an error: failed to verify snapshot... refers to unknown providerI checked the stack with a stack export, and the provider urn on the kubernetes resources seemed to use another id than what was specified on the actual kubernetes provider. So I modified those resources to have the right id (not sure if that is the right thing to do). That gave me another issue:
error: resource xxx was not successfully created by the Kubernetes API server : services "xxx" already existsSo then I thought I can just import those resources to my stack, so I added the import property to all the resources I had this issue. That didn't work either, I'm now back at:
error: Preview failed: unknown providerSo it complains on the provider missing. Looking at the stack and it seems like the provider id has changed, but not on all the resources. Do I just update the stack so everything aligns and hope for the best?
sparse-school-61365
06/06/2022, 9:36 AMv3.19.2
to install a local chart with golang, and I'm struggling a little with an unhelpful error...
❯ pulumi up
Previewing update (poc):
Type Name Plan Info
pulumi:pulumi:Stack arges-theila-poc-poc
└─ kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release> arges-tim 1 error
Diagnostics:
kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release> (arges-tim):
error: unrecognized type: string
victorious-exabyte-70545
06/06/2022, 8:31 PMrabbitmq_chart = Chart(
'rabbitmq-chart',
ChartOpts(
resource_prefix=stack_name,
chart='rabbitmq',
version="8.16.2",
fetch_opts={'repo': '<https://charts.bitnami.com/bitnami>'},
values={},
),
ResourceOptions(provider=k8s_provider, ignore_changes=['version'])
)
miniature-wire-6359
06/07/2022, 8:00 AMminiature-wire-6359
06/07/2022, 8:03 AMpowerful-planet-88446
06/07/2022, 9:15 AMglamorous-australia-21342
06/08/2022, 2:15 PMpulumi query
, but I'd like it to execute at pulumi up
. I tried pulumi query
anyways and I get some odd errors -
pulumi query
Error: Program run without the Pulumi engine available; re-run using the `pulumi` CLI
powerful-planet-88446
06/08/2022, 7:14 PMpowerful-planet-88446
06/08/2022, 7:14 PMpowerful-planet-88446
06/08/2022, 7:14 PMfamous-salesclerk-74711
06/08/2022, 9:25 PMpulumi_eks
and in modifying an existing cluster’s VpcCniOptionsArgs
, we’re getting this message in CI/CD (which we’ve never needed kubectl
to run)
Diagnostics:
eks:index:VpcCni (cluster-name):
error: Could not set VPC CNI options: kubectl is missing. See <https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl> for installation instructions.
does anyone know what we might be missing (other than installing kubectl in our remote runners, which seems wrong to do)adamant-terabyte-3965
06/09/2022, 10:10 PMnew k8s.networking.v1.Ingress
and am failing the pulumi up
with this error:
kubernetes:<http://networking.k8s.io/v1:Ingress|networking.k8s.io/v1:Ingress> (api-ingress):
error: resource test/api-ingress was not successfully created by the Kubernetes API server : admission webhook "vingress.elbv2.k8s.aws" denied the request: invalid ingress class: <http://IngressClass.networking.k8s.io|IngressClass.networking.k8s.io> "alb" not found
The way I have set it up is extremely similar to this blog post: https://www.pulumi.com/blog/kubernetes-ingress-with-aws-alb-ingress-controller-and-pulumi-crosswalk/
Does anyone have any idea what is going wrong?brief-vr-24049
06/10/2022, 5:33 AM