mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-10 20:29:18 +03:00
[feat] Update metrics server to v0.6.3 (#10026)
This commit is contained in:
committed by
GitHub
parent
8727f88e41
commit
a505a4c71f
@@ -23,8 +23,6 @@ spec:
|
||||
labels:
|
||||
app.kubernetes.io/name: metrics-server
|
||||
version: {{ metrics_server_version }}
|
||||
annotations:
|
||||
seccomp.security.alpha.kubernetes.io/pod: 'runtime/default'
|
||||
spec:
|
||||
priorityClassName: system-cluster-critical
|
||||
serviceAccountName: metrics-server
|
||||
@@ -70,10 +68,14 @@ spec:
|
||||
initialDelaySeconds: 40
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
runAsGroup: 10001
|
||||
runAsNonRoot: true
|
||||
runAsUser: 10001
|
||||
runAsUser: 1000
|
||||
allowPrivilegeEscalation: false
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
resources:
|
||||
limits:
|
||||
cpu: {{ metrics_server_limits_cpu }}
|
||||
|
||||
Reference in New Issue
Block a user