Sanjay-George / nick-name-generator

(Cloud App demo, not a toy!) A simple nickname generator built with microservice architecture. Docker and K8s deployment.
0 stars 0 forks source link

Try using Kubespray for AWS (python ansible + terraform) #12

Open Sanjay-George opened 2 years ago

Sanjay-George commented 2 years ago

kubespray: ansible playbooks, need python to execute ansible. Terraform module only for AWS πŸ˜‘. But GCP is supported with python πŸ™‚

Blocker

kubespray ansible book failing randomly. Issue raised here: https://github.com/Sanjay-George/nick-name-generator/issues/4)

Articles

  1. Installing kubernetes with kubespray

  2. Quickstart setup using kubespray on GCP

Steps followed

1. Install ansible 🐍

2. Setup dev environment on ubuntu WSL

3. Run Terraform to provision the cluster

4. Run ansible playbooks to set up k8 on the already-provisioned cluster

4a. Figure out way to pass in the key through CLI instead of inventory

5. Check kube cluster status