Luxury Definition by a Kubernetes Engineer

Luxury

Ansible

ansible 🖤k8s
- name: Laptop with kube dependencies  hosts: localhost  roles:   - role: abdennour.kube_local_environment

Terraform

Terraform 💜 k8s
module "eks" {  source   = "terraform-aws-modules/eks/aws"  version  = "5.0.0"  cluster_name = local.cluster_name  subnets      = module.vpc.public_subnets  vpc_id       = module.vpc.vpc_id  manage_aws_auth = true  map_users      = var.map_users  workers_additional_policies = var.workers_additional_policies  worker_groups_launch_template = [  {    name                 = "worker-group-1"    instance_type        = "m5.large"    asg_desired_capacity = 4    asg_max_size = 10    asg_min_size            = 3    autoscaling_enabled = true  }
]
worker_groups_launch_template_mixed = [ { name = "spot-mixed" override_instance_types = ["m5.large", "m5a.large"] spot_instance_pools = 3 spot_allocation_strategy = "lowest-price" asg_max_size = 30 asg_min_size = 1 asg_desired_capacity = 3 kubelet_extra_args = "--node-labels=kubernetes.io/lifecycle=spot" autoscaling_enabled = true } ]}

Helm

Helm 💙 k8s

Helmfile

helmfile apply
releases:- name: metrics-server  namespace: kube-system  chart: stable/metrics-server  version: 2.8.2  values:  - "./values/metrics-server.yaml"
- name: cluster-autoscaler namespace: default chart: stable/cluster-autoscaler values: - "./values/cluster-autoscaler.yaml"- name: ingress namespace: ingress chart: stable/nginx-ingress values: - "./values/nginx-ingress.yaml"
- name: prom namespace: monitoring chart: stable/prometheus-operator version: ~6.7.4 set: - name: grafana.adminPassword value: {{ requiredEnv "GRAFANA_PASSWD" }} values: - "./values/prometheus.yaml"# ..............

Bonus:

--

--

--

Software engineer, Cloud Architect, 5/5 AWS|GCP|PSM Certified, Owner of kubernetes.tn

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abdennour Toumi

Abdennour Toumi

Software engineer, Cloud Architect, 5/5 AWS|GCP|PSM Certified, Owner of kubernetes.tn

More from Medium

Configuring K3S using k3sup in AWS

Azure Self-managed Kubernetes High Availability for Open5gs [part 2]

I Made a Local Kubernetes Startup Script So You Don’t Have To

lk8s up

What is Kubernetes API?