Skip to content

Instantly share code, notes, and snippets.

@holypriest
Created July 17, 2020 02:29
Show Gist options
  • Save holypriest/21f1c8d186161e071dd5ef23180c0fb8 to your computer and use it in GitHub Desktop.
Save holypriest/21f1c8d186161e071dd5ef23180c0fb8 to your computer and use it in GitHub Desktop.
Service configuration for Airflow webserver
kind: Service
apiVersion: v1
metadata:
name: webserver-svc
namespace: airflow-on-k8s
spec:
type: ClusterIP
selector:
tier: airflow
component: webserver
release: airflow
ports:
- name: airflow-ui
protocol: TCP
port: 80
targetPort: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment