apiVersion: v1 kind: Service metadata: namespace: {{ .Release.Namespace }} name: service-mariadb labels: {{- include "site.labels" . | nindent 4 }} spec: ports: - port: 3306 selector: app: mariadb tier: mariadb clusterIP: None #Headless service, commmunication will no go throught service proxy