apiVersion: v1 kind: Service metadata: name: example-service namespace: default spec: ports: - name: test protocol: TCP port: 666 targetPort: 666