This project uses Pulumi to manage Infrastructure as a Code
index.ts
file declares the using TypeScript the EKS cluster and the services deployed in that cluster
The manifests
directory contains the Kubernetes manifests in YAML represents the services it will be deployed in the cluster. Pulumi doesn't use them. They only exist to guide the people who aren't familiar with Pulumi but know how to read the YAML manifests
After cloning this repo, from this working directory, run these commands:
-
Install the required Node.js packages:
$ npm install
-
Create a new stack, which is an isolated deployment target for this example:
$ pulumi stack init
-
Update the stack.
$ pulumi up
-
Once you've finished experimenting, tear down your stack's resources by destroying and removing it:
$ pulumi destroy --yes $ pulumi stack rm --yes