https://github.com/pierrer/eks-lab
https://github.com/pierrer/eks-lab
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pierrer/eks-lab
- Owner: PierreR
- Created: 2019-01-11T09:03:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-11T10:33:50.000Z (over 7 years ago)
- Last Synced: 2025-08-31T04:42:17.423Z (10 months ago)
- Language: HCL
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EKS-Lab
Experimentation with AWS EKS using the [Terraform module](https://registry.terraform.io/modules/terraform-aws-modules/eks/aws/2.0.0)
## Setup
### Create cluster & workers
```
terraform init
terraform plan
terraform apply
```
### Install Helm server
```
kubectl apply -f ~/environment/rbac.yaml
helm init --service-account tiller
```
### Dashboard
```
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml
# Enable permission
kubectl apply -f eks-admin-service-account.yaml
kubectl proxy
xdg-open http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/login
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep eks-admin | awk '{print $1}')
```