tests.system.cncf.kubernetes.example_kubernetes_kueue

Example Airflow DAG for Kubernetes Kueue operators.

Module Contents

tests.system.cncf.kubernetes.example_kubernetes_kueue.ENV_ID[source]
tests.system.cncf.kubernetes.example_kubernetes_kueue.DAG_ID = 'example_kubernetes_kueue_operators'[source]
tests.system.cncf.kubernetes.example_kubernetes_kueue.flavor_conf = Multiline-String[source]
Show Value
"""
apiVersion: kueue.x-k8s.io/v1beta1
kind: ResourceFlavor
metadata:
  name: default-flavor
"""
tests.system.cncf.kubernetes.example_kubernetes_kueue.QUEUE_NAME = 'local-queue'[source]
tests.system.cncf.kubernetes.example_kubernetes_kueue.local_conf[source]
tests.system.cncf.kubernetes.example_kubernetes_kueue.cluster_conf = Multiline-String[source]
Show Value
"""
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[source]
tests.system.cncf.kubernetes.example_kubernetes_kueue.test_run[source]

Was this entry helpful?