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