github.com/oam-dev/kubevela@v1.9.11/charts/vela-core/values.yaml (about) 1 # Default values for kubevela. 2 # This is a YAML-formatted file. 3 # Declare variables to be passed into your templates. 4 5 ## @section KubeVela core parameters 6 7 ## @param systemDefinitionNamespace System definition namespace, if unspecified, will use built-in variable `.Release.Namespace`. 8 systemDefinitionNamespace: 9 10 ## @param applicationRevisionLimit Application revision limit 11 applicationRevisionLimit: 2 12 13 ## @param definitionRevisionLimit Definition revision limit 14 definitionRevisionLimit: 2 15 16 ## @param concurrentReconciles concurrentReconciles is the concurrent reconcile number of the controller 17 concurrentReconciles: 4 18 19 ## @param controllerArgs.reSyncPeriod The period for resync the applications 20 controllerArgs: 21 reSyncPeriod: 5m 22 23 24 ## @section KubeVela workflow parameters 25 26 ## @param workflow.enableSuspendOnFailure Enable suspend on workflow failure 27 ## @param workflow.backoff.maxTime.waitState The max backoff time of workflow in a wait condition 28 ## @param workflow.backoff.maxTime.failedState The max backoff time of workflow in a failed condition 29 ## @param workflow.step.errorRetryTimes The max retry times of a failed workflow step 30 workflow: 31 enableSuspendOnFailure: false 32 backoff: 33 maxTime: 34 waitState: 60 35 failedState: 300 36 step: 37 errorRetryTimes: 10 38 39 40 ## @section KubeVela controller parameters 41 42 ## @param replicaCount KubeVela controller replica count 43 replicaCount: 1 44 45 ## @param imageRegistry Image registry 46 imageRegistry: "" 47 ## @param image.repository Image repository 48 ## @param image.tag Image tag 49 ## @param image.pullPolicy Image pull policy 50 image: 51 repository: oamdev/vela-core 52 tag: latest 53 pullPolicy: Always 54 55 ## @param resources.limits.cpu KubeVela controller's cpu limit 56 ## @param resources.limits.memory KubeVela controller's memory limit 57 ## @param resources.requests.cpu KubeVela controller's cpu request 58 ## @param resources.requests.memory KubeVela controller's memory request 59 resources: 60 limits: 61 cpu: 500m 62 memory: 1Gi 63 requests: 64 cpu: 50m 65 memory: 20Mi 66 67 ## @param webhookService.type KubeVela webhook service type 68 ## @param webhookService.port KubeVela webhook service port 69 webhookService: 70 type: ClusterIP 71 port: 9443 72 73 ## @param healthCheck.port KubeVela health check port 74 healthCheck: 75 port: 9440 76 77 ## @skip readinessProbe 78 readinessProbe: 79 failureThreshold: 3 80 initialDelaySeconds: 30 81 periodSeconds: 5 82 successThreshold: 1 83 timeoutSeconds: 1 84 ## @skip livenessProbe 85 livenessProbe: 86 failureThreshold: 3 87 initialDelaySeconds: 90 88 periodSeconds: 5 89 successThreshold: 1 90 timeoutSeconds: 1 91 92 ## @section KubeVela controller optimization parameters 93 ##@param optimize.cachedGvks Optimize types of resources to be cached. 94 ##@param optimize.markWithProb Optimize ResourceTracker GC by only run mark with probability. Side effect: outdated ResourceTracker might not be able to be removed immediately. 95 ##@param optimize.disableComponentRevision Optimize componentRevision by disabling the creation and gc 96 ##@param optimize.disableApplicationRevision Optimize ApplicationRevision by disabling the creation and gc. 97 ##@param optimize.enableInMemoryWorkflowContext Optimize workflow by use in-memory context. 98 ##@param optimize.disableResourceApplyDoubleCheck Optimize workflow by ignoring resource double check after apply. 99 ##@param optimize.enableResourceTrackerDeleteOnlyTrigger Optimize resourcetracker by only trigger reconcile when resourcetracker is deleted. 100 optimize: 101 cachedGvks: "" 102 markWithProb: 0.1 103 disableComponentRevision: true 104 disableApplicationRevision: false 105 enableInMemoryWorkflowContext: false 106 disableResourceApplyDoubleCheck: false 107 enableResourceTrackerDeleteOnlyTrigger: true 108 109 ##@param featureGates.gzipResourceTracker compress ResourceTracker using gzip (good) before being stored. This is reduces network throughput when dealing with huge ResourceTrackers. 110 ##@param featureGates.zstdResourceTracker compress ResourceTracker using zstd (fast and good) before being stored. This is reduces network throughput when dealing with huge ResourceTrackers. Note that zstd will be prioritized if you enable other compression options. 111 ##@param featureGates.applyOnce if enabled, the apply-once feature will be applied to all applications, no state-keep and no resource data storage in ResourceTracker 112 ##@param featureGates.multiStageComponentApply if enabled, the multiStageComponentApply feature will be combined with the stage field in TraitDefinition to complete the multi-stage apply. 113 ##@param featureGates.gzipApplicationRevision compress apprev using gzip (good) before being stored. This is reduces network throughput when dealing with huge apprevs. 114 ##@param featureGates.zstdApplicationRevision compress apprev using zstd (fast and good) before being stored. This is reduces network throughput when dealing with huge apprevs. Note that zstd will be prioritized if you enable other compression options. 115 ##@param featureGates.preDispatchDryRun enable dryrun before dispatching resources. Enable this flag can help prevent unsuccessful dispatch resources entering resourcetracker and improve the user experiences of gc but at the cost of increasing network requests. 116 ##@param featureGates.validateComponentWhenSharding enable component validation in webhook when sharding mode enabled 117 ##@param featureGates.disableWebhookAutoSchedule disable auto schedule for application mutating webhook when sharding enabled 118 ##@param featureGates.disableBootstrapClusterInfo disable the cluster info bootstrap at the starting of the controller 119 ##@param featureGates.informerCacheFilterUnnecessaryFields filter unnecessary fields for informer cache 120 ##@param featureGates.sharedDefinitionStorageForApplicationRevision use definition cache to reduce duplicated definition storage for application revision, must be used with InformerCacheFilterUnnecessaryFields 121 ##@param featureGates.disableWorkflowContextConfigMapCache disable the workflow context's configmap informer cache 122 ##@param 123 featureGates: 124 gzipResourceTracker: false 125 zstdResourceTracker: true 126 applyOnce: false 127 multiStageComponentApply: true 128 gzipApplicationRevision: false 129 zstdApplicationRevision: true 130 preDispatchDryRun: true 131 validateComponentWhenSharding: false 132 disableWebhookAutoSchedule: false 133 disableBootstrapClusterInfo: false 134 informerCacheFilterUnnecessaryFields: true 135 sharedDefinitionStorageForApplicationRevision: true 136 disableWorkflowContextConfigMapCache: true 137 138 ## @section MultiCluster parameters 139 140 ## @param multicluster.enabled Whether to enable multi-cluster 141 ## @param multicluster.metrics.enabled Whether to enable multi-cluster metrics collect 142 ## @param multicluster.clusterGateway.direct controller will connect to ClusterGateway directly instead of going to Kubernetes APIServer 143 ## @param multicluster.clusterGateway.replicaCount ClusterGateway replica count 144 ## @param multicluster.clusterGateway.port ClusterGateway port 145 ## @param multicluster.clusterGateway.image.repository ClusterGateway image repository 146 ## @param multicluster.clusterGateway.image.tag ClusterGateway image tag 147 ## @param multicluster.clusterGateway.image.pullPolicy ClusterGateway image pull policy 148 ## @param multicluster.clusterGateway.resources.requests.cpu ClusterGateway cpu request 149 ## @param multicluster.clusterGateway.resources.requests.memory ClusterGateway memory request 150 ## @param multicluster.clusterGateway.resources.limits.cpu ClusterGateway cpu limit 151 ## @param multicluster.clusterGateway.resources.limits.memory ClusterGateway memory limit 152 ## @param multicluster.clusterGateway.secureTLS.enabled Whether to enable secure TLS 153 ## @param multicluster.clusterGateway.secureTLS.certPath Path to the certificate file 154 ## @param multicluster.clusterGateway.secureTLS.certManager.enabled Whether to enable cert-manager 155 multicluster: 156 enabled: true 157 metrics: 158 enabled: false 159 clusterGateway: 160 direct: true 161 replicaCount: 1 162 port: 9443 163 image: 164 repository: oamdev/cluster-gateway 165 tag: v1.9.0-alpha.2 166 pullPolicy: IfNotPresent 167 resources: 168 requests: 169 cpu: 50m 170 memory: 20Mi 171 limits: 172 cpu: 500m 173 memory: 200Mi 174 secureTLS: 175 enabled: true 176 certManager: 177 enabled: false 178 certPath: /etc/k8s-cluster-gateway-certs 179 180 181 ## @section Test parameters 182 183 ## @param test.app.repository Test app repository 184 ## @param test.app.tag Test app tag 185 ## @param test.k8s.repository Test k8s repository 186 ## @param test.k8s.tag Test k8s tag 187 test: 188 app: 189 repository: oamdev/hello-world 190 tag: v1 191 k8s: 192 repository: oamdev/alpine-k8s 193 tag: 1.18.2 194 195 196 ## @section Common parameters 197 198 ## @param imagePullSecrets Image pull secrets 199 imagePullSecrets: [] 200 ## @param nameOverride Override name 201 nameOverride: "" 202 ## @param fullnameOverride Fullname override 203 fullnameOverride: "" 204 205 ## @param serviceAccount.create Specifies whether a service account should be created 206 ## @param serviceAccount.annotations Annotations to add to the service account 207 ## @param serviceAccount.name The name of the service account to use. If not set and create is true, a name is generated using the fullname template 208 serviceAccount: 209 # Specifies whether a service account should be created 210 create: true 211 # Annotations to add to the service account 212 annotations: {} 213 # The name of the service account to use. 214 # If not set and create is true, a name is generated using the fullname template 215 name: 216 217 ## @skip podSecurityContext 218 podSecurityContext: {} 219 # fsGroup: 2000 220 221 ## @skip securityContext 222 securityContext: {} 223 # capabilities: 224 # drop: 225 # - ALL 226 # readOnlyRootFilesystem: true 227 # runAsNonRoot: true 228 # runAsUser: 1000 229 230 ## @param nodeSelector Node selector 231 nodeSelector: {} 232 233 ## @param tolerations Tolerations 234 tolerations: [] 235 236 ## @param affinity Affinity 237 affinity: {} 238 239 ## @param rbac.create Specifies whether a RBAC role should be created 240 rbac: 241 create: true 242 243 ## @param logDebug Enable debug logs for development purpose 244 logDebug: false 245 246 ## @param logFilePath If non-empty, write log files in this path 247 logFilePath: "" 248 249 ## @param logFileMaxSize Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. 250 logFileMaxSize: 1024 251 252 ## @skip admissionWebhooks 253 admissionWebhooks: 254 enabled: true 255 failurePolicy: Fail 256 certificate: 257 mountPath: /etc/k8s-webhook-certs 258 patch: 259 enabled: true 260 image: 261 repository: oamdev/kube-webhook-certgen 262 tag: v2.4.1 263 pullPolicy: IfNotPresent 264 nodeSelector: {} 265 affinity: {} 266 tolerations: [] 267 appConversion: 268 enabled: false 269 certManager: 270 enabled: false 271 revisionHistoryLimit: 3 272 273 ## @param kubeClient.qps The qps for reconcile clients 274 ## @param kubeClient.burst The burst for reconcile clients 275 kubeClient: 276 qps: 400 277 burst: 600 278 279 ## @param authentication.enabled Enable authentication for application 280 ## @param authentication.withUser Application authentication will impersonate as the request User 281 ## @param authentication.defaultUser Application authentication will impersonate as the User if no user provided in Application 282 ## @param authentication.groupPattern Application authentication will impersonate as the request Group that matches the pattern 283 authentication: 284 enabled: false 285 withUser: true 286 defaultUser: kubevela:vela-core 287 groupPattern: kubevela:* 288 289 ## @param sharding.enabled When sharding enabled, the controller will run as master mode. Refer to https://github.com/kubevela/kubevela/blob/master/design/vela-core/sharding.md for details. 290 ## @param sharding.schedulableShards The shards available for scheduling. If empty, dynamic discovery will be used. 291 sharding: 292 enabled: false 293 schedulableShards: ""