-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.krew.yaml
32 lines (30 loc) · 1.43 KB
/
.krew.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
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: windows-debug
spec:
version: {{ .TagName }}
homepage: https://github.com/jsturtevant/windows-debug
platforms:
- selector:
matchLabels:
os: darwin
{{addURIAndSha "https://github.com/jsturtevant/windows-debug/releases/download/{{ .TagName }}/kubectl-windows-debug-{{ .TagName }}.tar.gz" .TagName }}
bin: kubectl-windows-debug
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/jsturtevant/windows-debug/releases/download/{{ .TagName }}/kubectl-windows-debug-{{ .TagName }}.tar.gz" .TagName }}
bin: kubectl-windows-debug
shortDescription: Windows node access via kubectl
description: |
kubectl plugin for launching a Windows pod that will give you access to the specified node
and provide a few useful utilities for debugging Windows processes.
Access to the node is provided by a Windows Host Process Containers feature in Kubernetes.
To use this plugin you will need:
- kubernetes 1.22+ (with the WindowsHostProcessContainers feature-gate enabled)
- containerd 1.6+ as the runtime
By default it uses container image https://github.com/jsturtevant/windows-debug/pkgs/container/windows-debug
which has some useful utilities for debugging Windows processes pre-installed.
You can provide your own image by using --image flag.