Skip to content

Kubernetes on AWS templates do not produce a functional cluster #670

@scottslowe

Description

@scottslowe

What happened?

As of a few EKS revisions ago, EKS clusters require the AWS EBS CSI driver/add-on to be installed in order to host workloads that use volumes. Our current templates do not have the AWS EBS CSI driver/add-on installed, and therefore cannot host any workloads that use volumes. They are, essentially, not functional.

To complicate the matter, the EKS component used in the templates does not currently support managing EKS add-ons (see pulumi/pulumi-eks#587 and pulumi/pulumi-eks#592). It is unclear to me at this point whether this means we need to stop using the EKS component or not. The AWS v6 upgrade also complicates this matter.

Example

  1. Run pulumi new kubernetes-aws-go. Complete the new project wizard.
  2. Run pulumi up. Wait for the cluster to be provisioned.
  3. Obtain the Kubeconfig for the cluster (typically using pulumi stack output kubeconfig > file).
  4. Using the Kubeconfig obtained in step 3, deploy the Bitnami WordPress Helm chart to the cluster. (Alternately, you may use any workload, Helm chart or otherwise, that requires a volume.)
  5. Observe the Pods stuck in a Pending state. Eventually, a SchedulingFailed event will appear in the output of kubectl describe pod.

Output of pulumi about

This is not specific to a particular version of Pulumi.

Additional context

This problem was uncovered while trying to resolve issues with pulumi/examples#1472

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

area/templatesimpact/usabilitySomething that impacts users' ability to use the product easily and intuitivelykind/bugSome behavior is incorrect or out of specsize/MEstimated effort to complete (up to 5 days).

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions