Skip to content

Commit b8057af

Browse files
committed
> fix installing commands
1 parent 1968835 commit b8057af

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

packages/2024-08-21-kubecon-hk/slides.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,9 @@ class: py-10
12341234
#### Install
12351235

12361236
```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
12381240
```
12391241

12401242
<div mt-6 />
@@ -1244,7 +1246,7 @@ helm install kcover kcover/kcover --namespace kcover-system
12441246
#### Label the should watched resources - With `kubectl`
12451247

12461248
```shell
1247-
kubectl label pod pytorchjob-example-0 kcover.io/cascading-recovery=true
1249+
kubectl label pytorchjobs pytorchjob-example kcover.io/cascading-recovery=true
12481250
```
12491251

12501252
</div>
@@ -1256,10 +1258,10 @@ kubectl label pod pytorchjob-example-0 kcover.io/cascading-recovery=true
12561258
#### Label the should watched resources - With `yaml`
12571259

12581260
```yaml {6}
1259-
apiVersion: v1
1260-
kind: Pod
1261+
apiVersion: kubeflow.org/v1
1262+
kind: PyTorchJob
12611263
metadata:
1262-
name: pytorchjob-example-0
1264+
name: pytorchjob-example
12631265
labels:
12641266
kcover.io/cascading-recovery: "true"
12651267
# ...

0 commit comments

Comments
 (0)