Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shalb/cdev-aws-k3s
Cluster dev template to create k3s cluster in AWS cloud.
https://github.com/shalb/cdev-aws-k3s
Last synced: about 1 month ago
JSON representation
Cluster dev template to create k3s cluster in AWS cloud.
- Host: GitHub
- URL: https://github.com/shalb/cdev-aws-k3s
- Owner: shalb
- License: gpl-3.0
- Created: 2021-04-05T12:47:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T11:29:14.000Z (about 1 year ago)
- Last Synced: 2023-11-01T16:34:34.319Z (about 1 year ago)
- Size: 82 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS-K3s
Cluster.dev uses [stack templates](https://docs.cluster.dev/stack-templates-overview/) to generate users' projects in a desired cloud. AWS-K3s is a stack template that creates and provisions Kubernetes clusters in AWS cloud by means of k3s utility. The template deploys a k3s cluster using existing or created VPC and domain name.
In this repository you will find all information and samples necessary to start a k3s cluster in AWS.
The resources to be created:
* AWS Key Pair to access running instances of the cluster.
* *(optional, if your use cluster.dev domain)* Route53 zone **.cluster.dev**
* *(optional, if vpc_id is not set)* VPC for EKS cluster
* AWS IAM Policy for managing your DNS zone by external-dns
* k3s Kubernetes cluster with addons:
* cert-manager
* ingress-nginx
* external-dns
* argocd## Prerequisites
1. Terraform version 13+
2. AWS account.
3. AWS CLI installed.
4. kubectl installed.
5. [Cluster.dev client installed](https://docs.cluster.dev/installation-upgrade/).## Quick Start
1. [Configure access to AWS](https://docs.cluster.dev/examples-aws-eks/#authentication) and export required variables.
2. In empty dir: use cdev generator to create project from this repo:
```
cdev project create https://github.com/shalb/cdev-aws-k3s
```
3. Edit variables in the example's files, if necessary.
4. Run `cdev plan`
5. Run `cdev apply`