import * as awsx from "@pulumi/awsx"; import * as eks from "@pulumi/eks"; import * as k8s from "@pulumi/kubernetes"; // Create an AWS VPC and EKS cluster const vpc = new awsx.Vpc("vpc", { usePrivateSubnets: false }); const cluster = new eks.Cluster("cluster", { vpcId: vpc.vpcId, subnetIds: vpc.subnetIds, }); // Deploy a Helm chart into the EKS cluster. const node = new k8s.helm.v2.Chart("node", { repo: "bitnami", chart: "node", version: "4.0.1", values: { serviceType: "LoadBalancer", } }, { providers: { kubernetes: cluster.provider } });