mirror of
https://github.com/bitnami/charts.git
synced 2026-03-10 15:07:49 +08:00
277 lines
8.2 KiB
YAML
277 lines
8.2 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.5.0-debian-10-r24
|
|
## 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:
|
|
|
|
## Deployment pod host aliases
|
|
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
|
##
|
|
hostAliases: []
|
|
|
|
## 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:
|
|
## Automount API credentials for a service account.
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server
|
|
##
|
|
automountServiceAccountToken: true
|
|
|
|
|
|
## API service parameters
|
|
##
|
|
apiService:
|
|
## Specifies whether the v1beta1.metrics.k8s.io API service should be created
|
|
## This is still necessary up to at least k8s version >= 1.21, but depends on vendors and cloud providers.
|
|
##
|
|
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
|
|
|
|
## Container command (using container default if not set)
|
|
command: ["metrics-server"]
|
|
|
|
## 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: {}
|
|
|
|
## Pod labels
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
##
|
|
podLabels: {}
|
|
|
|
## 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: {}
|
|
|
|
## Topology Spread Constraints. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints
|
|
##
|
|
topologySpreadConstraints: []
|
|
|
|
## 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
|
|
|
|
## Configure extra options for liveness and readiness probes
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
|
|
##
|
|
livenessProbe:
|
|
enabled: true
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /livez
|
|
port: https
|
|
scheme: HTTPS
|
|
periodSeconds: 10
|
|
readinessProbe:
|
|
enabled: true
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /readyz
|
|
port: https
|
|
scheme: HTTPS
|
|
periodSeconds: 10
|
|
|
|
## Custom Liveness probes for metrics-server
|
|
##
|
|
customLivenessProbe: {}
|
|
|
|
## Custom Readiness probes metrics-server
|
|
##
|
|
customReadinessProbe: {}
|
|
|
|
## Container security context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
|
##
|
|
containerSecurityContext:
|
|
enabled: true
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: true
|
|
# allowPrivilegeEscalation: false
|
|
# capabilities:
|
|
# drop: ["ALL"]
|
|
|
|
## Pod security context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
|
##
|
|
podSecurityContext:
|
|
enabled: false
|
|
|
|
## 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
|