mirror of https://github.com/k3s-io/k3s
30 lines
636 B
YAML
30 lines
636 B
YAML
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
labels:
|
|
component: flower
|
|
name: flower-controller
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: taskQueue
|
|
component: flower
|
|
spec:
|
|
containers:
|
|
- image: endocode/flower
|
|
name: flower
|
|
ports:
|
|
- containerPort: 5555
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
livenessProbe:
|
|
httpGet:
|
|
# Path to probe; should be cheap, but representative of typical behavior
|
|
path: /
|
|
port: 5555
|
|
initialDelaySeconds: 30
|
|
timeoutSeconds: 1
|