...

Text file src/k8s.io/kubernetes/test/e2e/testing-manifests/serviceloadbalancer/netexecrc.yaml

Documentation: k8s.io/kubernetes/test/e2e/testing-manifests/serviceloadbalancer

     1apiVersion: v1
     2kind: ReplicationController
     3metadata:
     4  name: netexec
     5spec:
     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

View as plain text