Skip to content

Commit a4d46a1

Browse files
committed
bugfix
1 parent 7f27beb commit a4d46a1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/postgresql-sdk/deploy/postgresql-sdk-health-check.yaml.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ spec:
2929
app: postgresql-sdk-health-check
3030
spec:
3131
restartPolicy: OnFailure
32+
nodeSelector:
33+
pai-master: "true"
3234
containers:
3335
- name: health-checker
3436
image: {{ cluster_cfg["cluster"]["docker-registry"]["prefix"] }}postgresql-sdk:{{ cluster_cfg["cluster"]["docker-registry"]["tag"] }}

src/postgresql-sdk/deploy/postgresql-sdk-service.yaml.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ spec:
2626
app: postgresql-sdk-sync
2727
spec:
2828
restartPolicy: OnFailure
29+
nodeSelector:
30+
pai-master: "true"
2931
initContainers:
3032
- name: wait-for-postgresql
3133
image: {{ cluster_cfg["cluster"]["docker-registry"]["prefix"] }}postgresql:{{ cluster_cfg["cluster"]["docker-registry"]["tag"] }}

0 commit comments

Comments
 (0)