apiVersion: v1 kind: Service metadata: name: {{ include "hive-metastore.name" . }} labels: {{- include "hive-metastore.labels" $ | trim | nindent 4 }} spec: type: {{ .Values.service.type }} ports: - name: thrift port: 9083 targetPort: 9083 protocol: TCP selector: {{- include "hive-metastore.selectorLabels" . | nindent 4 }}