Skip to content

Commit

Permalink
add per-component labels/selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrove-oss committed Jul 11, 2024
1 parent bde4968 commit 7a77cc3
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
6 changes: 6 additions & 0 deletions setup.k8s-v1.25/appwrapper/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ namespace: mlbatch-system
resources:
- "https://github.com/project-codeflare/appwrapper/config/default?ref=v0.21.0"

labels:
- pairs:
app.kubernetes.io/name: appwrapper
app.kubernetes.io/component: controller
includeSelectors: true

images:
- name: quay.io/ibm/appwrapper
newTag: v0.21.0
Expand Down
6 changes: 6 additions & 0 deletions setup.k8s-v1.25/kuberay/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ namespace: mlbatch-system
resources:
- "https://github.com/ray-project/kuberay/ray-operator/config/default?ref=v1.1.0"

labels:
- pairs:
app.kubernetes.io/name: kuberay
app.kubernetes.io/component: controller
includeSelectors: true

patches:
- path: remove_default_namespace.yaml
- path: manager_resources_patch.yaml
8 changes: 7 additions & 1 deletion setup.k8s-v1.25/kueue/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ namespace: mlbatch-system
resources:
- "https://github.com/kubernetes-sigs/kueue/config/default?ref=v0.7.1"

labels:
- pairs:
app.kubernetes.io/name: kueue
app.kubernetes.io/component: controller
includeSelectors: true

configMapGenerator:
- name: manager-config
namespace: kueue-system
Expand All @@ -22,7 +28,7 @@ patches:
- path: manager_resources_patch.yaml
- path: mutating_webhook_patch.yaml
- path: remove_default_namespace.yaml
- path: validaing_webhook_patch.yaml
- path: validating_webhook_patch.yaml
- target:
kind: ClusterRole
name: manager-role
Expand Down
6 changes: 6 additions & 0 deletions setup.k8s-v1.25/training-operator/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ namespace: mlbatch-system
resources:
- "https://github.com/kubeflow/training-operator/manifests/base?ref=v1.7.0"

labels:
- pairs:
app.kubernetes.io/name: training-operator
app.kubernetes.io/component: controller
includeSelectors: true

images:
- name: kubeflow/training-operator
newTag: "v1-855e096"
Expand Down

0 comments on commit 7a77cc3

Please sign in to comment.