forked from hharnisc/kubescope-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
34 lines (34 loc) · 917 Bytes
/
deployment.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
apiVersion: v1
kind: Pod
metadata:
name: kubescope-cli-example
spec:
containers:
- image: hharnisc/kube-scope-cli:9c02f636b8cb6d4f251af3e73d19248c2a31b3e1
name: kubescope-cli-example
stdin: true
tty: true
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-sock-volume
env:
- name: MATCH_NAME
value: ".*test-server.*"
# (optional) match on a specific docker image
# - name: MATCH_IMAGE
# value: ".*my-image.*"
# (optional) skip with a specific name
# - name: SKIP_NAME
# value: ".*POD.*"
# (optional) skip with a specific docker image
# - name: SKIP_IMAGE
# value: ".*POD.*"
# - name: DOCKER_SOCKET
# value: /var/run/docker.sock
volumes:
- name: docker-sock-volume
hostPath:
path: /var/run/docker.sock
# pin kubescope to a specific node
# nodeSelector:
# kubernetes.io/hostname: minikube