quaint-electrician-41503
10/02/2020, 7:18 PMhelm -f values.yaml name /path/to/chart
which is natural via helm, I cannot IE apply ConfigFile
for the values argument of LocalChartOpts
miniature-leather-70472
10/05/2020, 11:13 AMlimited-rainbow-51650
10/06/2020, 12:49 PM~ kubernetes:apps/v1:Deployment: (update)
[id=deployer-ut11s29w/deployer-activities-k8s-l0dmq9rt]
[urn=urn:pulumi:development::deployer::kubernetes:apps/v1:Deployment::deployer-activities-k8s]
[provider=urn:pulumi:development::deployer::pulumi:providers:kubernetes::default_2_6_1::a73e10a4-562a-40e2-9db1-61bb39736827]
~ spec: {
~ template: {
~ spec: {
~ containers: [
- [0]: {
- args : [
- [0]: "osimis-deploy-activities"
]
- env : [
- [0]: {
- name : "TEMPORAL_FRONTEND_HOST"
- value: "<redacted>"
}
]
- image : "<redacted>"
- imagePullPolicy: "Always"
- livenessProbe : {
- exec : {
- command: [
- [0]: "/bin/sh"
- [1]: "-c"
- [2]: "ps -ef | grep osimis-deploy-activities"
]
}
- failureThreshold : 2
- initialDelaySeconds: 10
- periodSeconds : 10
- successThreshold : 1
- timeoutSeconds : 5
}
- name : "activities-worker"
- readinessProbe : {
- exec : {
- command: [
- [0]: "/bin/sh"
- [1]: "-c"
- [2]: "ps -ef | grep osimis-deploy-activities"
]
}
- failureThreshold : 6
- initialDelaySeconds: 5
- periodSeconds : 10
- successThreshold : 1
- timeoutSeconds : 5
}
- resources : {
- limits : {
- cpu : "0.15"
- memory: "120Mi"
}
- requests: {
- cpu : "0.1"
- memory: "100Mi"
}
}
- volumeMounts : [
- [0]: {
- mountPath: "/etc/pulumi-deployer/osimisdockercreds.conf"
- name : "osimis-docker-hub-credentials"
- subPath : "osimisdockercredes.conf"
}
]
}
]
}
}
}
Resources:
~ 1 to update
8 unchanged
I’m not confident in applying this. What is happening?
Context: Pulumi v2.11.2 + Kubernetes provider 2.6.1limited-rainbow-51650
10/06/2020, 12:49 PMspec
of a Deployment
. That’s the only change, and I’m also the only one working with this stack, with which I want to clarify that no other team member could have made any changes. When I do a preview --diff
, it wants to delete the containers
section of the Pod `spec`:quiet-wolf-18467
10/07/2020, 11:14 AMk8s.yaml.ConfigFile
or Helm template as straight up YAML in the Pulumi code?quiet-wolf-18467
10/07/2020, 11:14 AMlimited-rainbow-51650
10/07/2020, 11:54 AMpods
resource was not added to list of permissions. Meanwhile, the statefulset and the pods are up and running though. So I redeployed the automation app with more permissions and ran again. But now it bails out complaining that my statefulset already exists. Running pulumi stack export
shows me indeed that my statefulset is not recorded in the state. /cc @gorgeous-egg-16927bitter-application-91815
10/08/2020, 11:07 AMbitter-application-91815
10/08/2020, 11:07 AMbitter-application-91815
10/08/2020, 11:07 AMkubectl get ing -n axiomdb
bitter-application-91815
10/08/2020, 11:08 AMbitter-application-91815
10/08/2020, 11:23 AMclever-byte-21551
10/11/2020, 1:36 PMclever-byte-21551
10/11/2020, 1:37 PMpulumi.ToSecret
and it is still saved to the state as plaintext
@gorgeous-egg-16927rough-tomato-98795
10/12/2020, 9:05 AMworried-city-86458
10/13/2020, 3:42 AMnew ConfigFile($"{prefix}-cert-manager",
new ConfigFileArgs { File = "<https://github.com/jetstack/cert-manager/releases/download/v1.0.3/cert-manager.yaml>" },
new ComponentResourceOptions { Provider = kubeProvider });
worried-city-86458
10/13/2020, 3:43 AMDiagnostics:
pulumi:pulumi:Stack (aws-alpha):
error: Running program 'D:\Devel\Mps\devops-gemini-pulumi\Aws\bin\Debug\Aws.dll' failed with an unhandled exception:
Grpc.Core.RpcException: Status(StatusCode=Internal, Detail="Failed to deserialize response message.")
at Pulumi.GrpcMonitor.InvokeAsync(InvokeRequest request) in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Deployment/GrpcMonitor.cs:line 23
at Pulumi.Deployment.InvokeAsync[T](String token, InvokeArgs args, InvokeOptions options, Boolean convertResult) in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Deployment/Deployment_Invoke.cs:line 36
at Pulumi.Output`1.ApplyHelperAsync[U](Task`1 dataTask, Func`2 func) in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Core/Output.cs:line 226
at Pulumi.Output`1.ApplyHelperAsync[U](Task`1 dataTask, Func`2 func) in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Core/Output.cs:line 226
at Pulumi.Output`1.ApplyHelperAsync[U](Task`1 dataTask, Func`2 func) in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Core/Output.cs:line 241
at Pulumi.Output`1.Pulumi.IOutput.GetDataAsync() in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Core/Output.cs:line 142
at Pulumi.Serialization.Serializer.SerializeAsync(String ctx, Object prop) in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Serialization/Serializer.cs:line 136
at Pulumi.Deployment.SerializeFilteredPropertiesAsync(String label, IDictionary`2 args, Predicate`1 acceptKey) in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Deployment/Deployment_Serialization.cs:line 54
at Pulumi.Deployment.SerializeAllPropertiesAsync(String label, IDictionary`2 args) in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Deployment/Deployment_Serialization.cs:line 33
at Pulumi.Deployment.RegisterResourceOutputsAsync(Resource resource, Output`1 outputs) in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Deployment/Deployment_RegisterResourceOutputs.cs:line 32
at Pulumi.Deployment.Runner.<>c__DisplayClass7_0.<<WhileRunningAsync>g__HandleCompletion|0>d.MoveNext() in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 117
--- End of stack trace from previous location ---
at Pulumi.Deployment.Runner.WhileRunningAsync() in /home/travis/gopath/src/github.com/pulumi/pulumi/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 157
dazzling-sundown-39670
10/14/2020, 12:16 PMcompose-lock.json
has changed?icy-jordan-58549
10/14/2020, 4:55 PMexport declare type ResourceTransformation = (args: ResourceTransformationArgs) => ResourceTransformationResult | undefined;
Also, is there a way to omit resources? I found this approach, https://github.com/pulumi/pulumi-kubernetes/issues/486#issuecomment-527958122 any other ways to workaround it? Thanksbitter-application-91815
10/14/2020, 9:27 PMbitter-application-91815
10/14/2020, 9:28 PMgorgeous-animal-95046
10/19/2020, 7:04 PMdeployment
whose replica count is controlled by an HPA. Basically when a deployment
change happens, it will scale the replica set behind the deployment to 1
replica, destroying what the HPA has set. I originally had replicas: 1
in the deployment spec, but I removed that and I still see this behavior. Anyone else experience this and is there a way to fix it?limited-rain-96205
10/22/2020, 1:34 AMminiature-leather-70472
10/22/2020, 8:53 AMbetter-rainbow-14549
10/22/2020, 10:00 AMloud-battery-37784
10/22/2020, 3:02 PMprehistoric-account-60014
10/23/2020, 3:45 PM@pulumi/kubernetes
to the latest version (v2.6) but the state was using v2.2. In CI only the new one is installed (v2.6) and Pulumi fails because it attempts to load v2.2:
error: could not load plugin for kubernetes provider 'urn:pulumi:<snip>::pulumi:providers:kubernetes::default_2_2_2': failed to load plugin /<snip>/.pulumi/plugins/resource-kubernetes-v2.2.2/pulumi-resource-kubernetes: plugin not found
Is there a way to refresh the state so that it expects the latest version of the plugin instead of the older one?some-doctor-15042
10/23/2020, 8:36 PMerror: configured Kubernetes cluster is unreachable: unable to load schema information from the API server: Get "https://********************.<http://sk1.us-west-2.eks.amazonaws.com/openapi/v2?timeout=32s|sk1.us-west-2.eks.amazonaws.com/openapi/v2?timeout=32s>": getting credentials: exec: exit status 2
This is using typescript and the following guide - https://www.pulumi.com/docs/get-started/kubernetes/review-project/
Can pulumi not authenticate with the existing kubeconfig via an iam role?fast-dinner-32080
10/26/2020, 7:16 PMsa_secret = pulumi_kubernetes.core.v1.Secret.get(
resource_name="vault-auth",
id="kube-system/vault-auth-token-fsl4p",
opts=ResourceOptions(
provider=kubernetes_provider
)
)
token = sa_secret.data.apply(lambda x: x['token'])
AttributeError: ‘NoneType’ object has no attribute ‘apply’wet-noon-14291
10/27/2020, 3:12 PMPathType
property, but some reason it seems like the PathType
isn't applied. I'm using pulumi .NET (F#, but that shouldn't matter). Anyone knows what might be up?wet-noon-14291
10/27/2020, 3:12 PMPathType
property, but some reason it seems like the PathType
isn't applied. I'm using pulumi .NET (F#, but that shouldn't matter). Anyone knows what might be up?