https://pulumi.com logo
#kubernetes
Title
# kubernetes
d

damp-salesmen-74351

08/14/2023, 9:03 PM
How to Increase the number of pods limit per Kubernetes Node? I tried
node_user_data
, But it didn't work:
Copy code
import pulumi_eks as eks

def create_cluster(vpc):
    cluster = eks.Cluster(
        "cluster",
        # other parameters...
        node_user_data="""
          #!/bin/bash
          set -o xtrace
          /etc/eks/bootstrap.sh --apiserver-endpoint '${var.cluster_endpoint}' --b64-cluster-ca '${var.cluster_ca_data}' '${var.cluster_name}' --use-max-pods false --kubelet-extra-args '--max-pods=20'
        """,
    )
    return cluster