File tree 1 file changed +7
-5
lines changed
packages/2024-08-21-kubecon-hk
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1234,7 +1234,9 @@ class: py-10
1234
1234
#### Install
1235
1235
1236
1236
``` shell
1237
- helm install kcover kcover/kcover --namespace kcover-system
1237
+ helm repo add baizeai https://baizeai.github.io/charts
1238
+ helm repo update baizeai
1239
+ helm -n kcover-system --create-namespace install kcover baizeai/kcover
1238
1240
```
1239
1241
1240
1242
<div mt-6 />
@@ -1244,7 +1246,7 @@ helm install kcover kcover/kcover --namespace kcover-system
1244
1246
#### Label the should watched resources - With ` kubectl `
1245
1247
1246
1248
``` shell
1247
- kubectl label pod pytorchjob-example-0 kcover.io/cascading-recovery=true
1249
+ kubectl label pytorchjobs pytorchjob-example kcover.io/cascading-recovery=true
1248
1250
```
1249
1251
1250
1252
</div >
@@ -1256,10 +1258,10 @@ kubectl label pod pytorchjob-example-0 kcover.io/cascading-recovery=true
1256
1258
#### Label the should watched resources - With ` yaml `
1257
1259
1258
1260
``` yaml {6}
1259
- apiVersion : v1
1260
- kind : Pod
1261
+ apiVersion : kubeflow.org/ v1
1262
+ kind : PyTorchJob
1261
1263
metadata :
1262
- name : pytorchjob-example-0
1264
+ name : pytorchjob-example
1263
1265
labels :
1264
1266
kcover.io/cascading-recovery : " true"
1265
1267
# ...
You can’t perform that action at this time.
0 commit comments