github.com/kubewharf/katalyst-core@v0.5.3/examples/shared-unlimited-pod.yaml (about) 1 # Copyright 2022 The Katalyst Authors. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 apiVersion: v1 16 kind: Pod 17 metadata: 18 annotations: 19 "katalyst.kubewharf.io/qos_level": shared_cores 20 name: shared-unlimited-pod-1 21 namespace: default 22 spec: 23 containers: 24 - name: stress 25 image: joedval/stress:latest 26 command: 27 - stress 28 - -c 29 - "1" 30 imagePullPolicy: IfNotPresent 31 resources: 32 requests: 33 cpu: "12" 34 memory: 24Gi 35 schedulerName: katalyst-scheduler 36 37 --- 38 apiVersion: v1 39 kind: Pod 40 metadata: 41 annotations: 42 "katalyst.kubewharf.io/qos_level": shared_cores 43 name: shared-unlimited-pod-2 44 namespace: default 45 spec: 46 containers: 47 - name: stress 48 image: joedval/stress:latest 49 command: 50 - stress 51 - -c 52 - "1" 53 imagePullPolicy: IfNotPresent 54 resources: 55 requests: 56 cpu: "24" 57 memory: 48Gi 58 schedulerName: katalyst-scheduler