Skip to content

Commit 3fbea43

Browse files
committed
feat: do-not-disrupt annotations to subgraph components
1 parent b09a5b7 commit 3fbea43

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

deploy/production/ajna-subgraph.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ spec:
5151
metadata:
5252
labels:
5353
app: {{NETWORK_NAME}}-postgres
54+
annotations:
55+
karpenter.sh/do-not-disrupt: "true"
5456
spec:
5557
containers:
5658
- name: postgres
@@ -123,6 +125,8 @@ spec:
123125
metadata:
124126
labels:
125127
app: {{NETWORK_NAME}}-ipfs
128+
annotations:
129+
karpenter.sh/do-not-disrupt: "true"
126130
spec:
127131
containers:
128132
- name: ipfs
@@ -184,6 +188,8 @@ spec:
184188
metadata:
185189
labels:
186190
app: {{NETWORK_NAME}}-graph-node
191+
annotations:
192+
karpenter.sh/do-not-disrupt: "true"
187193
spec:
188194
containers:
189195
- name: graph-node

deploy/staging/ajna-subgraph.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ spec:
5151
metadata:
5252
labels:
5353
app: {{NETWORK_NAME}}-postgres
54+
annotations:
55+
karpenter.sh/do-not-disrupt: "true"
5456
spec:
5557
containers:
5658
- name: postgres
@@ -123,6 +125,8 @@ spec:
123125
metadata:
124126
labels:
125127
app: {{NETWORK_NAME}}-ipfs
128+
annotations:
129+
karpenter.sh/do-not-disrupt: "true"
126130
spec:
127131
containers:
128132
- name: ipfs
@@ -184,6 +188,8 @@ spec:
184188
metadata:
185189
labels:
186190
app: {{NETWORK_NAME}}-graph-node
191+
annotations:
192+
karpenter.sh/do-not-disrupt: "true"
187193
spec:
188194
containers:
189195
- name: graph-node

0 commit comments

Comments
 (0)