minor updates

This commit is contained in:
marcel-dempers 2020-08-30 17:07:07 +10:00
parent fdb7cbc1b5
commit 85f23c51ab
2 changed files with 6 additions and 10 deletions

View File

@ -7,14 +7,6 @@ provider "aws" {
region = var.region
}
provider "null" {
version = "~> 2.1"
}
provider "template" {
version = "~> 2.1"
}
data "aws_eks_cluster" "cluster" {
name = module.eks.cluster_id
}
@ -98,7 +90,7 @@ module "eks" {
name = "worker-group-1"
instance_type = "t2.small"
additional_userdata = "echo foo bar"
asg_desired_capacity = 2
asg_desired_capacity = 1
additional_security_group_ids = [aws_security_group.worker_group_mgmt_one.id]
},
]
@ -128,7 +120,7 @@ resource "kubernetes_deployment" "example" {
}
spec {
replicas = 3
replicas = 2
selector {
match_labels = {

View File

@ -67,8 +67,12 @@ curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s http
chmod +x ./kubectl
mv ./kubectl /usr/local/bin/kubectl
kubectl get nodes
kubectl get deploy
kubectl get pods
kubectl get svc
```
# Clean up