mirror of https://github.com/k3s-io/k3s
25 lines
521 B
YAML
25 lines
521 B
YAML
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
name: echoheaders
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: echoheaders
|
|
spec:
|
|
containers:
|
|
- name: echoheaders
|
|
image: gcr.io/google_containers/echoserver:1.4
|
|
ports:
|
|
- containerPort: 8080
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: 8080
|
|
periodSeconds: 1
|
|
timeoutSeconds: 1
|
|
successThreshold: 1
|
|
failureThreshold: 10
|