some-king-80791
08/05/2021, 3:28 PMapiVersion
field for apiextentions.CustomResource?
I tried out specifying aliases
option, but it didn't help..faint-dog-16036
08/05/2021, 5:57 PM@pulumi/query-kubernetes
, but it doesn't seem like I can set a k8s provider or custom kubeconfig using that library.purple-plumber-90981
08/06/2021, 1:28 AMquiet-state-42882
08/06/2021, 11:55 PMancient-megabyte-79588
08/09/2021, 5:57 PMnarrow-judge-54785
08/10/2021, 11:36 AMmicroscopic-animal-41955
08/10/2021, 5:59 PMlittle-journalist-4778
08/10/2021, 6:24 PMcold-coat-35200
08/13/2021, 11:50 AMmetrics: {}
, metrics: ''
, metrics: null
in values, but none of them helps.
Transformations did not help either, because it runs after template generation and I don't want to remove the unnecessary fields one by one.busy-journalist-6936
08/13/2021, 2:58 PMk8s.helm.v3.chart
snippets.
It seems like I may need to learn how the aliases work due to URN collision as I'm getting the following error:
Diagnostics:
kubernetes:<http://apiextensions.k8s.io/v1:CustomResourceDefinition|apiextensions.k8s.io/v1:CustomResourceDefinition> (<http://kongplugins.configuration.konghq.com|kongplugins.configuration.konghq.com>):
error: Duplicate resource URN 'urn:pulumi:KongHybridGatewayOnEKS::Gateway::kubernetes:<http://helm.sh/v3:Chart$kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinition::kongplugins.configuration.konghq.com';|helm.sh/v3:Chart$kubernetes:apiextensions.k8s.io/v1:CustomResourceDefinition::kongplugins.configuration.konghq.com';> try giving it a unique name
ripe-shampoo-80285
08/15/2021, 10:45 PMcold-coat-35200
08/16/2021, 8:08 AMdry-teacher-74595
08/19/2021, 9:04 PMconst cluster = new aws.eks.Cluster("cluster", {...})
const namespace = new k8s.core.v1.Namespace("dev-namespace", {...})
const secret = new k8s.core.v1.Secret("dev-secret", {...})
this works when im devleoping locally but when my CI pipeline tries to run pulumi up
i get error like this
error: configured Kubernetes cluster is unreachable: unable to load Kubernetes client configuration from kubeconfig file: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
can someone point me to some docs on what this KUBERNETES_MASTER environment variable is? or how to pass the cluster credentials from new eks.Cluster()
to the new k8s.Namespace()
call?best-summer-38252
08/19/2021, 11:56 PMbreezy-bear-50708
08/20/2021, 12:38 PMdry-teacher-74595
08/22/2021, 7:55 PMpulumi state delete urn:pulumi:main::infra::eks:index:Cluster::cluster --force
error: This resource can't be safely deleted because the following resources depend on it:
* "cluster-eksClusterSecurityGroup" (urn:pulumi:main::infra::eks:index:Cluster$aws:ec2/securityGroup:SecurityGroup::cluster-eksClusterSecurityGroup)
* "cluster-eksRole" (urn:pulumi:main::infra::eks:index:Cluster$eks:index:ServiceRole::cluster-eksRole)
* "cluster-instanceRole" (urn:pulumi:main::infra::eks:index:Cluster$eks:index:ServiceRole::cluster-instanceRole)
is the string in brackets the urn?
this error message also looks weird to me, the urn is different in the error message?
➜ infra git:(main) ✗ pulumi state delete --force urn:pulumi:main::infra::eks:index:Cluster$kubernetes:<http://storage.k8s.io/v1:StorageClass::cluster-gp2|storage.k8s.io/v1:StorageClass::cluster-gp2>
warning: This command will edit your stack's state directly. Confirm? Yes
error: No such resource "urn:pulumi:main::infra::eks:index:Clusterer-gp2" exists in the current state
brainy-lion-38675
08/23/2021, 2:10 PMbrainy-lion-38675
08/23/2021, 2:36 PMripe-shampoo-80285
08/23/2021, 3:57 PMcolossal-car-2729
08/25/2021, 9:51 AMstraight-cartoon-24485
08/25/2021, 8:55 PMpulumi up
?
Something like pulumi up --diff
?billowy-vr-96461
08/26/2021, 6:19 PMkubectl rollout restart...
or similar? If not, how do you usually go about this?dry-teacher-74595
08/26/2021, 10:48 PMeksctl
it says no cluster found, even tho the region is correct. have anyone had similar issues before?dry-teacher-74595
08/26/2021, 11:29 PMeager-hydrogen-72542
08/27/2021, 12:36 PMcolossal-car-2729
08/27/2021, 2:13 PMalert-mechanic-59024
08/29/2021, 11:54 AMproud-pizza-80589
08/30/2021, 9:27 AMdry-teacher-74595
08/31/2021, 7:47 PMrapid-soccer-18092
09/01/2021, 6:29 AMcert-manager
Helm chart and setting up a LetsEncrypt cluster issuer using Pulumi in our Azure Kubernetes cluster. We are using Kubernetes version 1.21.2 and cert-manager. 1.5.3. When running pulumi up
I get the following error:
kubernetes:<http://cert-manager.io/v1:ClusterIssuer|cert-manager.io/v1:ClusterIssuer> (cert-manager-letsencrypt):
error: creation of resource cert-manager/letsencrypt failed because the Kubernetes API server reported that the apiVersion for this resource does not exist. Verify that any required CRDs have been created: no matches for kind "ClusterIssuer" in version "<http://cert-manager.io/v1|cert-manager.io/v1>"
error: update failedaToolsCertManager cert-manager
When running pulumi up
again it succeeds and the letsencrypt ClusterIssuer is correctly created. I don't want to have to run pulumi up
consecutive times to reach a successful deployment. Can anyone see what the issue is here?rapid-soccer-18092
09/01/2021, 6:29 AMcert-manager
Helm chart and setting up a LetsEncrypt cluster issuer using Pulumi in our Azure Kubernetes cluster. We are using Kubernetes version 1.21.2 and cert-manager. 1.5.3. When running pulumi up
I get the following error:
kubernetes:<http://cert-manager.io/v1:ClusterIssuer|cert-manager.io/v1:ClusterIssuer> (cert-manager-letsencrypt):
error: creation of resource cert-manager/letsencrypt failed because the Kubernetes API server reported that the apiVersion for this resource does not exist. Verify that any required CRDs have been created: no matches for kind "ClusterIssuer" in version "<http://cert-manager.io/v1|cert-manager.io/v1>"
error: update failedaToolsCertManager cert-manager
When running pulumi up
again it succeeds and the letsencrypt ClusterIssuer is correctly created. I don't want to have to run pulumi up
consecutive times to reach a successful deployment. Can anyone see what the issue is here?bored-table-20691
09/01/2021, 6:31 AMrapid-soccer-18092
09/01/2021, 6:54 AMbored-table-20691
09/01/2021, 6:55 AMrapid-soccer-18092
09/01/2021, 8:09 AMsteep-toddler-94095
09/01/2021, 3:41 PMdependsOn: chart.resources.apply((m) => Object.values(m))
bored-table-20691
09/01/2021, 5:10 PMResources