1 2 3 4 5 6 7 8 9 10 11 12 13 14
apiVersion: v1 kind: Service metadata: labels: app: logdemoservice name: logdemoservice namespace: "{{ .Values.nsPrefix }}-logdemoservice" spec: ports: - port: 8080 nodePort: {{ .Values.nodePortPrefix }}98 selector: app: logdemoservice type: NodePort