k8s.io/kubernetes@v1.29.3/test/e2e/testing-manifests/kubectl/agnhost-primary-controller.json.in (about) 1 { 2 "kind":"ReplicationController", 3 "apiVersion":"v1", 4 "metadata":{ 5 "name":"agnhost-primary", 6 "labels":{ 7 "app":"agnhost", 8 "role":"primary" 9 } 10 }, 11 "spec":{ 12 "replicas":1, 13 "selector":{ 14 "app":"agnhost", 15 "role":"primary" 16 }, 17 "template":{ 18 "metadata":{ 19 "labels":{ 20 "app":"agnhost", 21 "role":"primary" 22 } 23 }, 24 "spec":{ 25 "containers":[ 26 { 27 "name":"agnhost-primary", 28 "image": "{{.AgnhostImage}}", 29 "ports":[ 30 { 31 "name":"agnhost-server", 32 "containerPort":6379 33 } 34 ] 35 } 36 ] 37 } 38 } 39 } 40 }