Skip to content

Deployment Failing when using pulumi-esc-csi-provider because Pod is not Starting #75

@MeganYTan

Description

@MeganYTan

What happened?

Update fails during pulumi up when attempting to use secrets-store.csi.k8s.io driver in Pulumi IAC.

Example

  1. Copy the Pulumi code from the coding portion of tutorial: https://www.pulumi.com/tutorials/esc-secret-store-csi-driver/
  2. run pulumi up and see following error:
Diagnostics:
  pulumi:pulumi:Stack (m4-external-secrets-operator-dev):
    error: update failed

  kubernetes:apps/v1:Deployment (example-provider-pulumi-esc):
    error: 4 errors occurred:
        * resource "urn:pulumi:dev::m4-external-secrets-operator::kubernetes:apps/v1:Deployment::example-provider-pulumi-esc" was successfully created, but the Kubernetes API server reported that it failed to fully initialize or become live: 'example-provider-pulumi-esc' timed out waiting to be Ready
        * [MinimumReplicasUnavailable] Deployment does not have minimum availability.
        * Minimum number of live Pods was not attained
        * [Pod example-provider-pulumi-esc-5d58cb4586-4gv8h]: containers with unready status: [client]

Output of pulumi about

CLI
Version 3.153.1
Go Version go1.23.6
Go Compiler gc

Plugins
KIND NAME VERSION
resource kubernetes 4.21.1
language nodejs 3.153.1

Host
OS darwin
Version 15.3.2
Arch arm64

This project is written in nodejs: executable='/Users/mtan/.nvm/versions/node/v22.13.0/bin/node' version='v22.13.0'

Backend
Name pulumi.com
URL https://app.pulumi.com/mtan
User mtan
Organizations mtan, team-ce, mtan-test, demo
Token type personal

Dependencies:
NAME VERSION
typescript 5.8.2
@pulumi/kubernetes 4.21.1
@pulumi/pulumi 3.154.0
@types/node 18.19.80

Pulumi locates its logs in /var/folders/v9/q4gr1hq11tj5q9c6n_r_5vf40000gn/T/ by default

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions