https://pulumi.com logo
Join the conversationJoin Slack
Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-cdk
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumi-service
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by Linen
kubernetes
  • w

    white-balloon-205

    12/17/2019, 6:38 PM
    set the channel description: Using Kubernetes with Pulumi
  • g

    gorgeous-egg-16927

    01/02/2020, 9:56 PM
    Alright, let’s get the new year started with an update on one of our oldest and most upvoted k8s issues: https://github.com/pulumi/pulumi-kubernetes/issues/29 I’ve got a proof of concept PR up to address this use case: https://github.com/pulumi/pulumi-kubernetes/pull/936 Interested in any early feedback on the approach, particularly from anybody using tools other than Pulumi (kubectl, Argo, Skaffold, etc.) to deploy k8s apps.
    🙂 1
    r
    • 2
    • 1
  • b

    busy-umbrella-36067

    01/02/2020, 11:05 PM
    I might try to use that for rendering 10+ helm charts and using the YML in pulumi , instead of the helm chart resource. Helm charts add quite a bit of time to
    preview/update
    g
    r
    • 3
    • 3
  • b

    busy-umbrella-36067

    01/02/2020, 11:05 PM
    Filed this issue: https://github.com/pulumi/pulumi-kubernetesx/issues/43
    👍 1
  • b

    busy-umbrella-36067

    01/03/2020, 12:13 AM
    Another issue: https://github.com/pulumi/pulumi-kubernetesx/issues/44
  • h

    hundreds-portugal-17080

    01/03/2020, 6:43 PM
    I have a a stable helm chart (airflow) https://github.com/helm/charts/blob/master/stable/airflow/values.yaml. I am able to override values in pulumi code when the values.yaml has a map, array, string etc. How can I override affinity which needs new line and indentation ?
    Untitled
    g
    • 2
    • 2
  • r

    rhythmic-hair-33677

    01/05/2020, 8:49 AM
    What is a cleaner way to specify dependencies between stacks? Exporting objects often means the CLI logs these large objects (I know there is a flag to hide that though).
    w
    • 2
    • 1
  • r

    rhythmic-hair-33677

    01/05/2020, 9:30 AM
    .
  • r

    rhythmic-hair-33677

    01/05/2020, 9:30 AM
    How would one go about importing a kubernetes:yaml:ConfigFile as all the resources are dependents?
    w
    • 2
    • 1
  • s

    sticky-lighter-73941

    01/07/2020, 2:02 PM
    Hi guys , For some helm charts , you will need to apply first your CRD definition object than your crd instance. I’m wondering if there is a way to indicate that via Pulumi . Thanks #kubernetes #helm
    g
    • 2
    • 1
  • g

    gorgeous-egg-16927

    01/07/2020, 9:29 PM
    message has been deleted
    👏 1
    😛artyk8s: 2
    🙏 3
  • b

    busy-umbrella-36067

    01/07/2020, 11:31 PM
    Anyone else getting this issue? Not sure if its related to the latest provider release We don’t use implicit provider
    kubeconfig
    anywhere, only grabbing from
    eks.Cluster.provider
    Error: invocation of kubernetes:yaml:decode returned an error: unable to load Kubernetes client configuration from kubeconfig file: invalid configuration: no configuration has been provided
            at monitor.invoke (/root/project/node_modules/@pulumi/pulumi/runtime/invoke.js:172:33)
            at Object.onReceiveStatus (/root/project/node_modules/grpc/src/client_interceptors.js:1210:9)
            at InterceptingListener._callNext (/root/project/node_modules/grpc/src/client_interceptors.js:568:42)
            at InterceptingListener.onReceiveStatus (/root/project/node_modules/grpc/src/client_interceptors.js:618:8)
            at callback (/root/project/node_modules/grpc/src/client_interceptors.js:847:24)
    g
    a
    • 3
    • 12
  • l

    limited-rainbow-51650

    01/09/2020, 2:01 PM
    When I use
    kubernetesx.PodBuilder(...).asStatefulSetSpec()
    , is there support to get my
    volumeClaimTemplates
    in the spec?
    g
    • 2
    • 2
  • l

    limited-rainbow-51650

    01/09/2020, 2:16 PM
    I can’t see any way to add it based on the code: https://github.com/pulumi/pulumi-kubernetesx/blob/master/nodejs/kubernetesx/kx.ts#L185-L197
  • n

    nice-guitar-97142

    01/09/2020, 4:00 PM
    i create an aks cluster, and then use the following to create a k8sprovider which is then passed into each kubernetes resource using the
    provider
    argument of
    CustomResourceOptions
    .
    const k8sProvider = new k8s.Provider('k8sProvider', {
      kubeconfig: k8sCluster.kubeConfigRaw
    })
    This has been working fine, until i made a config change on the aks cluster where the cluster needed to be destroyed and recreated. The new aks instance was created successfully; however, the kubernetes resources were not updated to use the new provider. I have dealt with this in the past by exporting the stack config, manually editing all of the resources to use the new provider, then importing the stack config and running pulumi up. Am I doing something wrong in how i specify the provider on the resources, or is this a limitation of pulumi?
    b
    g
    • 3
    • 3
  • a

    adamant-postman-86832

    01/16/2020, 10:02 AM
    We are using pulumi with typescript and a pulumi yaml config file. We have included “enableIstio”: false using “pulumi config set enableIstio false”. If we use let blabla = config.getBoolean(“enableIstio”) || true it always results in true so I assume we cannot use this example? I know that typescript defines it as such. For let blabla = config.getNumber(“somenumber”) || 20 is working correctly except in the case where your number is a 0 (=false). A bit of a gotcha as a lot of these code examples use || and not ??
    b
    w
    • 3
    • 6
  • o

    orange-ghost-99337

    01/17/2020, 8:44 AM
    how does pulumi handle rollback in kubernetes? specifically situations such as configmap linked to applications.. if previous upgrade was happened only to configmap, and not to application(kind: deployment).. during current upgrade if i encounter any issue, i can only rollback app (deployment), but can't get previous conifgmap.. Currently helm handles this with chart release history, wondering if pulumi can handle too
    g
    • 2
    • 2
  • o

    orange-ghost-99337

    01/17/2020, 9:05 AM
    i see pulumi supports history, but I don't find a way to apply specific version if needed
  • e

    elegant-dress-88912

    01/17/2020, 9:10 AM
    hey, I don't see data sources in pulumi-kubernetes... is there any way to refer to non-managed k8s resources? I want to have service account token as output and it is inside secret which is created by k8s for the
    ServiceAccount
    • 1
    • 1
  • o

    orange-ghost-99337

    01/17/2020, 9:23 AM
    @elegant-dress-88912 you may want to try following? https://www.pulumi.com/docs/intro/concepts/programming-model/#programmatically-creating-secrets
  • e

    elegant-dress-88912

    01/17/2020, 9:24 AM
    @orange-ghost-99337 this won't work. I need data source for the secret, like in terraform: https://www.terraform.io/docs/providers/kubernetes/d/secret.html
  • o

    orange-ghost-99337

    01/17/2020, 9:31 AM
    got it.. i mistaken your question..:)
  • l

    late-printer-99022

    01/17/2020, 10:13 AM
    Any suggestion around - https://github.com/kubernetes-sigs/aws-alb-ingress-controller/issues/1137
    e
    • 2
    • 3
  • b

    better-rainbow-14549

    01/17/2020, 3:27 PM
    hi - i'm using cert-manager and deploying it via yaml.ConfigFile but then when i try and configure a DNS issuer the cluster immediately rejects it because the webhook isn't ready yet... i can't find a .status field or anything else that looks relevant to poll / wait against has anybody solved this or got any suggestions how I can avoid this race condition please?
  • h

    handsome-actor-1155

    01/17/2020, 10:44 PM
    Hi all! Just curious on the timeline for helm v3 support. Thanks!
    g
    • 2
    • 6
  • c

    cold-coat-35200

    01/20/2020, 2:51 PM
    Hi, is there any reason why
    yaml.ConfigGroup
    yaml
    field does not accept
    Pulumi.Input<string>
    ? This way I'm unable to pass a string created from an output, for example from a secret
    b
    w
    • 3
    • 6
  • c

    cold-coat-35200

    01/21/2020, 11:20 AM
    hi, is it possible to delete some resource from helm chart during transformation or any other way?
    g
    • 2
    • 2
  • g

    gorgeous-egg-16927

    01/21/2020, 8:40 PM
    message has been deleted
  • b

    broad-helmet-79436

    01/22/2020, 9:49 AM
    is anybody here using kubernetesx for production purposes? I’m going to import a bunch of k8s resources into pulumi pretty soon and kx looks really enticing, so I’m wondering how stable it is atm
  • b

    broad-helmet-79436

    01/22/2020, 9:49 AM
    I’m willing to make some changes along the way of course, I know it’s not completely stable
Powered by Linen
Title
b

broad-helmet-79436

01/22/2020, 9:49 AM
I’m willing to make some changes along the way of course, I know it’s not completely stable
View count: 4