dns/cluster/testsvc.yaml (11 lines of code) (raw):

apiVersion: v1 kind: Service metadata: name: test-svc labels: app: test-svc spec: ports: - name: test port: 8080 protocol: TCP