...

Text file src/k8s.io/kubernetes/test/e2e/testing-manifests/ingress/http/rc.yaml

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

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

View as plain text