k8s.io/kubernetes@v1.29.3/test/e2e/testing-manifests/ingress/http/rc.yaml (about)

     1  apiVersion: v1
     2  kind: ReplicationController
     3  metadata:
     4    name: echoheaders
     5  spec:
     6    replicas: 1
     7    template:
     8      metadata:
     9        labels:
    10          app: echoheaders
    11      spec:
    12        containers:
    13        - name: echoheaders
    14          image: registry.k8s.io/e2e-test-images/agnhost:2.39
    15          command:
    16          - /agnhost
    17          - netexec
    18          - --http-port=8080
    19          ports:
    20          - containerPort: 8080
    21          readinessProbe:
    22            httpGet:
    23              path: /healthz
    24              port: 8080
    25            periodSeconds: 1
    26            timeoutSeconds: 1
    27            successThreshold: 1
    28            failureThreshold: 10