mirror of
https://github.com/bitnami/charts.git
synced 2026-03-10 15:07:49 +08:00
* [metrics-server] Support PodDisruptionBudget * [metrics-server] Update README.md * [metrics-server] Bump chart version
207 lines
6.3 KiB
YAML
207 lines
6.3 KiB
YAML
## Global Docker image parameters
|
|
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
|
|
## Current available global Docker image parameters: imageRegistry and imagePullSecrets
|
|
##
|
|
# global:
|
|
# imageRegistry: myRegistryName
|
|
# imagePullSecrets:
|
|
# - myRegistryKeySecretName
|
|
|
|
## Bitnami Metrics Server image version
|
|
## ref: https://hub.docker.com/r/bitnami/metrics-server/tags/
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/metrics-server
|
|
tag: 0.4.1-debian-10-r0
|
|
## Specify a imagePullPolicy
|
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
##
|
|
pullPolicy: IfNotPresent
|
|
## Optionally specify an array of imagePullSecrets.
|
|
## Secrets must be manually created in the namespace.
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
##
|
|
# pullSecrets:
|
|
# - myRegistryKeySecretName
|
|
|
|
## String to partially override common.names.fullname template (will maintain the release name)
|
|
##
|
|
# nameOverride:
|
|
|
|
## String to fully override common.names.fullname template
|
|
##
|
|
# fullnameOverride:
|
|
|
|
## Number of Metrics Server replicas to deploy
|
|
##
|
|
replicas: 1
|
|
|
|
## Role Based Access
|
|
## ref: https://kubernetes.io/docs/admin/authorization/rbac/
|
|
##
|
|
rbac:
|
|
## Specifies whether RBAC rules should be created
|
|
##
|
|
create: true
|
|
|
|
## Pods Service Account
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
|
|
##
|
|
serviceAccount:
|
|
## Specifies whether a ServiceAccount should be created
|
|
##
|
|
create: true
|
|
## The name of the ServiceAccount to use.
|
|
## If not set and create is true, a name is generated using the common.names.fullname template
|
|
# name:
|
|
|
|
## API service parameters
|
|
##
|
|
apiService:
|
|
## Specifies whether the v1beta1.metrics.k8s.io API service should be created
|
|
## This should not be necessary in k8s version >= 1.8
|
|
##
|
|
create: false
|
|
|
|
## Specify the secure port where metrics-server will be running
|
|
##
|
|
securePort: 8443
|
|
|
|
# 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
|
|
hostNetwork: false
|
|
|
|
## Extra arguments to pass to the metrics-server
|
|
## ref: https://github.com/kubernetes-incubator/metrics-server/blob/master/README.md#flags
|
|
##
|
|
## extraArgs:
|
|
## kubelet-insecure-tls: true
|
|
## kubelet-preferred-address-types: InternalIP
|
|
##
|
|
extraArgs: {}
|
|
|
|
## Additional pod annotations for MariaDB Galera pods
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
##
|
|
podAnnotations: {}
|
|
|
|
## Priority class for pod scheduling
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
|
# priorityClassName: myPriorityClassName
|
|
|
|
## Pod affinity preset
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
## Allowed values: soft, hard
|
|
##
|
|
podAffinityPreset: ""
|
|
|
|
## Pod anti-affinity preset
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
## Allowed values: soft, hard
|
|
##
|
|
podAntiAffinityPreset: soft
|
|
|
|
## Pod disruption budget
|
|
# https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets
|
|
podDisruptionBudget:
|
|
enabled: false
|
|
minAvailable:
|
|
maxUnavailable:
|
|
|
|
## Node affinity preset
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
|
|
## Allowed values: soft, hard
|
|
##
|
|
nodeAffinityPreset:
|
|
## Node affinity type
|
|
## Allowed values: soft, hard
|
|
type: ""
|
|
## Node label key to match
|
|
## E.g.
|
|
## key: "kubernetes.io/e2e-az-name"
|
|
##
|
|
key: ""
|
|
## Node label values to match
|
|
## E.g.
|
|
## values:
|
|
## - e2e-az1
|
|
## - e2e-az2
|
|
##
|
|
values: []
|
|
|
|
## Affinity for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
|
##
|
|
affinity: {}
|
|
|
|
## Node labels for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
##
|
|
nodeSelector: {}
|
|
|
|
## Tolerations for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
##
|
|
tolerations: []
|
|
|
|
## Metrics Server K8s svc properties
|
|
##
|
|
service:
|
|
## Kubernetes service type and port number
|
|
##
|
|
type: ClusterIP
|
|
port: 443
|
|
|
|
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
##
|
|
# nodePort: 30001
|
|
|
|
## Set the LoadBalancer service type to internal only.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
# loadBalancerIP:
|
|
|
|
## Provide any additional annotations which may be required. This can be used to
|
|
## set the LoadBalancer service type to internal only.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
annotations: {}
|
|
|
|
## Provide any additional labels which may be required. This can be used to
|
|
## have metrics-server show up in `kubectl cluster-info`
|
|
## kubernetes.io/cluster-service: "true"
|
|
## kubernetes.io/name: "Metrics-server"
|
|
labels: {}
|
|
|
|
## Metric Server containers' resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
##
|
|
resources:
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
limits: {}
|
|
# cpu: 250m
|
|
# memory: 256Mi
|
|
requests: {}
|
|
# cpu: 250m
|
|
# memory: 256Mi
|
|
|
|
## Extra volumes to mount
|
|
## Example Use Case: mount an `emptyDir` to allow running with a `readOnlyRootFilesystem: true`
|
|
# extraVolumes:
|
|
# - name: tmpdir
|
|
# emptyDir: {}
|
|
#
|
|
# extraVolumeMounts:
|
|
# - name: tmpdir
|
|
# mountPath: /tmp
|