Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 1.72 KB

README.md

File metadata and controls

46 lines (38 loc) · 1.72 KB

Kubernetes Hybrid Cloud

Building a hybrid cloud with Kubernetes and Terraform

Also hosted at https://gitlab.com/magic7s/k8s-hybrid-cloud for CI/CD capabilities.

Requirements

Either install the requirements below or use the Dockerfile. You can also leverage gitlab CI/CD to run the container for you.

docker build -t myimage:latest .
docker run -it myimage
# git clone https://github.com/magic7s/k8s-hybrid-cloud.git
# terraform init
  • Must have AWS kubectl available in PATH
  • Must have AWS aws-iam-authenticator available in PATH
  • Must have gcloud cli available in PATH
  • Must have helm available in PATH
  • Must install custom terrafrom plugin from https://github.com/mcuadros/terraform-provider-helm

Environment

Infra

Sample App - Bookinfo

Bookinfo

Steps to execute (assuming above requirements are meet):

# Update or delete BACKEND.tf to use local terraform.tfstate
terraform init
terraform apply
#-- An error will be thrown. See bug https://github.com/magic7s/k8s-hybrid-cloud/issues/3
terrafom apply
cd sample_app
./install_bookinfo.sh

Resources - This project makes use of many others contributions.