k8s.io/kubernetes@v1.29.3/test/e2e/testing-manifests/serviceloadbalancer/netexecrc.yaml (about) 1 apiVersion: v1 2 kind: ReplicationController 3 metadata: 4 name: netexec 5 spec: 6 # Assumes you have 3 nodes in your cluster. 7 replicas: 3 8 template: 9 metadata: 10 labels: 11 app: netexec 12 spec: 13 containers: 14 - name: netexec 15 image: registry.k8s.io/e2e-test-images/agnhost:2.32 16 command: ["/agnhost", "netexec"] 17 ports: 18 - containerPort: 8080 19 # This is to force these pods to land on different hosts. 20 # TODO: use the downward api and get podname instead. 21 hostPort: 81