blob: 31675d771bbfe41a162c6040e98c32c22d9611f9 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
imagePullSecrets:
userLabelKey: "yunikorn.apache.org/username"
operatorPlugins: "general"
serviceAccount: yunikorn-admin
hostNetwork: false
placeHolderImage: k8s.gcr.io/pause
image:
repository: apache/yunikorn
tag: scheduler-latest
pullPolicy: Always
pluginImage:
repository: apache/yunikorn
tag: scheduler-plugin-latest
pullPolicy: Always
nodeSelector: {}
tolerations: []
affinity: {}
admissionController:
image:
repository: apache/yunikorn
tag: admission-latest
pullPolicy: Always
replicaCount: 1
serviceAccount: yunikorn-admission-controller
processNamespaces: ""
bypassNamespaces: "^kube-system$"
labelNamespaces: ""
noLabelNamespaces: ""
hostNetwork: true
resources:
requests:
cpu: 100m
memory: 500Mi
limits:
cpu: 500m
memory: 500Mi
nodeSelector: {}
tolerations: []
affinity: {}
service:
type: ClusterIP
web:
image:
repository: apache/yunikorn
tag: web-latest
pullPolicy: Always
resources:
requests:
memory: "100Mi"
cpu: "100m"
limits:
memory: "500Mi"
cpu: "200m"
service:
type: ClusterIP
port: 9080
portWeb: 9889
resources:
requests:
cpu: 200m
memory: 1Gi
limits:
cpu: 4
memory: 2Gi
# When this flag is true, the admission controller will be installed along with the scheduler.
# When this flag is false, the admission controller will not be installed.
# Once the admission controller is installed, all traffic will be routing to yunikorn.
embedAdmissionController: true
# When this flag is true, the scheduler will be deployed as Kubernetes scheduler plugin.
# When this flag is false, the scheduler will be deployed as a standalone scheduler.
enableSchedulerPlugin: false
#
# ------------------------------------------------------------------------
# Please choose one configuration from following two for yunikorn
# Use "CMD + /" to comment-out or uncomment a block before the deployment
# ------------------------------------------------------------------------
#
# Use this configuration to automatically map K8s namespaces to yunikorn queues
configuration: |
partitions:
-
name: default
placementrules:
- name: tag
value: namespace
create: true
queues:
- name: root
submitacl: '*'
# Use this configuration to configure absolute capacities for yunikorn queues
#configuration: |
# partitions:
# -
# name: default
# queues:
# -
# name: root
# submitacl: '*'
# queues:
# -
# name: advertisement
# resources:
# guaranteed:
# memory: 500G
# vcore: 50
# max:
# memory: 800G
# vcore: 80
# -
# name: search
# resources:
# guaranteed:
# memory: 400G
# vcore: 40
# max:
# memory: 600G
# vcore: 60
# -
# name: sandbox
# resources:
# guaranteed:
# memory: 100G
# vcore: 10
# max:
# memory: 100G
# vcore: 10