https://pulumi.com logo
#general
Title
# general
f

full-dress-10026

11/27/2018, 10:29 PM
Out of curiosity, can Pulumi provision a k8s cluster and deploy services to said cluster?
m

microscopic-florist-22719

11/27/2018, 10:29 PM
Yep!
That is a component that creates an EKS cluster in AWS and deploys k8s resources to the same.
f

full-dress-10026

11/27/2018, 10:30 PM
Woah, awesome! starts considering switching from ECS
m

microscopic-florist-22719

11/27/2018, 10:31 PM
You can try this out with
pulumi up <https://github.com/pulumi/apps/eks>
g

gorgeous-egg-16927

11/27/2018, 10:31 PM
m

microscopic-florist-22719

11/27/2018, 10:31 PM
Or
pulumi new <https://github.com/pulumi/apps/eks>
, which will clone the source locally
g

gorgeous-egg-16927

11/27/2018, 10:34 PM
https://blog.pulumi.com/program-kubernetes-with-11-cloud-native-pulumi-pearls has a bunch of examples. Easy wins include importing existing YAML and/or Helm charts and letting Pulumi manage the resources.
f

full-dress-10026

11/27/2018, 10:34 PM
Can the cluster be deployed to an existing VPC?
g

gorgeous-egg-16927

11/27/2018, 10:36 PM
m

microscopic-florist-22719

11/27/2018, 10:38 PM
Likewise for EKS
👍 1
f

full-dress-10026

11/27/2018, 10:42 PM
BTW, this question was provoked by reading this https://pulumi.io/quickstart/kubernetes/setup.html. Under step 1 in Pre-requisites, it doesn't say you can use Pulumi to do this. I would've expected it to link to a doc showing that Pulumi can do this too 🙂
g

gorgeous-egg-16927

11/27/2018, 10:42 PM
Great point! We'll update the doc to reflect that. 🙂