https://pulumi.com logo
Docs
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
  • s

    steep-portugal-37539

    12/08/2021, 11:17 PM
    Hey guys! anyone know of a way to do non-cascade delete of statefulsets without manual intervention? https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#non-cascading-delete
  • i

    important-vegetable-39003

    12/10/2021, 4:52 PM
    Hi folks, does anyone know how to specify the cluster through code when creating a resource?
    b
    • 2
    • 9
  • f

    full-dress-10026

    12/11/2021, 12:39 AM
    I have created an ingress-nginx chart. I'd like to get the hostname of the AWS NLB that was created. Does anyone know how I might go about doing that?
    b
    w
    • 3
    • 14
  • m

    magnificent-tent-53010

    12/13/2021, 2:51 AM
    Hi folks. Has anyone worked with pulumi/digitalocean before? When using KubernetesCluster, I can't figure out what to pass to cluster.getProvider(moduleMember: string) in order to get the provider so that my k8s deployments go to the correct cluster
    b
    • 2
    • 2
  • i

    important-vegetable-39003

    12/13/2021, 11:40 AM
    Does anyone know what's the reason behind this error from
    kube2pulumi
    ?:
    unable to run program: Error: Missing item separator
    
      on pcl-546459028.pp line 80:
      75: envFrom = [
      76: {
      77: configMapRef = {
      78: name = "global-configmap"
      79: },
      80: }
      81: {
    
    Expected a comma to mark the beginning of the next item.
    Seems to be a bug with kube2pulumi?
    q
    b
    • 3
    • 10
  • v

    victorious-exabyte-70545

    12/14/2021, 9:27 PM
    Does anyone know how to set the security context when using the pulumi_kubernetes.helm.v3.Chart resoure? I know that it can very from chart to chart but is there a standard way to achieve this with the pulumi chart resource? Thanks.
    w
    b
    • 3
    • 12
  • f

    freezing-architect-84290

    12/16/2021, 6:02 PM
    Hi, is Crosswalk for Kubernetes available in Go lang? or is it on the roadmap?
    w
    g
    • 3
    • 3
  • c

    clever-wall-4616

    12/18/2021, 1:31 AM
    Hey all, I'm trying to set up a dynamic resource (in TypeScript) that creates a Vault instance via a Helm chart, initializes and unseals the server and then outputs the root token and unseal keys as secrets. The issue I keep running into is that Pulumi tries to run the post-deployment logic (initialization + unsealing) during preview. I've tried wrapping the result of that logic (which runs in the resource's constructor) using
    all
    and
    apply
    but that doesn't stop Pulumi from running it. I've considered moving the Helm chart creation out of the custom resource and making the custom resource depend on it. While that would probably work, I would prefer to bundle that into the custom resource if possible. Is there anything you'd suggest to get around this? Thanks in advance.
  • s

    sparse-butcher-73713

    12/22/2021, 7:39 AM
    Good morning! what is the best way to configure a container environment with pulumi? Obviously it will contain secrets so it cant be committed to git, is there a way to persist the config and then pass it to the container? Also, on a code level, how can I "mass" pass the variables without creating them one by one in the code?
    b
    • 2
    • 11
  • s

    sparse-butcher-73713

    12/23/2021, 7:30 AM
    jolly new error 😄
  • s

    sparse-butcher-73713

    12/23/2021, 7:30 AM
    kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release> (nginx):
        warning: Helm release "nginx-z31ydwbs" was created but has a failed status. Use the `helm` command to investigate the error, correct it, then retry. Reason: failed pre-install: timed out waiting for the condition
        error: failed pre-install: timed out waiting for the condition
  • s

    sparse-butcher-73713

    12/23/2021, 7:30 AM
    let's look at the pod....
  • s

    sparse-butcher-73713

    12/23/2021, 9:04 AM
    oops, missed initial count property so pool was created with zero items
  • s

    sparse-butcher-73713

    12/23/2021, 9:04 AM
    if a service is stuck at creation on "finding pods to direct traffic to" what could be the cause?
    b
    • 2
    • 5
  • s

    sparse-butcher-73713

    12/23/2021, 10:00 AM
    k... onto figuring out DNS and letsencrypt
  • m

    mammoth-honey-6147

    12/23/2021, 1:52 PM
    Using the helm provider I'm encountering a interesting issue 🧵
    • 1
    • 4
  • s

    sparse-butcher-73713

    12/23/2021, 5:46 PM
    how does one go about debugging external-dns not creating an entry from nginx?
    b
    • 2
    • 2
  • s

    sparse-butcher-73713

    12/23/2021, 5:47 PM
    the zone is created fine, but the A recording isnt
  • b

    bland-lamp-16797

    12/27/2021, 3:48 PM
    I assume this is bad
    b
    s
    • 3
    • 3
  • m

    most-lighter-95902

    01/01/2022, 5:19 PM
    Hi, I’m trying to add ssh access to ec2 instances in an EKS ManagedNodeGroup via pulumi’s
    eks
    package and having issues.
  • m

    most-lighter-95902

    01/01/2022, 5:20 PM
    new eks.ManagedNodeGroup(defaultNodeGroupName, {
        cluster: {
          ...cluster.core,
          nodeGroupOptions: {
            keyName: 'key_name'
          }
        },
        ...
    }
  • m

    most-lighter-95902

    01/01/2022, 5:20 PM
    Is this not the way to do it?
  • m

    most-lighter-95902

    01/01/2022, 5:21 PM
  • h

    hundreds-article-77945

    01/03/2022, 8:36 PM
    Is it possible to prevent the k8s provider from reading the local kubeconfig file? IOW, requiring every request to explicitly specify a cluster via a provider?
    f
    b
    • 3
    • 5
  • b

    busy-island-31180

    01/04/2022, 1:49 AM
    I just filed a new issue: https://github.com/pulumi/pulumi-kubernetes-operator/issues/247?ts=4 I was wondering if anyone has any thoughts on this, or if any work in this regard is currently in progress. I was unable to find any open/closed issues/prs that aligned with this feature request.
    b
    s
    • 3
    • 3
  • t

    tall-photographer-1935

    01/06/2022, 2:34 AM
    Has anyone created a YAML transformation in Pulumi (specifically Python)? I am trying to update the ip address name in an ingress object dynamically based on a generated IP address. I see from the source code that the transformation function must only take two parameters..but I'd like to do something like this:
    def add_ingress_ip_address(obj, opts):
      if obj['kind'] == 'Ingress':
        try:
          t = obj['metadata']['annotations']['<http://kubernetes.io/ingress.global-static-ip-name|kubernetes.io/ingress.global-static-ip-name>'] = **DYNAMIC BASED ON CREATED IP ADDRESS NAME**
    Is that possible?
    k
    b
    • 3
    • 7
  • f

    freezing-umbrella-80278

    01/06/2022, 1:33 PM
    https://pulumi-community.slack.com/archives/C84L4E3N1/p1641475970020700
  • b

    bored-table-20691

    01/06/2022, 11:46 PM
    I feel with high probability I am missing something super dumb, but given a
    pulumi-eks
    eks.Cluster
    type, how do I get the name of that cluster (e.g. if I need to pass it to an annotation or an IAM role or some such)? Specifically in Go, I’ve seen several examples in TS (specifically,
    cluster.eksCluster.name
    ).
    b
    • 2
    • 3
  • h

    hundreds-article-77945

    01/11/2022, 2:13 PM
    We’ve been having issues with empty diffs when using the Go SDK + kubernetes provider (I’ll post a pair of examples in the thread). Has anyone seen this before?
    b
    • 2
    • 3
  • m

    modern-boots-64313

    01/12/2022, 1:58 AM
    Hi there, 1 of my k8s service is missing after
    pulumi up
    , checked pulumi log file it did shows the resources still in the state. Any idea why ?
    q
    • 2
    • 3
Powered by Linen
Title
m

modern-boots-64313

01/12/2022, 1:58 AM
Hi there, 1 of my k8s service is missing after
pulumi up
, checked pulumi log file it did shows the resources still in the state. Any idea why ?
q

quiet-wolf-18467

01/12/2022, 12:14 PM
It could be that your service was deleted by someone with access to the cluster and because you've not used
--refresh
with
pulumi up
it's currently unaware of that out of band change.
m

modern-boots-64313

01/13/2022, 12:27 AM
yeah that was my explanation too, but the service was there and only missing when the deployment is complete
then it appears the recommended approach is always
--refresh
for deployment ?
View count: 6