File tree Expand file tree Collapse file tree 2 files changed +98
-0
lines changed
cluster/manifests/skipper Expand file tree Collapse file tree 2 files changed +98
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : ServiceAccount
3
+ metadata :
4
+ name : pod-deletion-cost-controller
5
+ namespace : kube-system
6
+ labels :
7
+ application : skipper-ingress
8
+ component : pod-deletion-cost-controller
9
+ ---
10
+ apiVersion : rbac.authorization.k8s.io/v1
11
+ kind : ClusterRole
12
+ metadata :
13
+ name : pod-deletion-cost-controller
14
+ labels :
15
+ application : skipper-ingress
16
+ component : pod-deletion-cost-controller
17
+ rules :
18
+ - apiGroups :
19
+ - " "
20
+ resources :
21
+ - pods
22
+ verbs :
23
+ - get
24
+ - list
25
+ - watch
26
+ - update
27
+ ---
28
+ apiVersion : rbac.authorization.k8s.io/v1
29
+ kind : ClusterRoleBinding
30
+ metadata :
31
+ name : pod-deletion-cost-controller
32
+ labels :
33
+ application : skipper-ingress
34
+ component : pod-deletion-cost-controller
35
+ roleRef :
36
+ apiGroup : rbac.authorization.k8s.io
37
+ kind : ClusterRole
38
+ name : pod-deletion-cost-controller
39
+ subjects :
40
+ - kind : ServiceAccount
41
+ name : pod-deletion-cost-controller
42
+ namespace : kube-system
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ labels :
5
+ application : skipper-ingress
6
+ component : pod-deletion-cost-controller
7
+ name : pod-deletion-cost-controller
8
+ namespace : kube-system
9
+ spec :
10
+ replicas : 1
11
+ revisionHistoryLimit : 3
12
+ selector :
13
+ matchLabels :
14
+ deployment : pod-deletion-cost-controller
15
+ strategy :
16
+ type : Recreate
17
+ template :
18
+ metadata :
19
+ labels :
20
+ application : skipper-ingress
21
+ component : pod-deletion-cost-controller
22
+ deployment : pod-deletion-cost-controller
23
+ spec :
24
+ priorityClassName : " {{ .Cluster.ConfigItems.system_priority_class }}"
25
+ serviceAccountName : pod-deletion-cost-controller
26
+ containers :
27
+ - args :
28
+ - -address=:8080
29
+ - -log-level=INFO
30
+ image : container-registry.zalando.net/gwproxy/pod-deletion-cost-controller:main-18
31
+ name : pod-deletion-cost-controller
32
+ ports :
33
+ - containerPort : 8080
34
+ name : metrics
35
+ protocol : TCP
36
+ readinessProbe :
37
+ failureThreshold : 1
38
+ httpGet :
39
+ path : /healthz
40
+ port : 8080
41
+ scheme : HTTP
42
+ initialDelaySeconds : 1
43
+ periodSeconds : 10
44
+ successThreshold : 1
45
+ timeoutSeconds : 3
46
+ resources :
47
+ limits :
48
+ cpu : " 50m"
49
+ memory : 100Mi
50
+ requests :
51
+ cpu : " 50m"
52
+ memory : 100Mi
53
+ securityContext :
54
+ readOnlyRootFilesystem : true
55
+ runAsNonRoot : true
56
+ runAsUser : 5000
You can’t perform that action at this time.
0 commit comments