Amazon EKS Cluster
An EKS cluster
This example lives in the pulumi/examples repository. Check out just this directory to use it:
git clone --filter=blob:none --sparse https://github.com/pulumi/examples pulumi-examplesgit -C pulumi-examples sparse-checkout set aws-yaml-ekscd pulumi-examples/aws-yaml-eksThis example deploys an EKS Kubernetes cluster inside the default AWS VPC.
Deploying the App#
To deploy your infrastructure, follow the below steps.
Prerequisites#
Deploying and running the program#
-
Create a new stack:
$ pulumi stack init dev -
Set the AWS region:
$ pulumi config set aws:region us-east-2 -
Run
pulumi upto preview and deploy changes:$ pulumi upPreviewing changes:...Performing changes:...Resources:+ 28 createdDuration: 10m0s -
Check the deployed kubeconfig:
$ pulumi stack output kubeconfig{"apiVersion":"v1","clusters":[{"cluster":{"certificate-authority-data":"LS0tLS1CRUdJTiBDR...