Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbiomee/terraform-azur-aks
General Azur deploy using Terraform
https://github.com/mbiomee/terraform-azur-aks
aks azure azure-devops k8s k8s-cluster k8s-deployment terraform terraform-azure
Last synced: 2 months ago
JSON representation
General Azur deploy using Terraform
- Host: GitHub
- URL: https://github.com/mbiomee/terraform-azur-aks
- Owner: mbiomee
- Created: 2020-07-08T16:04:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-12T07:31:26.000Z (over 4 years ago)
- Last Synced: 2024-11-08T15:56:02.961Z (3 months ago)
- Topics: aks, azure, azure-devops, k8s, k8s-cluster, k8s-deployment, terraform, terraform-azure
- Language: HCL
- Homepage: https://mbiomee.com
- Size: 2.93 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terraform-azur-aks
[![TerraformRefigistry](https://img.shields.io/badge/Terraform%20Registry-v0.0.2-blue.svg)](https://registry.terraform.io/modules/mbiomee/aks/azur)
General Azur deploy using Terraform
---## for more info
- [Azur Kubernetes Service](https://docs.microsoft.com/en-us/azure/aks/)
- [Terraform](https://www.terraform.io/)## Caution
applying this infrastructure will create resources on your azur account so be sure you have enough credits
## Usage
Edit varibles.tf file with your setting
### Terraform
You need to run the following commands to create the resources with Terraform:
```bash
terraform init
terraform plan -out out.plan
terraform apply out.plan
```### Setup kubectl
Setup your `KUBECONFIG`
```bash
terraform output kubeconfig > ~/.kube/eks-cluster
export KUBECONFIG=./azurek8s
```You can verify the worker nodes are joining the cluster
```bash
kubectl get nodes --watch
```### Cleaning up
You can destroy this cluster entirely by running:
```bash
terraform plan -destroy
terraform destroy --force
```