https://github.com/eddmann/aws-k8s-cluster-terraform
Single-node Kubernetes Cluster on AWS using Terraform
https://github.com/eddmann/aws-k8s-cluster-terraform
Last synced: 6 months ago
JSON representation
Single-node Kubernetes Cluster on AWS using Terraform
- Host: GitHub
- URL: https://github.com/eddmann/aws-k8s-cluster-terraform
- Owner: eddmann
- Created: 2019-06-28T17:46:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-05T13:19:43.000Z (over 6 years ago)
- Last Synced: 2025-01-23T03:26:49.031Z (over 1 year ago)
- Language: HCL
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Single-node Kubernetes Cluster on AWS
Provisions a single-node (Master) Kubernetes cluster (using [Kubeadm](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm/)) with [Flannel](https://github.com/coreos/flannel) CNI and [Helm](https://helm.sh/) client on AWS.
### Setup
- `cp terraform.tfvars.example terraform.tfvars`, modify according to preference
- `terraform init`
- `terraform apply`
- Experiment with your single-node Kubernetes Cluster via `{cluster_name}.{host_zone}`
### Ingress (Optional)
If you wish experiment with [Ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/) without the desire for a Load Balancer you can run `kubectl apply -f nginx-ingress.yaml`.
This will setup the [Nginx Ingress Controller](https://github.com/kubernetes/ingress-nginx) on your Cluster, binding to the host node ports `80` and `443`.
### Inspiration
- https://github.com/cablespaghetti/kubeadm-aws
- https://github.com/scholzj/aws-minikube