-
Notifications
You must be signed in to change notification settings - Fork 25
/
doctor.yaml
72 lines (70 loc) · 2.31 KB
/
doctor.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: doctor
spec:
version: "v0.3.0"
platforms:
- uri: https://github.com/emirozer/kubectl-doctor/releases/download/0.3.1/kubectl-doctor_darwin_amd64
sha256: 80e2f80b0552424ac2513a7aea27e93c2e4f72d2e59a3f7b55fce3869e8ef79f
bin: kubectl-doctor
files:
- from: "*"
to: "."
selector:
matchLabels:
os: darwin
arch: amd64
- uri: https://github.com/emirozer/kubectl-doctor/releases/download/0.3.1/kubectl-doctor_darwin_arm64
sha256: 9da5fed6df4597e0ce7d05dee789f0c36ee969619790cbaaedc1d0f645b3bd21
bin: kubectl-doctor
files:
- from: "*"
to: "."
selector:
matchLabels:
os: darwin
arch: arm64
- uri: https://github.com/emirozer/kubectl-doctor/releases/download/0.3.1/kubectl-doctor_linux_amd64
sha256: 0abd3ac3a02b1a9a04af7fb2fa7808ad937a1b48e7974414172da225e2737033
bin: kubectl-doctor
files:
- from: "*"
to: "."
selector:
matchLabels:
os: linux
arch: amd64
- uri: https://github.com/emirozer/kubectl-doctor/releases/download/0.3.1/kubectl-doctor_linux_arm
sha256: 58f48989a379f959bb8b114833c57540d3d3dde8ac2d5e3dda8f72d047af8aa1
bin: kubectl-doctor
files:
- from: "*"
to: "."
selector:
matchLabels:
os: linux
arch: arm
- uri: https://github.com/emirozer/kubectl-doctor/releases/download/0.3.1/kubectl-doctor_windows_amd64.exe
sha256: 0a0778c11b0d0ce2a46eafd600a2597473ebf9e1916b845c257ffade50d4654c
bin: kubectl-doctor.exe
files:
- from: "*"
to: "."
selector:
matchLabels:
os: windows
arch: amd64
shortDescription: Scans your cluster and reports anomalies.
homepage: https://github.com/emirozer/kubectl-doctor
description: |
This plugin is inspired by brew doctor.
It will scan the active kube-context for anomalies or
useful action points that it can report back to you.
This plugin does not change any state or configuration.
Please check the repository for an example report:
* https://github.com/emirozer/kubectl-doctor
caveats: |
This plugin needs higher privileges on core API group.
Potentially a ClusterRole that can get cluster-scoped resources.
Such as nodes / all namespaces etc.