apiVersion: v1 kind: Service metadata: name: svc-pinry spec: selector: app.kubernetes.io/name: pinry ports: - name: webui protocol: TCP port: 80 targetPort: 80