k8s.io/kubernetes@v1.29.3/test/e2e/testing-manifests/kubectl/agnhost-primary-service.json (about) 1 { 2 "kind": "Service", 3 "apiVersion": "v1", 4 "metadata": { 5 "name": "agnhost-primary", 6 "labels": { 7 "app": "agnhost", 8 "role": "primary" 9 } 10 }, 11 "spec": { 12 "ports": [ 13 { 14 "port": 6379, 15 "targetPort": "agnhost-server" 16 } 17 ], 18 "selector": { 19 "app": "agnhost", 20 "role": "primary" 21 } 22 } 23 }