all repos — infra @ 13d143bca8aeaec2447be2ee2089fdbb3bb01f27

infrastructure manifests and setup notes

longhorn/values.yaml (view raw)

  1# Default values for longhorn.
  2# This is a YAML-formatted file.
  3# Declare variables to be passed into your templates.
  4global:
  5  cattle:
  6    systemDefaultRegistry: ""
  7
  8image:
  9  longhorn:
 10    engine:
 11      repository: longhornio/longhorn-engine
 12      tag: v1.1.1
 13    manager:
 14      repository: longhornio/longhorn-manager
 15      tag: v1.1.1
 16    ui:
 17      repository: longhornio/longhorn-ui
 18      tag: v1.1.1
 19    instanceManager:
 20      repository: longhornio/longhorn-instance-manager
 21      tag: v1_20201216
 22    shareManager:
 23      repository: longhornio/longhorn-share-manager
 24      tag: v1_20210416
 25    backingImageManager:
 26      repository: longhornio/backing-image-manager
 27      tag: v1_20210422
 28  csi:
 29    attacher:
 30      repository: longhornio/csi-attacher
 31      tag: v2.2.1-lh1
 32    provisioner:
 33      repository: longhornio/csi-provisioner
 34      tag: v1.6.0-lh1
 35    nodeDriverRegistrar:
 36      repository: longhornio/csi-node-driver-registrar
 37      tag: v1.2.0-lh1
 38    resizer:
 39      repository: longhornio/csi-resizer
 40      tag: v0.5.1-lh1
 41    snapshotter:
 42      repository: longhornio/csi-snapshotter
 43      tag: v2.1.1-lh1
 44  pullPolicy: IfNotPresent
 45
 46service:
 47  ui:
 48    type: ClusterIP
 49    nodePort: null
 50  manager:
 51    type: ClusterIP
 52    nodePort: ""
 53
 54persistence:
 55  defaultClass: true
 56  defaultClassReplicaCount: 3
 57  reclaimPolicy: Delete
 58  recurringJobs:
 59    enable: false
 60    jobList: []
 61
 62csi:
 63  kubeletRootDir: ~
 64  attacherReplicaCount: ~
 65  provisionerReplicaCount: ~
 66  resizerReplicaCount: ~
 67  snapshotterReplicaCount: ~
 68
 69defaultSettings:
 70  backupTarget: ~
 71  backupTargetCredentialSecret: ~
 72  allowRecurringJobWhileVolumeDetached: ~
 73  createDefaultDiskLabeledNodes: ~
 74  defaultDataPath: ~
 75  defaultDataLocality: ~
 76  replicaSoftAntiAffinity: ~
 77  storageOverProvisioningPercentage: ~
 78  storageMinimalAvailablePercentage: ~
 79  upgradeChecker: ~
 80  defaultReplicaCount: ~
 81  guaranteedEngineCPU: ~
 82  defaultLonghornStaticStorageClass: ~
 83  backupstorePollInterval: ~
 84  taintToleration: ~
 85  systemManagedComponentsNodeSelector: "arch:amd64"
 86  priorityClass: ~
 87  autoSalvage: ~
 88  autoDeletePodWhenVolumeDetachedUnexpectedly: ~
 89  disableSchedulingOnCordonedNode: ~
 90  replicaZoneSoftAntiAffinity: ~
 91  volumeAttachmentRecoveryPolicy: ~
 92  nodeDownPodDeletionPolicy: ~
 93  allowNodeDrainWithLastHealthyReplica: ~
 94  mkfsExt4Parameters: ~
 95  disableReplicaRebuild: ~
 96  replicaReplenishmentWaitInterval: ~
 97  disableRevisionCounter: ~
 98  systemManagedPodsImagePullPolicy: ~
 99  allowVolumeCreationWithDegradedAvailability: ~
100  autoCleanupSystemGeneratedSnapshot: ~
101  concurrentAutomaticEngineUpgradePerNodeLimit: ~
102  backingImageCleanupWaitInterval: ~
103  guaranteedEngineManagerCPU: ~
104  guaranteedReplicaManagerCPU: ~
105privateRegistry:
106  registryUrl: ~
107  registryUser: ~
108  registryPasswd: ~
109  registrySecret: ~
110
111longhornManager:
112  priorityClass: ~
113  tolerations: []
114  ## If you want to set tolerations for Longhorn Manager DaemonSet, delete the `[]` in the line above
115  ## and uncomment this example block
116  # - key: "key"
117  #   operator: "Equal"
118  #   value: "value"
119  #   effect: "NoSchedule"
120  nodeSelector:
121    arch: "amd64"
122  ## If you want to set node selector for Longhorn Manager DaemonSet, delete the `{}` in the line above
123  ## and uncomment this example block
124  #  label-key1: "label-value1"
125  #  label-key2: "label-value2"
126
127longhornDriver:
128  priorityClass: ~
129  tolerations: []
130  ## If you want to set tolerations for Longhorn Driver Deployer Deployment, delete the `[]` in the line above
131  ## and uncomment this example block
132  # - key: "key"
133  #   operator: "Equal"
134  #   value: "value"
135  #   effect: "NoSchedule"
136  nodeSelector:
137    arch: "amd64"
138  ## If you want to set node selector for Longhorn Driver Deployer Deployment, delete the `{}` in the line above
139  ## and uncomment this example block
140  #  label-key1: "label-value1"
141  #  label-key2: "label-value2"
142
143longhornUI:
144  priorityClass: ~
145  tolerations: []
146  ## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above
147  ## and uncomment this example block
148  # - key: "key"
149  #   operator: "Equal"
150  #   value: "value"
151  #   effect: "NoSchedule"
152  nodeSelector:
153    arch: "amd64"
154  ## If you want to set node selector for Longhorn UI Deployment, delete the `{}` in the line above
155  ## and uncomment this example block
156  #  label-key1: "label-value1"
157  #  label-key2: "label-value2"
158
159resources: {}
160  # We usually recommend not to specify default resources and to leave this as a conscious
161  # choice for the user. This also increases chances charts run on environments with little
162  # resources, such as Minikube. If you do want to specify resources, uncomment the following
163  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
164  # limits:
165  #  cpu: 100m
166  #  memory: 128Mi
167  # requests:
168  #  cpu: 100m
169  #  memory: 128Mi
170  #
171
172ingress:
173  ## Set to true to enable ingress record generation
174  enabled: false
175
176  ## Add ingressClassName to the Ingress
177  ## Can replace the kubernetes.io/ingress.class annotation on v1.18+
178  ingressClassName: ~
179
180  host: xip.io
181
182  ## Set this to true in order to enable TLS on the ingress record
183  ## A side effect of this will be that the backend service will be connected at port 443
184  tls: false
185
186  ## If TLS is set to true, you must declare what secret will store the key/certificate for TLS
187  tlsSecret: longhorn.local-tls
188
189  ## Ingress annotations done as key:value pairs
190  ## If you're using kube-lego, you will want to add:
191  ## kubernetes.io/tls-acme: true
192  ##
193  ## For a full list of possible ingress annotations, please see
194  ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md
195  ##
196  ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
197  annotations:
198  #  kubernetes.io/ingress.class: nginx
199  #  kubernetes.io/tls-acme: true
200
201  secrets:
202  ## If you're providing your own certificates, please use this to add the certificates as secrets
203  ## key and certificate should start with -----BEGIN CERTIFICATE----- or
204  ## -----BEGIN RSA PRIVATE KEY-----
205  ##
206  ## name should line up with a tlsSecret set further up
207  ## If you're using kube-lego, this is unneeded, as it will create the secret for you if it is not set
208  ##
209  ## It is also possible to create and manage the certificates outside of this helm chart
210  ## Please see README.md for more information
211  # - name: longhorn.local-tls
212  #   key:
213  #   certificate:
214
215# Configure a pod security policy in the Longhorn namespace to allow privileged pods
216enablePSP: true
217
218## Specify override namespace, specifically this is useful for using longhorn as sub-chart
219## and its release namespace is not the `longhorn-system`
220namespaceOverride: ""
221
222# Annotations to add to the Longhorn Manager DaemonSet Pods. Optional.
223annotations: {}