mirror of
https://github.com/bitnami/charts.git
synced 2026-03-13 06:47:24 +08:00
* [bitnami/jupyterhub] Release 10.0.5 updating components versions Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> --------- Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
1883 lines
82 KiB
YAML
1883 lines
82 KiB
YAML
# Copyright Broadcom, Inc. All Rights Reserved.
|
|
# SPDX-License-Identifier: APACHE-2.0
|
|
|
|
## @section Global parameters
|
|
## 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, imagePullSecrets and storageClass
|
|
|
|
## @param global.imageRegistry Global Docker image registry
|
|
## @param global.imagePullSecrets Global Docker registry secret names as an array
|
|
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
|
|
## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
|
|
##
|
|
global:
|
|
imageRegistry: ""
|
|
## E.g.
|
|
## imagePullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
imagePullSecrets: []
|
|
defaultStorageClass: ""
|
|
storageClass: ""
|
|
## Security parameters
|
|
##
|
|
security:
|
|
## @param global.security.allowInsecureImages Allows skipping image verification
|
|
allowInsecureImages: false
|
|
## Compatibility adaptations for Kubernetes platforms
|
|
##
|
|
compatibility:
|
|
## Compatibility adaptations for Openshift
|
|
##
|
|
openshift:
|
|
## @param global.compatibility.openshift.adaptSecurityContext Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)
|
|
##
|
|
adaptSecurityContext: auto
|
|
## @section Common parameters
|
|
##
|
|
|
|
## @param kubeVersion Override Kubernetes version
|
|
##
|
|
kubeVersion: ""
|
|
## @param nameOverride String to partially override common.names.fullname (will maintain the release name)
|
|
##
|
|
nameOverride: ""
|
|
## @param fullnameOverride String to fully override common.names.fullname
|
|
##
|
|
fullnameOverride: ""
|
|
## @param clusterDomain Kubernetes Cluster Domain
|
|
##
|
|
clusterDomain: cluster.local
|
|
## @param commonLabels Labels to add to all deployed objects
|
|
##
|
|
commonLabels: {}
|
|
## @param commonAnnotations Annotations to add to all deployed objects
|
|
##
|
|
commonAnnotations: {}
|
|
## @param extraDeploy Array of extra objects to deploy with the release
|
|
##
|
|
extraDeploy: []
|
|
## Enable diagnostic mode in the deployment(s)/daemonset(s)
|
|
##
|
|
diagnosticMode:
|
|
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
|
|
##
|
|
enabled: false
|
|
## @param diagnosticMode.command Command to override all containers in the the deployment(s)/daemonset(s)
|
|
##
|
|
command:
|
|
- sleep
|
|
## @param diagnosticMode.args Args to override all containers in the the deployment(s)/daemonset(s)
|
|
##
|
|
args:
|
|
- infinity
|
|
## @section Hub deployment parameters
|
|
hub:
|
|
## @param hub.image.registry [default: REGISTRY_NAME] Hub image registry
|
|
## @param hub.image.repository [default: REPOSITORY_NAME/jupyterhub] Hub image repository
|
|
## @skip hub.image.tag Hub image tag (immutable tags are recommended)
|
|
## @param hub.image.digest Hub image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
|
|
## @param hub.image.pullPolicy Hub image pull policy
|
|
## @param hub.image.pullSecrets Hub image pull secrets
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/jupyterhub
|
|
tag: 5.3.0-debian-12-r15
|
|
digest: ""
|
|
## Specify a imagePullPolicy
|
|
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-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/
|
|
## e.g:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## @param hub.baseUrl Hub base URL
|
|
##
|
|
baseUrl: /
|
|
## @param hub.adminUser Hub Dummy authenticator admin user
|
|
##
|
|
adminUser: user
|
|
## @param hub.password Hub Dummy authenticator password
|
|
##
|
|
password: ""
|
|
## @param hub.services JupyterHub services interacting with the JupyterHub API
|
|
## ref: https://z2jh.jupyter.org/en/latest/administrator/services.html
|
|
## e.g:
|
|
## services:
|
|
## service-admin:
|
|
## apiToken: XXXXXXXXXXXXXXXXXXX
|
|
## admin: true
|
|
services: {}
|
|
## Configuration file passed to the hub. This will be used by the jupyterhub_config.py file
|
|
## This configuration uses the values for the `singleuser` section. In the upstream chart the
|
|
## values.yaml file is mounted in the hub container. This is chart, we tried to separate both
|
|
## configuration so we could follow the Bitnami value standards
|
|
## @param hub.configuration [string] Hub configuration file (to be used by jupyterhub_config.py)
|
|
##
|
|
configuration: |
|
|
Chart:
|
|
Name: {{ .Chart.Name }}
|
|
Version: {{ .Chart.Version }}
|
|
Release:
|
|
Name: {{ .Release.Name }}
|
|
Namespace: {{ .Release.Namespace }}
|
|
Service: {{ .Release.Service }}
|
|
hub:
|
|
config:
|
|
JupyterHub:
|
|
admin_access: true
|
|
authenticator_class: shared-password
|
|
SharedPasswordAuthenticator:
|
|
admin_users:
|
|
- {{ .Values.hub.adminUser }}
|
|
{{- if .Values.hub.password }}
|
|
admin_password: {{ .Values.hub.password | quote }}
|
|
{{- else }}
|
|
admin_password: {{ randAlphaNum 32 | quote }}
|
|
{{- end }}
|
|
Authenticator:
|
|
admin_users:
|
|
- {{ .Values.hub.adminUser }}
|
|
allow_all: true
|
|
cookieSecret:
|
|
concurrentSpawnLimit: 64
|
|
consecutiveFailureLimit: 5
|
|
activeServerLimit:
|
|
db:
|
|
type: postgres
|
|
url: postgresql://{{ ternary .Values.postgresql.auth.username .Values.externalDatabase.user .Values.postgresql.enabled }}@{{ ternary (include "jupyterhub.postgresql.fullname" .) .Values.externalDatabase.host .Values.postgresql.enabled }}:{{ ternary "5432" .Values.externalDatabase.port .Values.postgresql.enabled }}/{{ ternary .Values.postgresql.auth.database .Values.externalDatabase.database .Values.postgresql.enabled }}
|
|
services: {{- include "common.tplvalues.render" ( dict "value" .Values.hub.services "context" $ ) | nindent 8 }}
|
|
allowNamedServers: false
|
|
namedServerLimitPerUser:
|
|
{{- if .Values.hub.metrics.serviceMonitor.enabled }}
|
|
authenticatePrometheus: {{ .Values.hub.metrics.authenticatePrometheus }}
|
|
{{- end }}
|
|
redirectToServer:
|
|
shutdownOnLogout:
|
|
singleuser:
|
|
podNameTemplate: {{ include "common.names.fullname" . }}-jupyter-{username}
|
|
{{- if .Values.singleuser.tolerations }}
|
|
extraTolerations: {{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.tolerations "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.singleuser.nodeSelector }}
|
|
nodeSelector: {{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.nodeSelector "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
networkTools:
|
|
image:
|
|
name: {{ include "jupyterhub.hubconfiguration.imageEntry" ( dict "imageRoot" .Values.auxiliaryImage "global" .Values.global) }}
|
|
tag: {{ .Values.auxiliaryImage.tag }}
|
|
digest: {{ .Values.auxiliaryImage.digest }}
|
|
pullPolicy: {{ .Values.auxiliaryImage.pullPolicy }}
|
|
pullSecrets: {{- include "jupyterhub.imagePullSecrets.list" . | nindent 8 }}
|
|
cloudMetadata:
|
|
blockWithIptables: false
|
|
events: true
|
|
extraAnnotations:
|
|
{{- if .Values.commonAnnotations }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.singleuser.podAnnotations }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.podAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
extraLabels:
|
|
hub.jupyter.org/network-access-hub: "true"
|
|
app.kubernetes.io/component: singleuser
|
|
{{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- if .Values.singleuser.podLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.podLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.singleuser.extraEnvVars }}
|
|
extraEnv: {{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.extraEnvVars "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.singleuser.lifecycleHooks }}
|
|
lifecycleHooks: {{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.lifecycleHooks "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.singleuser.initContainers }}
|
|
initContainers: {{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.initContainers "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.singleuser.sidecars }}
|
|
extraContainers: {{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.sidecars "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if not (or (eq .Values.global.compatibility.openshift.adaptSecurityContext "force") (and (eq .Values.global.compatibility.openshift.adaptSecurityContext "auto") (include "common.compatibility.isOpenshift" .))) }}
|
|
{{- if .Values.singleuser.containerSecurityContext.enabled }}
|
|
uid: {{ .Values.singleuser.containerSecurityContext.runAsUser }}
|
|
{{- end }}
|
|
{{- if .Values.singleuser.podSecurityContext.enabled }}
|
|
fsGid: {{ .Values.singleuser.podSecurityContext.fsGroup }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- if .Values.singleuser.containerSecurityContext.enabled }}
|
|
containerSecurityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.singleuser.containerSecurityContext "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.singleuser.podSecurityContext.enabled }}
|
|
podSecurityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.singleuser.podSecurityContext "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
serviceAccountName: {{ template "jupyterhub.singleuserServiceAccountName" . }}
|
|
automountServiceAccountToken: {{ .Values.singleuser.automountServiceAccountToken }}
|
|
storage:
|
|
{{- if .Values.singleuser.persistence.enabled }}
|
|
type: dynamic
|
|
{{- else }}
|
|
type: none
|
|
{{- end }}
|
|
extraLabels:
|
|
app.kubernetes.io/component: singleuser
|
|
{{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 6 }}
|
|
extraVolumes:
|
|
- name: empty-dir
|
|
emptyDir: {}
|
|
{{- if .Values.singleuser.extraVolumes }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.extraVolumes "context" $ ) | nindent 6 }}
|
|
{{- end }}
|
|
extraVolumeMounts:
|
|
- name: empty-dir
|
|
mountPath: /tmp
|
|
subPath: tmp-dir
|
|
{{- if .Values.singleuser.extraVolumeMounts }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.extraVolumeMounts "context" $ ) | nindent 6 }}
|
|
{{- end }}
|
|
capacity: {{ .Values.singleuser.persistence.size }}
|
|
homeMountPath: {{ .Values.singleuser.notebookDir }}
|
|
dynamic:
|
|
{{ include "jupyterhub.storage.class" (dict "persistence" .Values.singleuser.persistence "global" .Values.global) }}
|
|
pvcNameTemplate: {{ include "common.names.fullname" . }}-claim-{username}{servername}
|
|
volumeNameTemplate: {{ include "common.names.fullname" . }}-volume-{username}{servername}
|
|
storageAccessModes: {{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.persistence.accessModes "context" $ ) | nindent 8 }}
|
|
image:
|
|
name: {{ include "jupyterhub.hubconfiguration.imageEntry" ( dict "imageRoot" .Values.singleuser.image "global" .Values.global) }}
|
|
tag: {{ .Values.singleuser.image.tag }}
|
|
digest: {{ .Values.singleuser.image.digest }}
|
|
pullPolicy: {{ .Values.singleuser.image.pullPolicy }}
|
|
pullSecrets: {{- include "jupyterhub.imagePullSecrets.list" . | nindent 4 }}
|
|
startTimeout: 300
|
|
{{- include "jupyterhub.singleuser.resources" . | nindent 2 }}
|
|
{{- if .Values.singleuser.command }}
|
|
cmd: {{- include "common.tplvalues.render" (dict "value" .Values.singleuser.command "context" $) | nindent 4 }}
|
|
{{- else }}
|
|
cmd: jupyterhub-singleuser
|
|
{{- end }}
|
|
defaultUrl:
|
|
{{- if .Values.singleuser.profileList }}
|
|
profileList: {{- include "common.tplvalues.render" ( dict "value" .Values.singleuser.profileList "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
cull:
|
|
enabled: true
|
|
users: false
|
|
removeNamedServers: false
|
|
timeout: 3600
|
|
every: 600
|
|
concurrency: 10
|
|
maxAge: 0
|
|
## @param hub.existingConfigmap Configmap with Hub init scripts (replaces the scripts in templates/hub/configmap.yml)
|
|
##
|
|
existingConfigmap: ""
|
|
## @param hub.existingSecret Secret with hub configuration (replaces the hub.configuration value) and proxy token
|
|
##
|
|
existingSecret: ""
|
|
## @param hub.command Override Hub default command
|
|
##
|
|
command: []
|
|
## @param hub.args Override Hub default args
|
|
##
|
|
args: []
|
|
## @param hub.extraEnvVars Add extra environment variables to the Hub container
|
|
## Example:
|
|
## extraEnvVars:
|
|
## - name: FOO
|
|
## value: "bar"
|
|
##
|
|
extraEnvVars: []
|
|
## @param hub.extraEnvVarsCM Name of existing ConfigMap containing extra env vars
|
|
##
|
|
extraEnvVarsCM: ""
|
|
## @param hub.extraEnvVarsSecret Name of existing Secret containing extra env vars
|
|
##
|
|
extraEnvVarsSecret: ""
|
|
## @param hub.containerPorts.http Hub container port
|
|
##
|
|
containerPorts:
|
|
http: 8081
|
|
## Configure extra options for Hub containers' liveness, readiness and startup probes
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
|
|
## @param hub.startupProbe.enabled Enable startupProbe on Hub containers
|
|
## @param hub.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
|
|
## @param hub.startupProbe.periodSeconds Period seconds for startupProbe
|
|
## @param hub.startupProbe.timeoutSeconds Timeout seconds for startupProbe
|
|
## @param hub.startupProbe.failureThreshold Failure threshold for startupProbe
|
|
## @param hub.startupProbe.successThreshold Success threshold for startupProbe
|
|
##
|
|
startupProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
failureThreshold: 30
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
## @param hub.livenessProbe.enabled Enable livenessProbe on Hub containers
|
|
## @param hub.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
|
|
## @param hub.livenessProbe.periodSeconds Period seconds for livenessProbe
|
|
## @param hub.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
|
|
## @param hub.livenessProbe.failureThreshold Failure threshold for livenessProbe
|
|
## @param hub.livenessProbe.successThreshold Success threshold for livenessProbe
|
|
##
|
|
livenessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
failureThreshold: 30
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
## @param hub.readinessProbe.enabled Enable readinessProbe on Hub containers
|
|
## @param hub.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
|
|
## @param hub.readinessProbe.periodSeconds Period seconds for readinessProbe
|
|
## @param hub.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
|
|
## @param hub.readinessProbe.failureThreshold Failure threshold for readinessProbe
|
|
## @param hub.readinessProbe.successThreshold Success threshold for readinessProbe
|
|
##
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
failureThreshold: 30
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
## @param hub.customStartupProbe Override default startup probe
|
|
##
|
|
customStartupProbe: {}
|
|
## @param hub.customLivenessProbe Override default liveness probe
|
|
##
|
|
customLivenessProbe: {}
|
|
## @param hub.customReadinessProbe Override default readiness probe
|
|
##
|
|
customReadinessProbe: {}
|
|
## Hub resource requests and limits
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
|
## @param hub.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if hub.resources is set (hub.resources is recommended for production).
|
|
## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15
|
|
##
|
|
resourcesPreset: "small"
|
|
## @param hub.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
|
|
## Example:
|
|
## resources:
|
|
## requests:
|
|
## cpu: 2
|
|
## memory: 512Mi
|
|
## limits:
|
|
## cpu: 3
|
|
## memory: 1024Mi
|
|
##
|
|
resources: {}
|
|
## hub containers' Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
|
## @param hub.containerSecurityContext.enabled Enabled containers' Security Context
|
|
## @param hub.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
|
|
## @param hub.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
|
|
## @param hub.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
|
|
## @param hub.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
|
|
## @param hub.containerSecurityContext.privileged Set container's Security Context privileged
|
|
## @param hub.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
|
|
## @param hub.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
|
|
## @param hub.containerSecurityContext.capabilities.drop List of capabilities to be dropped
|
|
## @param hub.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
|
|
##
|
|
containerSecurityContext:
|
|
enabled: true
|
|
seLinuxOptions: {}
|
|
runAsUser: 1001
|
|
runAsGroup: 1001
|
|
runAsNonRoot: true
|
|
privileged: false
|
|
readOnlyRootFilesystem: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
seccompProfile:
|
|
type: "RuntimeDefault"
|
|
## hub pods' Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
|
## @param hub.podSecurityContext.enabled Enabled Hub pods' Security Context
|
|
## @param hub.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
|
|
## @param hub.podSecurityContext.sysctls Set kernel settings using the sysctl interface
|
|
## @param hub.podSecurityContext.supplementalGroups Set filesystem extra groups
|
|
## @param hub.podSecurityContext.fsGroup Set Hub pod's Security Context fsGroup
|
|
##
|
|
podSecurityContext:
|
|
enabled: true
|
|
fsGroupChangePolicy: Always
|
|
sysctls: []
|
|
supplementalGroups: []
|
|
fsGroup: 1001
|
|
## @param hub.lifecycleHooks LifecycleHooks for the Hub container to automate configuration before or after startup
|
|
##
|
|
lifecycleHooks: {}
|
|
## @param hub.automountServiceAccountToken Mount Service Account token in pod
|
|
##
|
|
automountServiceAccountToken: true
|
|
## @param hub.hostAliases Add deployment host aliases
|
|
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
|
##
|
|
hostAliases: []
|
|
## @param hub.podLabels Add extra labels to the Hub pods
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
##
|
|
podLabels: {}
|
|
## @param hub.podAnnotations Add extra annotations to the Hub pods
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
##
|
|
podAnnotations: {}
|
|
## Pod affinity preset
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
## Allowed values: soft, hard
|
|
## @param hub.podAffinityPreset Pod affinity preset. Ignored if `hub.affinity` is set. Allowed values: `soft` or `hard`
|
|
##
|
|
podAffinityPreset: ""
|
|
## Pod anti-affinity preset
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
## @param hub.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `hub.affinity` is set. Allowed values: `soft` or `hard`
|
|
##
|
|
podAntiAffinityPreset: soft
|
|
## Node affinity preset
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
|
|
## @param hub.nodeAffinityPreset.type Node affinity preset type. Ignored if `hub.affinity` is set. Allowed values: `soft` or `hard`
|
|
## @param hub.nodeAffinityPreset.key Node label key to match. Ignored if `hub.affinity` is set
|
|
## @param hub.nodeAffinityPreset.values Node label values to match. Ignored if `hub.affinity` is set
|
|
##
|
|
nodeAffinityPreset:
|
|
type: ""
|
|
## E.g.
|
|
## key: "kubernetes.io/e2e-az-name"
|
|
##
|
|
key: ""
|
|
## E.g.
|
|
## values:
|
|
## - e2e-az1
|
|
## - e2e-az2
|
|
##
|
|
values: []
|
|
## @param hub.affinity Affinity for pod assignment.
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
##
|
|
affinity: {}
|
|
## @param hub.nodeSelector Node labels for pod assignment.
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
|
|
##
|
|
nodeSelector: {}
|
|
## @param hub.tolerations Tolerations for pod assignment.
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
##
|
|
tolerations: []
|
|
## @param hub.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
|
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
|
|
##
|
|
topologySpreadConstraints: []
|
|
## @param hub.priorityClassName Priority Class Name
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
|
##
|
|
priorityClassName: ""
|
|
## @param hub.schedulerName Use an alternate scheduler, e.g. "stork".
|
|
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
|
##
|
|
schedulerName: ""
|
|
## @param hub.terminationGracePeriodSeconds Seconds Hub pod needs to terminate gracefully
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
|
|
##
|
|
terminationGracePeriodSeconds: ""
|
|
## @param hub.updateStrategy.type Update strategy - only really applicable for deployments with RWO PVs attached
|
|
## @param hub.updateStrategy.rollingUpdate Hub deployment rolling update configuration parameters
|
|
## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
|
|
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
|
|
## terminate the single previous pod, so that the new, incoming pod can attach to the PV
|
|
##
|
|
updateStrategy:
|
|
type: RollingUpdate
|
|
rollingUpdate: {}
|
|
## @param hub.extraVolumes Optionally specify extra list of additional volumes for Hub pods
|
|
##
|
|
extraVolumes: []
|
|
## @param hub.extraVolumeMounts Optionally specify extra list of additional volumeMounts for Hub container(s)
|
|
##
|
|
extraVolumeMounts: []
|
|
## @param hub.initContainers Add additional init containers to the Hub pods
|
|
## Example:
|
|
## initContainers:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
##
|
|
initContainers: []
|
|
## @param hub.sidecars Add additional sidecar containers to the Hub pod
|
|
## Example:
|
|
## sidecars:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
##
|
|
sidecars: []
|
|
## @param hub.pdb.create Deploy Hub PodDisruptionBudget
|
|
## @param hub.pdb.minAvailable Set minimum available hub instances
|
|
## @param hub.pdb.maxUnavailable Set maximum available hub instances
|
|
##
|
|
pdb:
|
|
create: true
|
|
minAvailable: ""
|
|
maxUnavailable: ""
|
|
## @section Hub RBAC parameters
|
|
|
|
## ServiceAccount parameters
|
|
##
|
|
serviceAccount:
|
|
## @param hub.serviceAccount.create Specifies whether a ServiceAccount should be created
|
|
##
|
|
create: true
|
|
## @param hub.serviceAccount.name Override Hub service account name
|
|
## If not set and create is true, a name is generated using the fullname template
|
|
##
|
|
name: ""
|
|
## @param hub.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
|
|
## Can be set to false if pods using this serviceAccount do not need to use K8s API
|
|
##
|
|
automountServiceAccountToken: false
|
|
## @param hub.serviceAccount.annotations Additional custom annotations for the ServiceAccount
|
|
##
|
|
annotations: {}
|
|
## RBAC resources
|
|
##
|
|
rbac:
|
|
## @param hub.rbac.create Specifies whether RBAC resources should be created
|
|
##
|
|
create: true
|
|
## @param hub.rbac.rules Custom RBAC rules to set
|
|
## e.g:
|
|
## rules:
|
|
## - apiGroups:
|
|
## - ""
|
|
## resources:
|
|
## - pods
|
|
## verbs:
|
|
## - get
|
|
## - list
|
|
##
|
|
rules: []
|
|
## @section Hub Traffic Exposure Parameters
|
|
|
|
## Network policy
|
|
##
|
|
networkPolicy:
|
|
## @param hub.networkPolicy.enabled Deploy Hub network policies
|
|
##
|
|
enabled: true
|
|
## @param hub.networkPolicy.allowExternal Don't require server label for connections
|
|
## The Policy model to apply. When set to false, only pods with the correct
|
|
## server label will have network access to the ports server is listening
|
|
## on. When true, server will accept connections from any source
|
|
## (with the correct destination port).
|
|
##
|
|
allowExternal: true
|
|
## @param hub.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
|
|
##
|
|
allowExternalEgress: true
|
|
## @param hub.networkPolicy.allowInterspaceAccess Allow communication between pods in different namespaces
|
|
##
|
|
allowInterspaceAccess: true
|
|
## @param hub.networkPolicy.extraIngress Add extra ingress rules to the NetworkPolicy
|
|
##
|
|
extraIngress: []
|
|
## @param hub.networkPolicy.extraEgress [string] Add extra ingress rules to the NetworkPolicy
|
|
##
|
|
extraEgress: []
|
|
## @param hub.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
|
|
## @param hub.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
|
|
##
|
|
ingressNSMatchLabels: {}
|
|
ingressNSPodMatchLabels: {}
|
|
service:
|
|
## @param hub.service.type Hub service type
|
|
##
|
|
type: ClusterIP
|
|
## @param hub.service.ports.http Hub service HTTP port
|
|
##
|
|
ports:
|
|
http: 8081
|
|
## @param hub.service.nodePorts.http NodePort for the HTTP endpoint
|
|
## NOTE: choose port between <30000-32767>
|
|
##
|
|
nodePorts:
|
|
http: ""
|
|
## @param hub.service.sessionAffinity Control where client requests go, to the same pod or round-robin
|
|
## Values: ClientIP or None
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
|
|
##
|
|
sessionAffinity: None
|
|
## @param hub.service.sessionAffinityConfig Additional settings for the sessionAffinity
|
|
## sessionAffinityConfig:
|
|
## clientIP:
|
|
## timeoutSeconds: 300
|
|
##
|
|
sessionAffinityConfig: {}
|
|
## @param hub.service.clusterIP Hub service Cluster IP
|
|
## e.g.:
|
|
## clusterIP: None
|
|
##
|
|
clusterIP: ""
|
|
## @param hub.service.loadBalancerIP Hub service Load Balancer IP
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
|
|
##
|
|
loadBalancerIP: ""
|
|
## @param hub.service.loadBalancerSourceRanges Hub service Load Balancer sources
|
|
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
|
## e.g:
|
|
## loadBalancerSourceRanges:
|
|
## - 10.10.10.0/24
|
|
##
|
|
loadBalancerSourceRanges: []
|
|
## @param hub.service.externalTrafficPolicy Hub service external traffic policy
|
|
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
|
|
##
|
|
externalTrafficPolicy: Cluster
|
|
## @param hub.service.annotations Additional custom annotations for Hub service
|
|
##
|
|
annotations: {}
|
|
## @param hub.service.extraPorts Extra port to expose on Hub service
|
|
##
|
|
extraPorts: []
|
|
## @section Hub Metrics parameters
|
|
##
|
|
metrics:
|
|
## @param hub.metrics.authenticatePrometheus Use authentication for Prometheus
|
|
## To allow public access without authentication for prometheus metrics set environment as follows.
|
|
##
|
|
authenticatePrometheus: false
|
|
## Prometheus Operator ServiceMonitor configuration
|
|
##
|
|
serviceMonitor:
|
|
## @param hub.metrics.serviceMonitor.enabled If the operator is installed in your cluster, set to true to create a Service Monitor Entry
|
|
##
|
|
enabled: false
|
|
## @param hub.metrics.serviceMonitor.namespace Namespace which Prometheus is running in
|
|
##
|
|
namespace: ""
|
|
## @param hub.metrics.serviceMonitor.path HTTP path to scrape for metrics
|
|
##
|
|
path: /hub/metrics
|
|
## @param hub.metrics.serviceMonitor.interval Interval at which metrics should be scraped
|
|
##
|
|
interval: 30s
|
|
## @param hub.metrics.serviceMonitor.scrapeTimeout Specify the timeout after which the scrape is ended
|
|
## e.g:
|
|
## scrapeTimeout: 30s
|
|
##
|
|
scrapeTimeout: ""
|
|
## @param hub.metrics.serviceMonitor.labels Additional labels that can be used so ServiceMonitor will be discovered by Prometheus
|
|
##
|
|
labels: {}
|
|
## @param hub.metrics.serviceMonitor.selector Prometheus instance selector labels
|
|
## ref: https://github.com/bitnami/charts/tree/main/bitnami/prometheus-operator#prometheus-configuration
|
|
##
|
|
selector: {}
|
|
## @param hub.metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
|
|
##
|
|
relabelings: []
|
|
## @param hub.metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
|
|
##
|
|
metricRelabelings: []
|
|
## @param hub.metrics.serviceMonitor.honorLabels Specify honorLabels parameter to add the scrape endpoint
|
|
##
|
|
honorLabels: false
|
|
## @param hub.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
|
|
##
|
|
jobLabel: ""
|
|
## @section Proxy deployment parameters
|
|
proxy:
|
|
## @param proxy.image.registry [default: REGISTRY_NAME] Proxy image registry
|
|
## @param proxy.image.repository [default: REPOSITORY_NAME/configurable-http-proxy] Proxy image repository
|
|
## @skip proxy.image.tag Proxy image tag (immutable tags are recommended)
|
|
## @param proxy.image.digest Proxy image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
|
|
## @param proxy.image.pullPolicy Proxy image pull policy
|
|
## @param proxy.image.pullSecrets Proxy image pull secrets
|
|
## @param proxy.image.debug Activate verbose output
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/configurable-http-proxy
|
|
tag: 5.0.1-debian-12-r21
|
|
digest: ""
|
|
## Specify a imagePullPolicy
|
|
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-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/
|
|
## e.g:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## Enable debug mode
|
|
##
|
|
debug: false
|
|
## @param proxy.secretToken Proxy secret token (used for communication with the Hub)
|
|
##
|
|
secretToken: ""
|
|
## @param proxy.command Override Proxy default command
|
|
##
|
|
command: []
|
|
## @param proxy.args Override Proxy default args
|
|
##
|
|
args: []
|
|
## @param proxy.extraEnvVars Add extra environment variables to the Proxy container
|
|
## Example:
|
|
## extraEnvVars:
|
|
## - name: FOO
|
|
## value: "bar"
|
|
##
|
|
extraEnvVars: []
|
|
## @param proxy.extraEnvVarsCM Name of existing ConfigMap containing extra env vars
|
|
##
|
|
extraEnvVarsCM: ""
|
|
## @param proxy.extraEnvVarsSecret Name of existing Secret containing extra env vars
|
|
##
|
|
extraEnvVarsSecret: ""
|
|
## Container ports
|
|
## @param proxy.containerPort.api Proxy api container port
|
|
## @param proxy.containerPort.metrics Proxy metrics container port
|
|
## @param proxy.containerPort.http Proxy http container port
|
|
##
|
|
containerPort:
|
|
api: 8001
|
|
metrics: 8002
|
|
http: 8000
|
|
## Configure extra options for Proxy containers' liveness, readiness and startup probes
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
|
|
## @param proxy.startupProbe.enabled Enable startupProbe on Proxy containers
|
|
## @param proxy.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
|
|
## @param proxy.startupProbe.periodSeconds Period seconds for startupProbe
|
|
## @param proxy.startupProbe.timeoutSeconds Timeout seconds for startupProbe
|
|
## @param proxy.startupProbe.failureThreshold Failure threshold for startupProbe
|
|
## @param proxy.startupProbe.successThreshold Success threshold for startupProbe
|
|
##
|
|
startupProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
failureThreshold: 30
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
## @param proxy.livenessProbe.enabled Enable livenessProbe on Proxy containers
|
|
## @param proxy.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
|
|
## @param proxy.livenessProbe.periodSeconds Period seconds for livenessProbe
|
|
## @param proxy.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
|
|
## @param proxy.livenessProbe.failureThreshold Failure threshold for livenessProbe
|
|
## @param proxy.livenessProbe.successThreshold Success threshold for livenessProbe
|
|
##
|
|
livenessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
failureThreshold: 30
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
## @param proxy.readinessProbe.enabled Enable readinessProbe on Proxy containers
|
|
## @param proxy.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
|
|
## @param proxy.readinessProbe.periodSeconds Period seconds for readinessProbe
|
|
## @param proxy.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
|
|
## @param proxy.readinessProbe.failureThreshold Failure threshold for readinessProbe
|
|
## @param proxy.readinessProbe.successThreshold Success threshold for readinessProbe
|
|
##
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
failureThreshold: 30
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
## @param proxy.customStartupProbe Override default startup probe
|
|
##
|
|
customStartupProbe: {}
|
|
## @param proxy.customLivenessProbe Override default liveness probe
|
|
##
|
|
customLivenessProbe: {}
|
|
## @param proxy.customReadinessProbe Override default readiness probe
|
|
##
|
|
customReadinessProbe: {}
|
|
## Proxy resource requests and limits
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
|
## @param proxy.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if proxy.resources is set (proxy.resources is recommended for production).
|
|
## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15
|
|
##
|
|
resourcesPreset: "nano"
|
|
## @param proxy.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
|
|
## Example:
|
|
## resources:
|
|
## requests:
|
|
## cpu: 2
|
|
## memory: 512Mi
|
|
## limits:
|
|
## cpu: 3
|
|
## memory: 1024Mi
|
|
##
|
|
resources: {}
|
|
## Proxy containers' Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
|
## @param proxy.containerSecurityContext.enabled Enabled containers' Security Context
|
|
## @param proxy.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
|
|
## @param proxy.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
|
|
## @param proxy.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
|
|
## @param proxy.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
|
|
## @param proxy.containerSecurityContext.privileged Set container's Security Context privileged
|
|
## @param proxy.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
|
|
## @param proxy.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
|
|
## @param proxy.containerSecurityContext.capabilities.drop List of capabilities to be dropped
|
|
## @param proxy.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
|
|
##
|
|
containerSecurityContext:
|
|
enabled: true
|
|
seLinuxOptions: {}
|
|
runAsUser: 1001
|
|
runAsGroup: 1001
|
|
runAsNonRoot: true
|
|
privileged: false
|
|
readOnlyRootFilesystem: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
seccompProfile:
|
|
type: "RuntimeDefault"
|
|
## Proxy pods' Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
|
## @param proxy.podSecurityContext.enabled Enabled Proxy pods' Security Context
|
|
## @param proxy.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
|
|
## @param proxy.podSecurityContext.sysctls Set kernel settings using the sysctl interface
|
|
## @param proxy.podSecurityContext.supplementalGroups Set filesystem extra groups
|
|
## @param proxy.podSecurityContext.fsGroup Set Proxy pod's Security Context fsGroup
|
|
##
|
|
podSecurityContext:
|
|
enabled: true
|
|
fsGroupChangePolicy: Always
|
|
sysctls: []
|
|
supplementalGroups: []
|
|
fsGroup: 1001
|
|
## @param proxy.lifecycleHooks Add lifecycle hooks to the Proxy deployment
|
|
##
|
|
lifecycleHooks: {}
|
|
## Deployment pod host aliases
|
|
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
|
## @param proxy.automountServiceAccountToken Mount Service Account token in pod
|
|
##
|
|
automountServiceAccountToken: false
|
|
## @param proxy.hostAliases Add deployment host aliases
|
|
##
|
|
hostAliases: []
|
|
## @param proxy.podLabels Add extra labels to the Proxy pods
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
##
|
|
podLabels: {}
|
|
## @param proxy.podAnnotations Add extra annotations to the Proxy pods
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
##
|
|
podAnnotations: {}
|
|
## @param proxy.podAffinityPreset Pod affinity preset. Ignored if `proxy.affinity` is set. Allowed values: `soft` or `hard`
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAffinityPreset: ""
|
|
## @param proxy.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `proxy.affinity` is set. Allowed values: `soft` or `hard`
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAntiAffinityPreset: soft
|
|
## Node affinity preset
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
|
|
## Allowed values: soft, hard
|
|
## @param proxy.nodeAffinityPreset.type Node affinity preset type. Ignored if `proxy.affinity` is set. Allowed values: `soft` or `hard`
|
|
## @param proxy.nodeAffinityPreset.key Node label key to match. Ignored if `proxy.affinity` is set
|
|
## @param proxy.nodeAffinityPreset.values Node label values to match. Ignored if `proxy.affinity` is set
|
|
##
|
|
nodeAffinityPreset:
|
|
type: ""
|
|
## E.g.
|
|
## key: "kubernetes.io/e2e-az-name"
|
|
##
|
|
key: ""
|
|
## E.g.
|
|
## values:
|
|
## - e2e-az1
|
|
## - e2e-az2
|
|
##
|
|
values: []
|
|
## @param proxy.affinity Affinity for pod assignment. Evaluated as a template.
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
##
|
|
affinity: {}
|
|
## @param proxy.nodeSelector Node labels for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
|
|
##
|
|
nodeSelector: {}
|
|
## @param proxy.tolerations Tolerations for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
##
|
|
tolerations: []
|
|
## @param proxy.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
|
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
|
|
##
|
|
topologySpreadConstraints: []
|
|
## @param proxy.priorityClassName Priority Class Name
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
|
##
|
|
priorityClassName: ""
|
|
## @param proxy.schedulerName Use an alternate scheduler, e.g. "stork".
|
|
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
|
##
|
|
schedulerName: ""
|
|
## @param proxy.terminationGracePeriodSeconds Seconds Proxy pod needs to terminate gracefully
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
|
|
##
|
|
terminationGracePeriodSeconds: ""
|
|
## @param proxy.updateStrategy.type Update strategy - only really applicable for deployments with RWO PVs attached
|
|
## @param proxy.updateStrategy.rollingUpdate Proxy deployment rolling update configuration parameters
|
|
## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
|
|
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
|
|
## terminate the single previous pod, so that the new, incoming pod can attach to the PV
|
|
##
|
|
updateStrategy:
|
|
type: RollingUpdate
|
|
rollingUpdate: {}
|
|
## @param proxy.extraVolumes Optionally specify extra list of additional volumes for Proxy pods
|
|
##
|
|
extraVolumes: []
|
|
## @param proxy.extraVolumeMounts Optionally specify extra list of additional volumeMounts for Proxy container(s)
|
|
##
|
|
extraVolumeMounts: []
|
|
## @param proxy.initContainers Add additional init containers to the Proxy pods
|
|
## Example:
|
|
## initContainers:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
##
|
|
initContainers: []
|
|
## @param proxy.sidecars Add additional sidecar containers to the Proxy pod
|
|
## Example:
|
|
## sidecars:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
##
|
|
sidecars: []
|
|
## PodDisruptionBudget settings
|
|
##
|
|
pdb:
|
|
## @param proxy.pdb.create Deploy Proxy PodDisruptionBudget
|
|
##
|
|
create: true
|
|
## @param proxy.pdb.minAvailable Set minimum available proxy instances
|
|
##
|
|
minAvailable: ""
|
|
## @param proxy.pdb.maxUnavailable Set maximum available proxy instances
|
|
##
|
|
maxUnavailable: ""
|
|
## @section Proxy RBAC Parameters
|
|
|
|
## ServiceAccount parameters
|
|
##
|
|
serviceAccount:
|
|
## @param proxy.serviceAccount.create Specifies whether a ServiceAccount should be created
|
|
##
|
|
create: true
|
|
## @param proxy.serviceAccount.name Override Hub service account name
|
|
## If not set and create is true, a name is generated using the fullname template
|
|
##
|
|
name: ""
|
|
## @param proxy.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
|
|
## Can be set to false if pods using this serviceAccount do not need to use K8s API
|
|
##
|
|
automountServiceAccountToken: false
|
|
## @param proxy.serviceAccount.annotations Additional custom annotations for the ServiceAccount
|
|
##
|
|
annotations: {}
|
|
## @section Proxy Traffic Exposure Parameters
|
|
##
|
|
|
|
## Network policy
|
|
##
|
|
networkPolicy:
|
|
## @param proxy.networkPolicy.enabled Deploy Proxy network policies
|
|
##
|
|
enabled: true
|
|
## @param proxy.networkPolicy.allowExternal Don't require server label for connections
|
|
## The Policy model to apply. When set to false, only pods with the correct
|
|
## server label will have network access to the ports server is listening
|
|
## on. When true, server will accept connections from any source
|
|
## (with the correct destination port).
|
|
##
|
|
allowExternal: true
|
|
## @param proxy.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
|
|
##
|
|
allowExternalEgress: true
|
|
## @param proxy.networkPolicy.allowInterspaceAccess Allow communication between pods in different namespaces
|
|
##
|
|
allowInterspaceAccess: true
|
|
## @param proxy.networkPolicy.extraIngress Add extra ingress rules to the NetworkPolicy
|
|
##
|
|
extraIngress: []
|
|
## @param proxy.networkPolicy.extraEgress Add extra egress rules to the NetworkPolicy
|
|
##
|
|
extraEgress: []
|
|
## @param proxy.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
|
|
## @param proxy.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
|
|
##
|
|
ingressNSMatchLabels: {}
|
|
ingressNSPodMatchLabels: {}
|
|
service:
|
|
api:
|
|
## @param proxy.service.api.type API service type
|
|
##
|
|
type: ClusterIP
|
|
## @param proxy.service.api.ports.http API service HTTP port
|
|
##
|
|
ports:
|
|
http: 8001
|
|
## @param proxy.service.api.nodePorts.http NodePort for the HTTP endpoint
|
|
## NOTE: choose port between <30000-32767>
|
|
##
|
|
nodePorts:
|
|
http: ""
|
|
## @param proxy.service.api.sessionAffinity Control where client requests go, to the same pod or round-robin
|
|
## Values: ClientIP or None
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
|
|
##
|
|
sessionAffinity: None
|
|
## @param proxy.service.api.sessionAffinityConfig Additional settings for the sessionAffinity
|
|
## sessionAffinityConfig:
|
|
## clientIP:
|
|
## timeoutSeconds: 300
|
|
##
|
|
sessionAffinityConfig: {}
|
|
## @param proxy.service.api.clusterIP Hub service Cluster IP
|
|
## e.g.:
|
|
## clusterIP: None
|
|
##
|
|
clusterIP: ""
|
|
## @param proxy.service.api.loadBalancerIP Hub service Load Balancer IP
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
|
|
##
|
|
loadBalancerIP: ""
|
|
## @param proxy.service.api.loadBalancerSourceRanges Hub service Load Balancer sources
|
|
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
|
## e.g:
|
|
## loadBalancerSourceRanges:
|
|
## - 10.10.10.0/24
|
|
##
|
|
loadBalancerSourceRanges: []
|
|
## @param proxy.service.api.externalTrafficPolicy Hub service external traffic policy
|
|
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
|
|
##
|
|
externalTrafficPolicy: Cluster
|
|
## @param proxy.service.api.annotations Additional custom annotations for Hub service
|
|
##
|
|
annotations: {}
|
|
## @param proxy.service.api.extraPorts Extra port to expose on Hub service
|
|
##
|
|
extraPorts: []
|
|
metrics:
|
|
## @param proxy.service.metrics.type Metrics service type
|
|
##
|
|
type: ClusterIP
|
|
## @param proxy.service.metrics.ports.http Metrics service port
|
|
##
|
|
ports:
|
|
http: 8002
|
|
## @param proxy.service.metrics.nodePorts.http NodePort for the HTTP endpoint
|
|
## NOTE: choose port between <30000-32767>
|
|
##
|
|
nodePorts:
|
|
http: ""
|
|
## @param proxy.service.metrics.sessionAffinity Control where client requests go, to the same pod or round-robin
|
|
## Values: ClientIP or None
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
|
|
##
|
|
sessionAffinity: None
|
|
## @param proxy.service.metrics.sessionAffinityConfig Additional settings for the sessionAffinity
|
|
## sessionAffinityConfig:
|
|
## clientIP:
|
|
## timeoutSeconds: 300
|
|
##
|
|
sessionAffinityConfig: {}
|
|
## @param proxy.service.metrics.clusterIP Hub service Cluster IP
|
|
## e.g.:
|
|
## clusterIP: None
|
|
##
|
|
clusterIP: ""
|
|
## @param proxy.service.metrics.loadBalancerIP Hub service Load Balancer IP
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
|
|
##
|
|
loadBalancerIP: ""
|
|
## @param proxy.service.metrics.loadBalancerSourceRanges Hub service Load Balancer sources
|
|
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
|
## e.g:
|
|
## loadBalancerSourceRanges:
|
|
## - 10.10.10.0/24
|
|
##
|
|
loadBalancerSourceRanges: []
|
|
## @param proxy.service.metrics.externalTrafficPolicy Hub service external traffic policy
|
|
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
|
|
##
|
|
externalTrafficPolicy: Cluster
|
|
## @param proxy.service.metrics.annotations Additional custom annotations for Hub service
|
|
##
|
|
annotations: {}
|
|
## @param proxy.service.metrics.extraPorts Extra port to expose on Hub service
|
|
##
|
|
extraPorts: []
|
|
public:
|
|
## @param proxy.service.public.type Public service type
|
|
##
|
|
type: LoadBalancer
|
|
# HTTP Port
|
|
## @param proxy.service.public.ports.http Public service HTTP port
|
|
##
|
|
ports:
|
|
http: 80
|
|
## @param proxy.service.public.nodePorts.http NodePort for the HTTP endpoint
|
|
## NOTE: choose port between <30000-32767>
|
|
##
|
|
nodePorts:
|
|
http: ""
|
|
## @param proxy.service.public.sessionAffinity Control where client requests go, to the same pod or round-robin
|
|
## Values: ClientIP or None
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
|
|
##
|
|
sessionAffinity: None
|
|
## @param proxy.service.public.sessionAffinityConfig Additional settings for the sessionAffinity
|
|
## sessionAffinityConfig:
|
|
## clientIP:
|
|
## timeoutSeconds: 300
|
|
##
|
|
sessionAffinityConfig: {}
|
|
## @param proxy.service.public.clusterIP Hub service Cluster IP
|
|
## e.g.:
|
|
## clusterIP: None
|
|
##
|
|
clusterIP: ""
|
|
## @param proxy.service.public.loadBalancerIP Hub service Load Balancer IP
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
|
|
##
|
|
loadBalancerIP: ""
|
|
## @param proxy.service.public.loadBalancerSourceRanges Hub service Load Balancer sources
|
|
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
|
## e.g:
|
|
## loadBalancerSourceRanges:
|
|
## - 10.10.10.0/24
|
|
##
|
|
loadBalancerSourceRanges: []
|
|
## @param proxy.service.public.externalTrafficPolicy Hub service external traffic policy
|
|
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
|
|
##
|
|
externalTrafficPolicy: Cluster
|
|
## @param proxy.service.public.annotations Additional custom annotations for Hub service
|
|
##
|
|
annotations: {}
|
|
## @param proxy.service.public.extraPorts Extra port to expose on Hub service
|
|
##
|
|
extraPorts: []
|
|
## Configure the ingress resource that allows you to access to your JupyterHub instance
|
|
##
|
|
ingress:
|
|
## @param proxy.ingress.enabled Set to true to enable ingress record generation
|
|
##
|
|
enabled: false
|
|
## @param proxy.ingress.apiVersion Force Ingress API version (automatically detected if not set)
|
|
##
|
|
apiVersion: ""
|
|
## @param proxy.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
|
|
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster.
|
|
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
|
|
##
|
|
ingressClassName: ""
|
|
## @param proxy.ingress.pathType Ingress path type
|
|
##
|
|
pathType: ImplementationSpecific
|
|
## @param proxy.ingress.hostname Set ingress rule hostname
|
|
##
|
|
hostname: jupyterhub.local
|
|
## @param proxy.ingress.path Path to the Proxy pod
|
|
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
|
|
##
|
|
path: /
|
|
## @param proxy.ingress.annotations [object] Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
|
|
## Use this parameter to set the required annotations for cert-manager, see
|
|
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
|
|
## e.g:
|
|
## annotations:
|
|
## kubernetes.io/ingress.class: nginx
|
|
## cert-manager.io/cluster-issuer: cluster-issuer-name
|
|
##
|
|
annotations: {}
|
|
## @param proxy.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
|
|
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
|
|
## You can:
|
|
## - Use the `ingress.secrets` parameter to create this TLS secret
|
|
## - Rely on cert-manager to create it by setting the corresponding annotations
|
|
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
|
|
##
|
|
tls: false
|
|
## @param proxy.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
|
|
##
|
|
selfSigned: false
|
|
## @param proxy.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
|
|
## e.g:
|
|
## extraHosts:
|
|
## - name: jupyterhub.local
|
|
## path: /
|
|
##
|
|
extraHosts: []
|
|
## @param proxy.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
|
|
## e.g:
|
|
## extraPaths:
|
|
## - path: /*
|
|
## backend:
|
|
## serviceName: ssl-redirect
|
|
## servicePort: use-annotation
|
|
##
|
|
extraPaths: []
|
|
## @param proxy.ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
|
|
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
|
|
## extraTls:
|
|
## - hosts:
|
|
## - jupyterhub.local
|
|
## secretName: jupyterhub.local-tls
|
|
##
|
|
extraTls: []
|
|
## @param proxy.ingress.secrets Custom TLS certificates as secrets
|
|
## NOTE: 'key' and 'certificate' are expected in PEM format
|
|
## NOTE: 'name' should line up with a 'secretName' set further up
|
|
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
|
|
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
|
|
## It is also possible to create and manage the certificates outside of this helm chart
|
|
## Please see README.md for more information
|
|
## e.g:
|
|
## secrets:
|
|
## - name: jupyterhub.local-tls
|
|
## key: |-
|
|
## -----BEGIN RSA PRIVATE KEY-----
|
|
## ...
|
|
## -----END RSA PRIVATE KEY-----
|
|
## certificate: |-
|
|
## -----BEGIN CERTIFICATE-----
|
|
## ...
|
|
## -----END CERTIFICATE-----
|
|
##
|
|
secrets: []
|
|
## @param proxy.ingress.extraRules Additional rules to be covered with this ingress record
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
|
|
## e.g:
|
|
## extraRules:
|
|
## - host: example.local
|
|
## http:
|
|
## path: /
|
|
## backend:
|
|
## service:
|
|
## name: example-svc
|
|
## port:
|
|
## name: http
|
|
##
|
|
extraRules: []
|
|
## @section Proxy Metrics parameters
|
|
metrics:
|
|
## Prometheus Operator ServiceMonitor configuration
|
|
##
|
|
serviceMonitor:
|
|
## @param proxy.metrics.serviceMonitor.enabled If the operator is installed in your cluster, set to true to create a Service Monitor Entry
|
|
##
|
|
enabled: false
|
|
## @param proxy.metrics.serviceMonitor.namespace Namespace which Prometheus is running in
|
|
##
|
|
namespace: ""
|
|
## @param proxy.metrics.serviceMonitor.path HTTP path to scrape for metrics
|
|
##
|
|
path: /metrics
|
|
## @param proxy.metrics.serviceMonitor.interval Interval at which metrics should be scraped
|
|
##
|
|
interval: 30s
|
|
## @param proxy.metrics.serviceMonitor.scrapeTimeout Specify the timeout after which the scrape is ended
|
|
## e.g:
|
|
## scrapeTimeout: 30s
|
|
##
|
|
scrapeTimeout: ""
|
|
## @param proxy.metrics.serviceMonitor.labels Additional labels that can be used so ServiceMonitor will be discovered by Prometheus
|
|
##
|
|
labels: {}
|
|
## @param proxy.metrics.serviceMonitor.selector Prometheus instance selector labels
|
|
## ref: https://github.com/bitnami/charts/tree/main/bitnami/prometheus-operator#prometheus-configuration
|
|
##
|
|
selector: {}
|
|
## @param proxy.metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
|
|
##
|
|
relabelings: []
|
|
## @param proxy.metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
|
|
##
|
|
metricRelabelings: []
|
|
## @param proxy.metrics.serviceMonitor.honorLabels Specify honorLabels parameter to add the scrape endpoint
|
|
##
|
|
honorLabels: false
|
|
## @param proxy.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
|
|
##
|
|
jobLabel: ""
|
|
## @section Image puller deployment parameters
|
|
##
|
|
|
|
## Image Puller deployment parameters
|
|
##
|
|
imagePuller:
|
|
## @param imagePuller.enabled Deploy ImagePuller daemonset
|
|
##
|
|
enabled: true
|
|
## @param imagePuller.command Override ImagePuller default command
|
|
##
|
|
command: []
|
|
## @param imagePuller.args Override ImagePuller default args
|
|
##
|
|
args: []
|
|
## @param imagePuller.extraEnvVars Add extra environment variables to the ImagePuller container
|
|
## Example:
|
|
## extraEnvVars:
|
|
## - name: FOO
|
|
## value: "bar"
|
|
##
|
|
extraEnvVars: []
|
|
## @param imagePuller.extraEnvVarsCM Name of existing ConfigMap containing extra env vars
|
|
##
|
|
extraEnvVarsCM: ""
|
|
## @param imagePuller.extraEnvVarsSecret Name of existing Secret containing extra env vars
|
|
##
|
|
extraEnvVarsSecret: ""
|
|
## @param imagePuller.customStartupProbe Override default startup probe
|
|
##
|
|
customStartupProbe: {}
|
|
## @param imagePuller.customLivenessProbe Override default liveness probe
|
|
##
|
|
customLivenessProbe: {}
|
|
## @param imagePuller.customReadinessProbe Override default readiness probe
|
|
##
|
|
customReadinessProbe: {}
|
|
## ImagePuller resource requests and limits
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
|
## @param imagePuller.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if imagePuller.resources is set (imagePuller.resources is recommended for production).
|
|
## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15
|
|
##
|
|
resourcesPreset: "nano"
|
|
## @param imagePuller.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
|
|
## Example:
|
|
## resources:
|
|
## requests:
|
|
## cpu: 2
|
|
## memory: 512Mi
|
|
## limits:
|
|
## cpu: 3
|
|
## memory: 1024Mi
|
|
##
|
|
resources: {}
|
|
## ImagePuller containers' Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
|
## @param imagePuller.containerSecurityContext.enabled Enabled containers' Security Context
|
|
## @param imagePuller.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
|
|
## @param imagePuller.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
|
|
## @param imagePuller.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
|
|
## @param imagePuller.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
|
|
## @param imagePuller.containerSecurityContext.privileged Set container's Security Context privileged
|
|
## @param imagePuller.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
|
|
## @param imagePuller.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
|
|
## @param imagePuller.containerSecurityContext.capabilities.drop List of capabilities to be dropped
|
|
## @param imagePuller.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
|
|
##
|
|
containerSecurityContext:
|
|
enabled: true
|
|
seLinuxOptions: {}
|
|
runAsUser: 1001
|
|
runAsGroup: 1001
|
|
runAsNonRoot: true
|
|
privileged: false
|
|
readOnlyRootFilesystem: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
seccompProfile:
|
|
type: "RuntimeDefault"
|
|
## ImagePuller pods' Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
|
## @param imagePuller.podSecurityContext.enabled Enabled ImagePuller pods' Security Context
|
|
## @param imagePuller.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
|
|
## @param imagePuller.podSecurityContext.sysctls Set kernel settings using the sysctl interface
|
|
## @param imagePuller.podSecurityContext.supplementalGroups Set filesystem extra groups
|
|
## @param imagePuller.podSecurityContext.fsGroup Set ImagePuller pod's Security Context fsGroup
|
|
##
|
|
podSecurityContext:
|
|
enabled: true
|
|
fsGroupChangePolicy: Always
|
|
sysctls: []
|
|
supplementalGroups: []
|
|
fsGroup: 1001
|
|
## @param imagePuller.lifecycleHooks Add lifecycle hooks to the ImagePuller deployment
|
|
##
|
|
lifecycleHooks: {}
|
|
## @param imagePuller.hostAliases Add deployment host aliases
|
|
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
|
##
|
|
hostAliases: []
|
|
## @param imagePuller.podLabels Pod extra labels
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
##
|
|
podLabels: {}
|
|
## @param imagePuller.podAnnotations Annotations for ImagePuller pods
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
##
|
|
podAnnotations: {}
|
|
## @param imagePuller.podAffinityPreset Pod affinity preset. Ignored if `imagePuller.affinity` is set. Allowed values: `soft` or `hard`
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAffinityPreset: ""
|
|
## @param imagePuller.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `imagePuller.affinity` is set. Allowed values: `soft` or `hard`
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAntiAffinityPreset: soft
|
|
## Node affinity preset
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
|
|
## @param imagePuller.nodeAffinityPreset.type Node affinity preset type. Ignored if `imagePuller.affinity` is set. Allowed values: `soft` or `hard`
|
|
## @param imagePuller.nodeAffinityPreset.key Node label key to match. Ignored if `imagePuller.affinity` is set
|
|
## @param imagePuller.nodeAffinityPreset.values Node label values to match. Ignored if `imagePuller.affinity` is set
|
|
##
|
|
nodeAffinityPreset:
|
|
type: ""
|
|
## E.g.
|
|
## key: "kubernetes.io/e2e-az-name"
|
|
##
|
|
key: ""
|
|
## E.g.
|
|
## values:
|
|
## - e2e-az1
|
|
## - e2e-az2
|
|
##
|
|
values: []
|
|
## @param imagePuller.affinity Affinity for pod assignment. Evaluated as a template.
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
##
|
|
affinity: {}
|
|
## @param imagePuller.nodeSelector Node labels for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
|
|
##
|
|
nodeSelector: {}
|
|
## @param imagePuller.tolerations Tolerations for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
##
|
|
tolerations: []
|
|
## @param imagePuller.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
|
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
|
|
##
|
|
topologySpreadConstraints: []
|
|
## @param imagePuller.priorityClassName Priority Class Name
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
|
##
|
|
priorityClassName: ""
|
|
## @param imagePuller.schedulerName Use an alternate scheduler, e.g. "stork".
|
|
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
|
##
|
|
schedulerName: ""
|
|
## @param imagePuller.terminationGracePeriodSeconds Seconds ImagePuller pod needs to terminate gracefully
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
|
|
##
|
|
terminationGracePeriodSeconds: ""
|
|
## @param imagePuller.updateStrategy.type Update strategy - only really applicable for deployments with RWO PVs attached
|
|
## @param imagePuller.updateStrategy.rollingUpdate ImagePuller deployment rolling update configuration parameters
|
|
## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
|
|
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
|
|
## terminate the single previous pod, so that the new, incoming pod can attach to the PV
|
|
##
|
|
updateStrategy:
|
|
type: RollingUpdate
|
|
rollingUpdate: {}
|
|
## @param imagePuller.extraVolumes Optionally specify extra list of additional volumes for ImagePuller pods
|
|
##
|
|
extraVolumes: []
|
|
## @param imagePuller.extraVolumeMounts Optionally specify extra list of additional volumeMounts for ImagePuller container(s)
|
|
##
|
|
extraVolumeMounts: []
|
|
## @param imagePuller.initContainers Add additional init containers to the ImagePuller pods
|
|
## Example:
|
|
## initContainers:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
##
|
|
initContainers: []
|
|
## @param imagePuller.sidecars Add additional sidecar containers to the ImagePuller pod
|
|
## Example:
|
|
## sidecars:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
##
|
|
sidecars: []
|
|
## ServiceAccount parameters
|
|
##
|
|
serviceAccount:
|
|
## @param imagePuller.serviceAccount.create Specifies whether a ServiceAccount should be created
|
|
##
|
|
create: true
|
|
## @param imagePuller.serviceAccount.name Override image puller service account name
|
|
## If not set and create is true, a name is generated using the fullname template
|
|
##
|
|
name: ""
|
|
## @param imagePuller.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
|
|
## Can be set to false if pods using this serviceAccount do not need to use K8s API
|
|
##
|
|
automountServiceAccountToken: false
|
|
## @param imagePuller.serviceAccount.annotations Additional custom annotations for the ServiceAccount
|
|
##
|
|
annotations: {}
|
|
## Network policy
|
|
##
|
|
networkPolicy:
|
|
## @param imagePuller.networkPolicy.enabled Deploy imagePuller network policies
|
|
##
|
|
enabled: true
|
|
## @param imagePuller.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
|
|
##
|
|
allowExternalEgress: true
|
|
## @param imagePuller.networkPolicy.extraIngress Add extra ingress rules to the NetworkPolicy
|
|
##
|
|
extraIngress: []
|
|
## @param imagePuller.networkPolicy.extraEgress Add extra egress rules to the NetworkPolicy
|
|
##
|
|
extraEgress: []
|
|
## @section Singleuser deployment parameters
|
|
##
|
|
|
|
## Singleuser deployment parameters
|
|
## NOTE: The values in this section are used for generating the hub.configuration value. In case you provide
|
|
## a custom hub.configuration or a configmap, these will be ignored.
|
|
## @param singleuser.image.registry [default: REGISTRY_NAME] Single User image registry
|
|
## @param singleuser.image.repository [default: REPOSITORY_NAME/jupyter-base-notebook] Single User image repository
|
|
## @skip singleuser.image.tag Single User image tag (immutabe tags are recommended)
|
|
## @param singleuser.image.digest Single User image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
|
|
## @param singleuser.image.pullPolicy Single User image pull policy
|
|
## @param singleuser.image.pullSecrets Single User image pull secrets
|
|
##
|
|
singleuser:
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/jupyter-base-notebook
|
|
tag: 5.3.0-debian-12-r10
|
|
digest: ""
|
|
## Specify a imagePullPolicy
|
|
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-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/
|
|
## e.g:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## @param singleuser.notebookDir Notebook directory (it will be the same as the PVC volume mount)
|
|
##
|
|
notebookDir: /opt/bitnami/jupyterhub-singleuser
|
|
## @param singleuser.allowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process
|
|
##
|
|
allowPrivilegeEscalation: false
|
|
## Command for running the container (set to default if not set). Use array form
|
|
## @param singleuser.automountServiceAccountToken Mount Service Account token in pod
|
|
##
|
|
automountServiceAccountToken: false
|
|
## @param singleuser.command Override Single User default command
|
|
##
|
|
command: []
|
|
## @param singleuser.extraEnvVars Extra environment variables that should be set for the user pods
|
|
## ref: https://zero-to-jupyterhub.readthedocs.io/en/latest/resources/reference.html#singleuser-extraenv
|
|
##
|
|
extraEnvVars: []
|
|
## @param singleuser.containerPorts.http Single User container port
|
|
##
|
|
containerPorts:
|
|
http: 8888
|
|
## Singleuser resource requests and limits
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
|
## @param singleuser.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if singleuser.resources is set (singleuser.resources is recommended for production).
|
|
## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15
|
|
##
|
|
resourcesPreset: "small"
|
|
## @param singleuser.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
|
|
## Example:
|
|
## resources:
|
|
## requests:
|
|
## cpu: 2
|
|
## memory: 512Mi
|
|
## limits:
|
|
## cpu: 3
|
|
## memory: 1024Mi
|
|
##
|
|
resources: {}
|
|
## singleuser containers' Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
|
## @param singleuser.containerSecurityContext.enabled Enabled containers' Security Context
|
|
## @param singleuser.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
|
|
## @param singleuser.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
|
|
## @param singleuser.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
|
|
## @param singleuser.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
|
|
## @param singleuser.containerSecurityContext.privileged Set container's Security Context privileged
|
|
## @param singleuser.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
|
|
## @param singleuser.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
|
|
## @param singleuser.containerSecurityContext.capabilities.drop List of capabilities to be dropped
|
|
## @param singleuser.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
|
|
##
|
|
containerSecurityContext:
|
|
enabled: true
|
|
seLinuxOptions: {}
|
|
runAsUser: 1001
|
|
runAsGroup: 1001
|
|
runAsNonRoot: true
|
|
privileged: false
|
|
readOnlyRootFilesystem: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
seccompProfile:
|
|
type: "RuntimeDefault"
|
|
## singleuser pods' Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
|
## @param singleuser.podSecurityContext.enabled Enabled Single User pods' Security Context
|
|
## @param singleuser.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
|
|
## @param singleuser.podSecurityContext.sysctls Set kernel settings using the sysctl interface
|
|
## @param singleuser.podSecurityContext.supplementalGroups Set filesystem extra groups
|
|
## @param singleuser.podSecurityContext.fsGroup Set Single User pod's Security Context fsGroup
|
|
##
|
|
podSecurityContext:
|
|
enabled: true
|
|
fsGroupChangePolicy: Always
|
|
sysctls: []
|
|
supplementalGroups: []
|
|
fsGroup: 1001
|
|
## @param singleuser.podLabels Extra labels for Single User pods
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
##
|
|
podLabels: {}
|
|
## @param singleuser.podAnnotations Annotations for Single User pods
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
##
|
|
podAnnotations: {}
|
|
## @param singleuser.nodeSelector Node labels for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
|
|
##
|
|
nodeSelector: {}
|
|
## @param singleuser.tolerations Tolerations for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
##
|
|
tolerations: []
|
|
## @param singleuser.priorityClassName Single User pod priority class name
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
|
|
##
|
|
priorityClassName: ""
|
|
## @param singleuser.lifecycleHooks Add lifecycle hooks to the Single User deployment to automate configuration before or after startup
|
|
##
|
|
lifecycleHooks: {}
|
|
## @param singleuser.extraVolumes Optionally specify extra list of additional volumes for Single User pods
|
|
##
|
|
extraVolumes: []
|
|
## @param singleuser.extraVolumeMounts Optionally specify extra list of additional volumeMounts for Single User container(s)
|
|
##
|
|
extraVolumeMounts: []
|
|
## @param singleuser.initContainers Add additional init containers to the Single User pods
|
|
## Example:
|
|
## initContainers:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
##
|
|
initContainers: []
|
|
## @param singleuser.sidecars Add additional sidecar containers to the Single User pod
|
|
## Example:
|
|
## sidecars:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
##
|
|
sidecars: []
|
|
## @section Single User RBAC parameters
|
|
serviceAccount:
|
|
## @param singleuser.serviceAccount.create Specifies whether a ServiceAccount should be created
|
|
##
|
|
create: true
|
|
## @param singleuser.serviceAccount.name Override Single User service account name
|
|
## If not set and create is true, a name is generated using the fullname template
|
|
##
|
|
name: ""
|
|
## @param singleuser.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
|
|
## Can be set to false if pods using this serviceAccount do not need to use K8s API
|
|
##
|
|
automountServiceAccountToken: false
|
|
## @param singleuser.serviceAccount.annotations Additional custom annotations for the ServiceAccount
|
|
##
|
|
annotations: {}
|
|
## @section Single User Persistence parameters
|
|
## Enable persistence using Persistent Volume Claims
|
|
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
|
|
persistence:
|
|
## @param singleuser.persistence.enabled Enable persistent volume creation on Single User instances
|
|
## If true, use a Persistent Volume Claim, If false, use emptyDir
|
|
##
|
|
enabled: true
|
|
## @param singleuser.persistence.storageClass Persistent Volumes storage class
|
|
## If defined, storageClassName: <storageClass>
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
|
## If undefined (the default) or set to null, no storageClassName spec is
|
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
|
## GKE, AWS & OpenStack)
|
|
##
|
|
storageClass: ""
|
|
## @param singleuser.persistence.accessModes Persistent Volumes access modes
|
|
##
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
## @param singleuser.persistence.size Persistent Volumes size
|
|
##
|
|
size: 10Gi
|
|
## @param singleuser.profileList Define JupyterHub profiles
|
|
profileList: []
|
|
## - display_name: "Profile 1"
|
|
## description: "Longer description for profile 1."
|
|
## default: true
|
|
## - display_name: "Profile 2"
|
|
## description: "Longer description for profile 2."
|
|
## kubespawner_override:
|
|
## image: jupyter/datascience-notebook:latest
|
|
|
|
## @section Traffic exposure parameters
|
|
networkPolicy:
|
|
## @param singleuser.networkPolicy.enabled Deploy Single User network policies
|
|
##
|
|
enabled: true
|
|
## @param singleuser.networkPolicy.allowExternal Don't require server label for connections
|
|
## The Policy model to apply. When set to false, only pods with the correct
|
|
## server label will have network access to the ports server is listening
|
|
## on. When true, server will accept connections from any source
|
|
## (with the correct destination port).
|
|
##
|
|
allowExternal: true
|
|
## @param singleuser.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
|
|
##
|
|
allowExternalEgress: true
|
|
## @param singleuser.networkPolicy.allowInterspaceAccess Allow communication between pods in different namespaces
|
|
##
|
|
allowInterspaceAccess: true
|
|
## @param singleuser.networkPolicy.allowCloudMetadataAccess Allow Single User pods to access Cloud Metada endpoints
|
|
##
|
|
allowCloudMetadataAccess: false
|
|
## @param singleuser.networkPolicy.extraIngress Add extra ingress rules to the NetworkPolicy
|
|
##
|
|
extraIngress: ""
|
|
## @param singleuser.networkPolicy.extraEgress Add extra egress rules to the NetworkPolicy
|
|
##
|
|
extraEgress: ""
|
|
## @param singleuser.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
|
|
## @param singleuser.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
|
|
##
|
|
ingressNSMatchLabels: {}
|
|
ingressNSPodMatchLabels: {}
|
|
|
|
## @section Auxiliary image parameters
|
|
##
|
|
|
|
## @param auxiliaryImage.registry [default: REGISTRY_NAME] Auxiliary image registry
|
|
## @param auxiliaryImage.repository [default: REPOSITORY_NAME/os-shell] Auxiliary image repository
|
|
## @skip auxiliaryImage.tag Auxiliary image tag (immutabe tags are recommended)
|
|
## @param auxiliaryImage.digest Auxiliary image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
|
|
## @param auxiliaryImage.pullPolicy Auxiliary image pull policy
|
|
## @param auxiliaryImage.pullSecrets Auxiliary image pull secrets
|
|
##
|
|
auxiliaryImage:
|
|
registry: docker.io
|
|
repository: bitnami/os-shell
|
|
tag: 12-debian-12-r50
|
|
digest: ""
|
|
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/
|
|
## e.g:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## @section JupyterHub database parameters
|
|
|
|
## PostgreSQL chart configuration
|
|
## ref: https://github.com/bitnami/charts/blob/main/bitnami/postgresql/values.yaml
|
|
## @param postgresql.enabled Switch to enable or disable the PostgreSQL helm chart
|
|
## @param postgresql.auth.username Name for a custom user to create
|
|
## @param postgresql.auth.password Password for the custom user to create
|
|
## @param postgresql.auth.database Name for a custom database to create
|
|
## @param postgresql.auth.existingSecret Name of existing secret to use for PostgreSQL credentials
|
|
## @param postgresql.architecture PostgreSQL architecture (`standalone` or `replication`)
|
|
## @param postgresql.service.ports.postgresql PostgreSQL service port
|
|
##
|
|
postgresql:
|
|
enabled: true
|
|
auth:
|
|
username: bn_jupyterhub
|
|
password: ""
|
|
database: bitnami_jupyterhub
|
|
existingSecret: ""
|
|
architecture: standalone
|
|
service:
|
|
ports:
|
|
postgresql: 5432
|
|
## External PostgreSQL configuration
|
|
## All of these values are only used when postgresql.enabled is set to false
|
|
## @param externalDatabase.host Database host
|
|
## @param externalDatabase.port Database port number
|
|
## @param externalDatabase.user Non-root username for JupyterHub
|
|
## @param externalDatabase.password Password for the non-root username for JupyterHub
|
|
## @param externalDatabase.database JupyterHub database name
|
|
## @param externalDatabase.existingSecret Name of an existing secret resource containing the database credentials
|
|
## @param externalDatabase.existingSecretPasswordKey Name of an existing secret key containing the database credentials
|
|
##
|
|
externalDatabase:
|
|
host: ""
|
|
port: 5432
|
|
user: postgres
|
|
database: jupyterhub
|
|
password: ""
|
|
existingSecret: ""
|
|
existingSecretPasswordKey: ""
|