tests.system.cncf.kubernetes.example_kubernetes_kueue

Kubernetes Kueue 运算符的示例 Airflow DAG。

模块内容

tests.system.cncf.kubernetes.example_kubernetes_kueue.ENV_ID[源代码]
tests.system.cncf.kubernetes.example_kubernetes_kueue.DAG_ID = 'example_kubernetes_kueue_operators'[源代码]
tests.system.cncf.kubernetes.example_kubernetes_kueue.flavor_conf = 多行字符串[源代码]
显示值
"""
apiVersion: kueue.x-k8s.io/v1beta1
kind: ResourceFlavor
metadata:
  name: default-flavor
"""
tests.system.cncf.kubernetes.example_kubernetes_kueue.QUEUE_NAME = 'local-queue'[源代码]
tests.system.cncf.kubernetes.example_kubernetes_kueue.local_conf[源代码]
tests.system.cncf.kubernetes.example_kubernetes_kueue.cluster_conf = 多行字符串[源代码]
显示值
"""
apiVersion: kueue.x-k8s.io/v1beta1
kind: ClusterQueue
metadata:
  name: cluster-queue
spec:
  namespaceSelector: {}
  queueingStrategy: BestEffortFIFO
  resourceGroups:
  - coveredResources: ["cpu", "memory", "nvidia.com/gpu", "ephemeral-storage"]
    flavors:
    - name: "default-flavor"
      resources:
      - name: "cpu"
        nominalQuota: 10
      - name: "memory"
        nominalQuota: 10Gi
      - name: "nvidia.com/gpu"
        nominalQuota: 10
      - name: "ephemeral-storage"
        nominalQuota: 10Gi
"""
tests.system.cncf.kubernetes.example_kubernetes_kueue.install_kueue[源代码]
tests.system.cncf.kubernetes.example_kubernetes_kueue.test_run[源代码]

此条目是否有帮助?