107 lines
2.4 KiB
YAML
107 lines
2.4 KiB
YAML
# Default values for metrics-server.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
image:
|
|
repository: k8s.gcr.io/metrics-server/metrics-server
|
|
# Overrides the image tag whose default is jetty-v{{ .Chart.AppVersion }}
|
|
tag: ""
|
|
pullPolicy: IfNotPresent
|
|
|
|
imagePullSecrets: []
|
|
# - registrySecretName
|
|
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
serviceAccount:
|
|
# Specifies whether a service account should be created
|
|
create: true
|
|
# Annotations to add to the service account
|
|
annotations: {}
|
|
# The name of the service account to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name: ""
|
|
|
|
rbac:
|
|
# Specifies whether RBAC resources should be created
|
|
create: true
|
|
pspEnabled: false
|
|
|
|
apiService:
|
|
# Specifies if the v1beta1.metrics.k8s.io API service should be created.
|
|
#
|
|
# You typically want this enabled! If you disable API service creation you have to
|
|
# manage it outside of this chart for e.g horizontal pod autoscaling to
|
|
# work with this release.
|
|
create: true
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext: {}
|
|
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["all"]
|
|
readOnlyRootFilesystem: true
|
|
runAsGroup: 10001
|
|
runAsNonRoot: true
|
|
runAsUser: 10001
|
|
|
|
priorityClassName: "system-cluster-critical"
|
|
|
|
hostNetwork:
|
|
# Specifies if metrics-server should be started in hostNetwork mode.
|
|
#
|
|
# You would require this enabled if you use alternate overlay networking for pods and
|
|
# API server unable to communicate with metrics-server. As an example, this is required
|
|
# if you use Weave network on EKS
|
|
enabled: false
|
|
|
|
replicas: 1
|
|
|
|
args: []
|
|
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: https
|
|
scheme: HTTPS
|
|
initialDelaySeconds: 20
|
|
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: https
|
|
scheme: HTTPS
|
|
initialDelaySeconds: 20
|
|
|
|
service:
|
|
annotations: {}
|
|
labels: {}
|
|
# Add these labels to have metrics-server show up in `kubectl cluster-info`
|
|
# kubernetes.io/cluster-service: "true"
|
|
# kubernetes.io/name: "Metrics-server"
|
|
port: 443
|
|
type: ClusterIP
|
|
|
|
resources: {}
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
podDisruptionBudget:
|
|
# https://kubernetes.io/docs/tasks/run-application/configure-pdb/
|
|
enabled: false
|
|
minAvailable:
|
|
maxUnavailable:
|
|
|
|
# If you want to deploy a sample app application to test metrics server
|
|
# Set the create value to true
|
|
sampleApp:
|
|
create: false
|