netexecrc.yaml 507 B

123456789101112131415161718192021
  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: gcr.io/kubernetes-e2e-test-images/netexec:1.0
  16. ports:
  17. - containerPort: 8080
  18. # This is to force these pods to land on different hosts.
  19. # TODO: use the downward api and get podname instead.
  20. hostPort: 81