You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli.md
+51Lines changed: 51 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,50 @@ kubectl plugin for managing Skyhook deployments, packages, and nodes.
6
6
7
7
The Skyhook CLI (`kubectl skyhook`) provides SRE tooling for managing Skyhook operators and their packages across Kubernetes cluster nodes. It supports inspecting node/package state, forcing re-runs, managing node lifecycle, and retrieving logs.
8
8
9
+
## Compatibility
10
+
11
+
### Minimum Operator Version
12
+
13
+
The CLI requires **operator version v0.8.0 or later** for full functionality of all commands.
14
+
15
+
### Command Compatibility Matrix
16
+
17
+
| Command | v0.7.x and earlier | v0.8.0+ |
18
+
|---------|-------------------|---------|
19
+
|`version`| ✅ Full | ✅ Full |
20
+
|`node status`| ✅ Full | ✅ Full |
21
+
|`node list`| ✅ Full | ✅ Full |
22
+
|`node reset`| ✅ Full | ✅ Full |
23
+
|`node ignore/unignore`| ✅ Full | ✅ Full |
24
+
|`package status`| ✅ Full | ✅ Full |
25
+
|`package rerun`| ✅ Full | ✅ Full |
26
+
|`package logs`| ✅ Full | ✅ Full |
27
+
|`reset`| ✅ Full | ✅ Full |
28
+
|`pause`| ❌ Not supported | ✅ Full |
29
+
|`resume`| ❌ Not supported | ✅ Full |
30
+
|`disable`| ❌ Not supported | ✅ Full |
31
+
|`enable`| ❌ Not supported | ✅ Full |
32
+
33
+
### Breaking Change: Pause/Disable Mechanism
34
+
35
+
In operator versions **v0.7.x and earlier**, pausing and disabling a Skyhook was done via spec fields:
36
+
37
+
```yaml
38
+
spec:
39
+
pause: true # Old method - no longer used by operator
40
+
```
41
+
42
+
Starting with **v0.8.0**, the operator uses **annotations** instead:
43
+
44
+
```yaml
45
+
metadata:
46
+
annotations:
47
+
skyhook.nvidia.com/pause: "true"
48
+
skyhook.nvidia.com/disable: "true"
49
+
```
50
+
51
+
The CLI's `pause`, `resume`, `disable`, and `enable` commands set these annotations. If you're running an older operator (v0.7.x or earlier), these commands will appear to succeed but the operator won't recognize the annotations - you'll need to edit the Skyhook spec directly using `kubectl edit`.
52
+
9
53
## Installation
10
54
11
55
```bash
@@ -56,6 +100,8 @@ kubectl skyhook version --timeout 10s
56
100
57
101
Control Skyhook processing state.
58
102
103
+
> **Note:** Requires operator v0.8.0+. See [Compatibility](#compatibility) for details.
0 commit comments