File tree 2 files changed +11
-57
lines changed
2 files changed +11
-57
lines changed Original file line number Diff line number Diff line change 3
3
A Daemonset that does nothing, but has all your network utilities ready to go,
4
4
so you can test workloads in your Kubernetes cluster.
5
5
6
+ ## Warning
7
+ The ClusterRole used to set up this tool provides read access to ** ALL** resources
8
+ in your Kubernetes cluster. This isn't recommended for anything that even comes
9
+ close to a production environment. Please know what the fuck you are doing before
10
+ you deploy this thing blindly to your Kubernetes cluster.
11
+
12
+ You are encouraged to modify the ClusterRole to restrict to specific resources
13
+ before deploying.
14
+
6
15
## Utilities
7
16
The image is based on [ jonlabelle/network-tools] ( https://github.com/jonlabelle/docker-network-tools ) .
8
17
Several utilities are installed including:
Original file line number Diff line number Diff line change @@ -29,63 +29,9 @@ metadata:
29
29
namespace : utils
30
30
rules :
31
31
- apiGroups :
32
- - " "
32
+ - " * "
33
33
resources :
34
- - events
35
- - namespaces
36
- - namespaces/status
37
- - nodes
38
- - nodes/logs
39
- - nodes/metrics
40
- - nodes/proxy
41
- - nodes/spec
42
- - nodes/stats
43
- - persistentvolumes
44
- - persistentvolumeclaims
45
- - pods
46
- - pods/status
47
- - replicationcontrollers
48
- - replicationcontrollers/status
49
- - resourcequotas
50
- - services
51
- verbs :
52
- - get
53
- - list
54
- - watch
55
- - apiGroups :
56
- - apps
57
- resources :
58
- - daemonsets
59
- - deployments
60
- - replicasets
61
- - statefulsets
62
- verbs :
63
- - get
64
- - list
65
- - watch
66
- - apiGroups :
67
- - extensions
68
- resources :
69
- - daemonsets
70
- - deployments
71
- - replicasets
72
- verbs :
73
- - get
74
- - list
75
- - watch
76
- - apiGroups :
77
- - batch
78
- resources :
79
- - jobs
80
- - cronjobs
81
- verbs :
82
- - get
83
- - list
84
- - watch
85
- - apiGroups :
86
- - autoscaling
87
- resources :
88
- - horizontalpodautoscalers
34
+ - " *"
89
35
verbs :
90
36
- get
91
37
- list
118
64
containers :
119
65
- name : seashell
120
66
image : puckpuck/seashell:0.1
121
- imagePullPolicy : IfNotPresent
122
67
env :
123
68
- name : NODE_NAME
124
69
valueFrom :
You can’t perform that action at this time.
0 commit comments