Follow the link here for setting up the whole cluster - https://github.com/sarweshsuman/elastic-airflow-cluster-k8s-setup-manifests#elastic-airflow-cluster-k8s-setup-manifests
Follow blog on the setup and demo - https://medium.com/@sarweshsuman.1/elastic-autoscaling-airflow-cluster-in-kubernetes-14c16c73cac9