-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathoperator.yaml
42 lines (42 loc) · 1.07 KB
/
operator.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: couchbase-operator
spec:
replicas: 1
selector:
matchLabels:
app: couchbase-operator
template:
metadata:
labels:
app: couchbase-operator
spec:
containers:
- name: couchbase-operator
image: registry.connect.redhat.com/couchbase/operator:1.1.0-1
imagePullPolicy: Always
command:
- couchbase-operator
args:
- -enable-upgrades=false # Disable experimental upgrade feature
env:
- name: MY_POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: MY_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
ports:
- name: readiness-port
containerPort: 8080
readinessProbe:
httpGet:
path: /readyz
port: readiness-port
initialDelaySeconds: 3
periodSeconds: 3
failureThreshold: 19
serviceAccountName: couchbase-operator