Skip to content

Commit 96cbbfa

Browse files
authored
K8SPSMDB-1033 - Change operator container port for metrics to 8080 (#1415)
Add liveness probe for operator container and rerun bundle generation
1 parent 56294d5 commit 96cbbfa

File tree

7 files changed

+3852
-1088
lines changed

7 files changed

+3852
-1088
lines changed

config/crd/bases/psmdb.percona.com_perconaservermongodbs.yaml

Lines changed: 764 additions & 216 deletions
Large diffs are not rendered by default.

deploy/bundle.yaml

Lines changed: 772 additions & 218 deletions
Large diffs are not rendered by default.

deploy/crd.yaml

Lines changed: 764 additions & 216 deletions
Large diffs are not rendered by default.

deploy/cw-bundle.yaml

Lines changed: 772 additions & 218 deletions
Large diffs are not rendered by default.

deploy/cw-operator.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,19 @@ spec:
1616
containers:
1717
- name: percona-server-mongodb-operator
1818
image: perconalab/percona-server-mongodb-operator:main
19+
imagePullPolicy: Always
20+
livenessProbe:
21+
failureThreshold: 3
22+
httpGet:
23+
path: /metrics
24+
port: metrics
25+
scheme: HTTP
1926
ports:
20-
- containerPort: 60000
27+
- containerPort: 8080
2128
protocol: TCP
2229
name: metrics
2330
command:
2431
- percona-server-mongodb-operator
25-
imagePullPolicy: Always
2632
env:
2733
- name: LOG_STRUCTURED
2834
value: 'false'

deploy/operator.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,19 @@ spec:
1616
containers:
1717
- name: percona-server-mongodb-operator
1818
image: perconalab/percona-server-mongodb-operator:main
19+
imagePullPolicy: Always
20+
livenessProbe:
21+
failureThreshold: 3
22+
httpGet:
23+
path: /metrics
24+
port: metrics
25+
scheme: HTTP
1926
ports:
20-
- containerPort: 60000
27+
- containerPort: 8080
2128
protocol: TCP
2229
name: metrics
2330
command:
2431
- percona-server-mongodb-operator
25-
imagePullPolicy: Always
2632
env:
2733
- name: LOG_STRUCTURED
2834
value: 'false'

e2e-tests/version-service/conf/crd.yaml

Lines changed: 764 additions & 216 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)