chilly-plastic-75584
02/15/2022, 7:38 PMchilly-plastic-75584
02/16/2022, 7:31 PMcurved-summer-41191
02/17/2022, 9:56 PMmost-lighter-95902
02/22/2022, 6:00 AMmost-lighter-95902
02/22/2022, 6:00 AMsteep-toddler-94095
02/23/2022, 8:42 PMnumerous-tiger-10148
02/24/2022, 10:45 AMfast-easter-23401
02/24/2022, 6:10 PMkuberenetes.helm.v3.Release
component, and wish to know if thereās a way to instruct the pulumi API to use a specific revision number. Or perhaps is there a way to perform a helm rollback instead?proud-pizza-80589
02/25/2022, 7:03 PM- kubernetes:core/v1:PersistentVolumeClaim hasura-46b9 deleting error: 'hasura-46b9-xfv0a937' timed out waiting to be Ready
- kubernetes:core/v1:PersistentVolumeClaim hasura-46b9 **deleting failed** error: 'hasura-46b9-xfv0a937' timed out waiting to be Ready
famous-salesclerk-74711
02/26/2022, 1:08 AMdata=
input (in a key)
⢠a helm chart resource, that takes āļø (ConfigMap.id
) output in the values=
input object
iām hoping to get one of the helm chart children resources (eg. a Pod) to update whenever the ConfigMap data value gets updated in our workflow - basically, hoping that they both get updated together
based on the inputs/outputs docs, Iām instantiating things in this order:
1. instantiating ConfigMap resource
2. assigning the output via apply()
some_object["child_"resource"]["config_key"] = ConfigMap.id.apply(lambda v: v)
3. instantiating helm chart resource, and setting value=some_object
ā¦but when the ConfigMap data gets modified, I see ALL the helm resources just get deleted
(not even replaced). but when the ConfigMap data is unchanged, everything is gravy.
What might be the causing this? iām getting lost in the various layers of abstractioncrooked-pillow-11944
02/26/2022, 9:52 PMpulumi_kubernetes.helm.v3
but I'm getting an error failed to pull chart...version...not found
. I can install the chart with Helm v3 fine. What could be my problem?crooked-pillow-11944
02/27/2022, 6:49 PMdefault
namespace with labels and annotations using Pulumi? When I'm using https://www.pulumi.com/registry/packages/kubernetes/api-docs/yaml/configfile/ I'm getting the following error:
error: update failed
kubernetes:core/v1:Namespace (default):
error: resource default was not successfully created by the Kubernetes API server : namespaces "default" already exists
purple-plumber-90981
02/28/2022, 2:00 AMIngressClassParams
.... the first time i run pulumi the pulumi logical-name of this resource is kube-system/alb-ingress-class-params
but any subsequent run tries to replace it with another instance with the name alb-ingress-class-params
(ie without the namespace prefix as part of the logical name). ... thoughts ??? ..... more details in threadsteep-toddler-88913
02/28/2022, 2:54 PMerror: can't create Helm Release with unreachable cluster: unable to load schema information from the API server: the server has asked for the client to provide credentials
I have my digital ocean access token set up, and I initially created the Helm release with Pulumi, so I'm not clear as to why it suddenly isn't working. Any guidance or help would be massively appreciated!prehistoric-kite-30979
02/28/2022, 10:01 PMnarrow-judge-54785
03/01/2022, 4:34 PMSnapshot Handle
from the volumesnapshotcontent resource that is generated automatically when making a new snapshot. Because it's generated automatically it is not a pulumi resource, so as far as I know I can't get that value using pulumi. I wanted to use pulumi for it so I can save it as a stackreference and use it in different places in my infrastructure. I tried using query-kubernetes, because I can get the name of this volumesnapshotcontent from the volumesnapshot itself, but this package does not support crd's.
Anyone an idea on how I could achieve this? (I thought of using a kubectl container to get it, but I would prefer to keep it all pulumi)fast-easter-23401
03/01/2022, 5:19 PMhelm release
and wanted to renamed it. Ideally, I wish to prevent pulumi/helm from creating a replacement, so I tried to do so by using the aliases
flag on the ComponentResourceOptions
. However, after aliasing and changing both the name of the pulumi resource and the helm.Release
component name
field, I noted that no changes are being applied.fast-easter-23401
03/01/2022, 5:19 PMlemon-motorcycle-91675
03/10/2022, 1:03 PMchilly-plastic-75584
03/11/2022, 11:35 PMchilly-plastic-75584
03/11/2022, 11:38 PMchilly-plastic-75584
03/11/2022, 11:45 PM---
clusters:
- name: cluster1
kubeconfig:
secure: .....
- name: cluster2
kubeconfig:
secure: .....
Now I just added in main a new config object and wrapped the entire deployment setup I had in a for each. Boom. Loop over clusters and go. Due to pulumi's routinues and all the magic going on I figured I'd do a dumb old loop instead of trying concurrent deployments, but looking for a sanity check.
pulumi.Run(func(ctx *pulumi.Context) error {
for _, cluster := range clusterList {
cfgMap, err := configmap.ConfigMap(
ctx,
renderProvider,
&configData,
&appConfig,
&sharedConfig,
)
err = ingress.NetworkingIngress(ctx, renderProvider, &configData, &sharedConfig)
err = service.Service(ctx, renderProvider, &configData, &sharedConfig)
// etc....
_ = <http://ctx.Log.Info|ctx.Log.Info>(fmt.Sprintf("finished processing cluster: %s", cluster.Name), &pulumi.LogArgs{})
}
})
Make sense to do the same deployment this way on 2 clusters without concurrency or any other way you'd say is better? Multiple pulumi.Run or anything else you'd recommend?
I love my experience overall, but it's a lot more complex initially than plain yaml, so I'm double check my approach here makes sense and is reasonable. Much appreciated!busy-journalist-6936
03/14/2022, 4:42 PMkubernetes.networking.v1.Ingress
appears to expect a LB address to populate in status before accepting the resource as being healthy? I'm not seeing an opt-out for this which is causing difficulty behind noteport / hostport type ingress controllers.
Am I missing something, or should I be trying to accomplish this another way?bright-needle-80161
03/14/2022, 5:29 PMkubeconfig
from another project to create a new provider on the new projct based on that file using the ApplyT
golang method to convert the AnyOutput
data type to a pulumi.ProviderResource
type. Can someone explain to me how can I do it?
A snippet of golang code is below.
// Create stack reference to prvious projct named "ccmx/eks/dev"
stack_output, err := pulumi.NewStackReference(ctx, "ccmx/eks/dev", nil)
if err != nil {
log.Fatalf("error creating stack reference: %v", err)
}
// Import kubeconfig from the stack "ccmx/eks/dev"
kubeconfig := stack_output.GetOutput(pulumi.String("kubeconfig"))
// Create Kuberntes provider
K8sProvider, err := kubernetes.NewProvider(ctx, "eks-provider", &kubernetes.ProviderArgs{
//Kubeconfig: pulumi.String(kubeconfig),
Kubeconfig: kubeconfig.ApplyT(func(s string) string { return s }).(pulumi.Provider),
})
if err != nil {
log.Fatalf("error creating K8s provider: %v", err)
}
fast-florist-41572
03/15/2022, 9:53 AMincalculable-answer-31832
03/15/2022, 9:49 PMeck_filebeats.yaml
has a resource named filebeat
that should not be created until a specific service created by the eck_operator.yaml
file has an endpoint.incalculable-answer-31832
03/16/2022, 1:23 AMeck_operator.yaml
file will deploy an operator pod that will, in turn, deploy a service outside of Pulumi, and that this service should be imported into Pulumi so it can be dependedOn by other Pulumi-managed resources downstream?lemon-motorcycle-91675
03/16/2022, 9:55 AMincalculable-answer-31832
03/16/2022, 4:54 PMprehistoric-kite-30979
03/17/2022, 2:50 PMprehistoric-kite-30979
03/17/2022, 2:50 PM