kubernetes/test/e2e/testing-manifests/kubectl/agnhost-primary-service.json

{
   "kind": "Service",
   "apiVersion": "v1",
   "metadata": {
      "name": "agnhost-primary",
      "labels": {
         "app": "agnhost",
         "role": "primary"
      }
   },
   "spec": {
      "ports": [
         {
            "port": 6379,
            "targetPort": "agnhost-server"
         }
      ],
      "selector": {
         "app": "agnhost",
         "role": "primary"
      }
   }
}