aws-samples / aws-workshop-for-kubernetes

AWS Workshop for Kubernetes
Apache License 2.0
2.66k stars 1.07k forks source link

Create a validation scripts to assist in troubleshooting common issues #547

Open geremyCohen opened 6 years ago

geremyCohen commented 6 years ago

We need a script that can be run to verify the environment. This can save a ton of time automating this process.

Pre Setup

. Cloud9 default EC2 profile has been disabled . Environmental vars are set correctly . That the account can create an ELB (per https://github.com/aws-samples/aws-workshop-for-kubernetes/issues/544)

Post Cluster Install

. VPC and subnets are tagged correctly . Heptio-derived username matches cluster-owner username . sts get-caller-identification username matches cluster-owner-username

Post kubeconfig creation

. cluster name is identical in both EKS and kubeconfig . cert is identical in both EKS and kubeconfig . endpoint is identical in both EKS and kubeconfig

christopherhein commented 6 years ago

Nice!