many-psychiatrist-74327
04/15/2021, 1:44 AMhandsome-state-59775
04/15/2021, 10:13 PMrhythmic-actor-14991
04/16/2021, 10:05 AMstraight-cartoon-24485
04/17/2021, 12:36 AMstraight-cartoon-24485
04/18/2021, 7:50 AMPulumi.<stack-name>.yaml
file, and am wondering if there is a better way to get the <stack-name>
to stay DRYkind-mechanic-53546
04/19/2021, 3:10 AMnew docker.Image(...
, with a registry: {server: {azure container registry login server here}
, I'm getting the error Error: No digest available for image {registry:tag}
This process works on windows with the exact same pulumi version and stack (but has other issues with WSL and file ownership, speed etc..)
Per this file, running docker image inspect -f {{.Id}} imageName
in a terminal gives a correct output and pushing it with docker push {registry:tag}
runs fine outside of pulumi
It looks like this was a prior issue here and here but i'm running v2.25.2 so I'm not sure where to gostraight-cartoon-24485
04/19/2021, 1:48 PMlimited-rainbow-51650
04/20/2021, 9:51 AMService
component resource. In our own abstraction, we create a NodePort based k8s Service
resource, retrieve the actual nodeport value from the service using apply and pass it on to a GKE specific BackendConfig
CRD. This is the code snippet:
const healthPortNumber: pulumi.Input<number> = this.service.spec.apply((spec) => {
const healthPort = spec.ports.find((port) => {
return port.name === 'health';
});
if (healthPort) {
return healthPort.nodePort;
} else {
return 4001;
}
});
We have a stack where the ports section of the Service
spec contains this (taken from the stack state):
{
"name": "health",
"nodePort": 30449,
"port": 4001,
"protocol": "TCP",
"targetPort": "health"
}
But we get undefined
as the value for healthPort.nodePort
. How is that possible??prehistoric-kite-30979
04/21/2021, 4:18 PMprehistoric-kite-30979
04/21/2021, 6:05 PMcolossal-plastic-46140
04/22/2021, 1:53 AMminiature-leather-70472
04/23/2021, 3:53 PMbillowy-army-68599
04/23/2021, 4:53 PMcolossal-twilight-92354
04/23/2021, 6:34 PMpulumi import <kubernetes:helm.sh/v3:Chart> mychartname mychartname
, but keep getting error: Preview failed: resource 'mychartname' does not exist
(despite being able to successfully import k8s resources independent from importing the chart itssself). How do others handle importing chart state?proud-pizza-80589
04/24/2021, 8:06 AMsticky-hydrogen-53391
04/24/2021, 8:22 AMproud-pizza-80589
04/26/2021, 3:48 PMpurple-plumber-90981
04/28/2021, 6:58 AM<https://www.pulumi.com/blog/infrastructure-as-code-resource-naming/>
??
my_namespace = k8s.core.v1.Namespace("mynamespace")
gets me a namespace called mynamespace-778h547k when i really just want “mynamespace”kind-mechanic-53546
04/28/2021, 7:00 AM... { metadata: { name: yournamehere,...
purple-plumber-90981
04/28/2021, 7:02 AMeks_cluster = aws.eks.Cluster("my-eks-cluster", opts=eks_opts, **eks_cluster_config)
how would i achieve a cluster called “my-eks-cluster” rather than “my-eks-cluster-3ef8ab7” ?kind-mechanic-53546
04/28/2021, 7:04 AMkind-mechanic-53546
04/28/2021, 7:05 AMicy-jordan-58549
04/28/2021, 3:04 PMCustomResourceDefinition "<http://kafkas.kafka.strimzi.io|kafkas.kafka.strimzi.io>" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
purple-plumber-90981
04/29/2021, 6:33 AMmany-psychiatrist-74327
04/30/2021, 9:56 PMk8s.yaml.ConfigFile
purple-plumber-90981
05/03/2021, 9:08 PMaws eks --region us-east-1 update-kubeconfig
and pulumi config set kubernetes:context
outside of the stackcolossal-australia-65039
05/03/2021, 9:35 PMpulumi preview --diff
nor pulumi up
shows the detailed diff for my deployments. For example, when my actual diff is an image change all I see is:
~ kubernetes:apps/v1:Deployment: (update)
~ spec: {
~ template: {
~ spec: {
~ containers: [
~ [0]: {
}
]
}
}
}
I'm on version 3.1.0 for pulumi, and my npm libs are
"@pulumi/kubernetes": "^3.0.0",
"@pulumi/pulumi": "^3.0.0",
this happened before the 3.0 upgrade but i only decided to ask about it now. Anyone know what's going on and how to fix it?lemon-monkey-228
05/04/2021, 2:30 PMlemon-monkey-228
05/04/2021, 2:31 PMlemon-monkey-228
05/04/2021, 2:31 PMpulumi stack export
then removing the resource into a pulumi stack import
caused the create
message to appear on the stack preview, but it didn’t actually happenlemon-monkey-228
05/04/2021, 2:31 PMpulumi stack export
then removing the resource into a pulumi stack import
caused the create
message to appear on the stack preview, but it didn’t actually happenbumpy-summer-9075
05/04/2021, 2:33 PMpulumi refresh
?lemon-monkey-228
05/04/2021, 3:01 PMpurple-plumber-90981
05/05/2021, 2:30 AMpulumi destroy --target urn:pulumi:<thing>
and it should remove from statelemon-monkey-228
05/05/2021, 8:33 AM