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 PMfast-easter-23401
03/18/2022, 5:27 PMfamous-salesclerk-74711
03/18/2022, 11:16 PMurn
name conflicts when creating a brand new resource…where there DEFINITELY isn’t an existing resource with that name?echoing-angle-67526
03/18/2022, 11:51 PMbillowy-horse-79629
03/23/2022, 10:57 AMpulumi up
action on Github Actions:
+ kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release> eks-bootstrap creating error: can't create Helm Release with unreachable cluster: unable to load Kubernetes client configuration from kubeconfig file: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
Here is the code i’m creating my Helm Release (occurs after the eks k8s cluster creation)
export function createHelmBootstrapChart(stackName: string) {
const releaseArgs: k8s.helm.v3.ReleaseArgs = {
atomic: true,
name: "eks-bootstrap",
chart: "./charts/eks-bootstrap-chart",
dependencyUpdate: true,
namespace: "kube-system",
valueYamlFiles: [new FileAsset(`./charts/eks-bootstrap-chart/values-${stackName}.yaml`)]
}
new k8s.helm.v3.Release("eks-bootstrap", releaseArgs)
}
Do you guys know how to set the Kubeconfig ? because it looks like the kubeconfig is missing during runtime on the github action.billowy-horse-79629
03/23/2022, 1:10 PMboundless-telephone-75738
03/23/2022, 10:10 PMcrooked-pillow-11944
03/23/2022, 10:17 PMbest-state-21371
03/24/2022, 4:36 PMbusy-journalist-6936
03/24/2022, 7:18 PMUpdating (keycloak):
Type Name Status Info
pulumi:pulumi:Stack tkl-keycloak-keycloak **failed** 1 error
└─ kubernetes:kustomize:Directory keycloak
+ ├─ kubernetes:core/v1:Namespace keycloak **creating failed** 1 error
big-potato-91793
03/24/2022, 9:10 PMTypeError: Invalid Version:
at new SemVer (/builds/${PROJECT}/pulumi/node_modules/semver/semver.js:332:11)
at compare (/builds/${PROJECT}/pulumi/node_modules/semver/semver.js:647:10)
at Function.eq (/builds/${PROJECT}/pulumi/node_modules/semver/semver.js:693:10)
at sameVersion (/builds/${PROJECT}/pulumi/node_modules/@pulumi/runtime/rpc.ts:703:57)
at register (/builds/${PROJECT}/pulumi/node_modules/@pulumi/runtime/rpc.ts:718:17)
at Object.registerResourcePackage (/builds/${PROJECT}/pulumi/node_modules/@pulumi/runtime/rpc.ts:780:5)
at Object.<anonymous> (/builds/${PROJECT}/pulumi/node_modules/@ticketmaster/pipelog-crds/build/index.js:25:16)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
rhythmic-whale-48997
03/25/2022, 9:55 AMenvironment[KUBECONFIG] value: An error occurred decoding 'command.environment[KUBECONFIG] value': Cannot decode Object{} to type string; it isn't a struct, and no custom decoder exists
Is there some better way to provide kubeconfig to the command and I would like to avoid having it on filesystem.freezing-quill-32178
03/28/2022, 8:48 AMnew k8s.helm.v3.Release(…)…
for XYZ
Helm chart… if you don’t specify the name
and leave Pulumi to autogenerate it, or even specify the name
whichever… and use the resource names later on it the program without inferring the name based on the prefix and whatever the chart is?