Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 865 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 865 Bytes

HOW-TO

Clone this repo into the suitable for you directory and enter this directory.

Before the very start you'll want to initialize the terraform first:

~$ terraform init -backend-config=backend.tfvars -upgrade

To create infrastructure from the scratch run:

~$ terraform plan -out=ripper.tfplan

after that check all output, and if satisfied, run:

~$ terraform apply "ripper.tfplan"

and type "yes" to approve setup. To approve non-interactivly - just add -auto-approve to the command above

Terraform creates .tfstate file in the S3 bucket


kubectl connect to existing eks cluster:

~$ aws eks --region <region-code> update-kubeconfig --name <cluster_name>

Deploy containers

~$ kubectl apply -f /path/to/ripper-deployment.yaml

working example you can find in deployments directory