Merge branch 'main' of gitlab.com:oceanbox/manifests

This commit is contained in:
2025-12-14 11:41:47 +01:00
5 changed files with 94 additions and 8 deletions
+4
View File
@@ -282,6 +282,8 @@ configMaps:
{ "name": "plume.data.oceanbox.io", "type": "A", "value": "10.255.241.99" }, { "name": "plume.data.oceanbox.io", "type": "A", "value": "10.255.241.99" },
{ "name": "slurm-agent.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" }, { "name": "slurm-agent.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
{ "name": "kueue.dev.tos.obx", "type": "A", "value": "10.255.241.99" },
{ "name": "slurm-agent.rossby.oceanbox.io", "type": "A", "value": "172.16.239.222" }, { "name": "slurm-agent.rossby.oceanbox.io", "type": "A", "value": "172.16.239.222" },
{ "name": "argocd.adm.vtn.obx", "type": "A", "value": "172.16.239.221" }, { "name": "argocd.adm.vtn.obx", "type": "A", "value": "172.16.239.221" },
@@ -290,6 +292,8 @@ configMaps:
{ "name": "alertmanager.adm.vtn.obx", "type": "A", "value": "172.16.239.221" }, { "name": "alertmanager.adm.vtn.obx", "type": "A", "value": "172.16.239.221" },
{ "name": "slurm-agent.adm.vtn.obx", "type": "A", "value": "172.16.239.221" }, { "name": "slurm-agent.adm.vtn.obx", "type": "A", "value": "172.16.239.221" },
{ "name": "kueue.dev.vtn.obx", "type": "A", "value": "172.16.239.221" },
{ "name": "dashboard.ob-ceph.local", "type": "A", "value": "10.255.241.10" }, { "name": "dashboard.ob-ceph.local", "type": "A", "value": "10.255.241.10" },
{ "name": "grafana.ob-ceph.local", "type": "A", "value": "10.255.241.10" }, { "name": "grafana.ob-ceph.local", "type": "A", "value": "10.255.241.10" },
{ "name": "s3.ob-ceph.local", "type": "A", "value": "10.255.241.10" }, { "name": "s3.ob-ceph.local", "type": "A", "value": "10.255.241.10" },
+18 -2
View File
@@ -1,12 +1,12 @@
apiVersion: kueue.x-k8s.io/v1beta1 apiVersion: kueue.x-k8s.io/v1beta1
kind: ResourceFlavor kind: ResourceFlavor
metadata: metadata:
name: compute name: compute # Just needs to exist, can be managed with tains/tolerations
--- ---
apiVersion: kueue.x-k8s.io/v1beta1 apiVersion: kueue.x-k8s.io/v1beta1
kind: ClusterQueue kind: ClusterQueue
metadata: metadata:
name: sample-jobs name: jobs
spec: spec:
cohort: general cohort: general
namespaceSelector: {} # Accept workloads from any namespace namespaceSelector: {} # Accept workloads from any namespace
@@ -19,3 +19,19 @@ spec:
nominalQuota: '4' nominalQuota: '4'
- name: "memory" - name: "memory"
nominalQuota: 8Gi nominalQuota: 8Gi
---
apiVersion: kueue.x-k8s.io/v1beta1
kind: LocalQueue
metadata:
name: prod-queue
namespace: prod-sorcerer
spec:
clusterQueue: jobs
---
apiVersion: kueue.x-k8s.io/v1beta1
kind: LocalQueue
metadata:
name: staging-queue
namespace: staging-sorcerer
spec:
clusterQueue: jobs
+65
View File
@@ -0,0 +1,65 @@
{{- if eq .Values.clusterConfig.cluster "ekman"}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kueueviz-ingress
namespace: kueue-system
annotations:
cert-manager.io/cluster-issuer: ca-issuer
spec:
rules:
- host: kueue.dev.tos.obx
http:
paths:
- path: /api(/|$)(.*)
pathType: Prefix
backend:
service:
name: kueue-kueueviz-backend
port:
number: 8080
- path: /
pathType: Prefix
backend:
service:
name: kueue-kueueviz-frontend
port:
number: 8080
tls:
- hosts:
- kueue.dev.tos.obx
secretName: kueueviz-tls
{{- end}}
---
{{- if eq .Values.clusterConfig.cluster "rossby"}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kueueviz-ingress
namespace: kueue-system
annotations:
cert-manager.io/cluster-issuer: ca-issuer
spec:
rules:
- host: kueue.dev.vtn.obx
http:
paths:
- path: /api(/|$)(.*)
pathType: Prefix
backend:
service:
name: kueue-kueueviz-backend
port:
number: 8080
- path: /
pathType: Prefix
backend:
service:
name: kueue-kueueviz-frontend
port:
number: 8080
tls:
- hosts:
- kueue.dev.vtn.obx
secretName: kueueviz-tls
{{- end}}
+6 -5
View File
@@ -12,14 +12,15 @@ controllerManager:
frameworks: frameworks:
- batch/job - batch/job
- jobset.x-k8s.io/jobset - jobset.x-k8s.io/jobset
internalCertManagement:
enable: true
enableCertManager: false
enablePrometheus: true
metrics:
prometheusNamespace: prometheus
enableKueueViz: true enableKueueViz: true
kueueViz: kueueViz:
backend: backend:
env: env:
- name: KUEUEVIZ_ALLOWED_ORIGINS - name: KUEUEVIZ_ALLOWED_ORIGINS
value: "http://frontend.kueueviz.local" value: "http://frontend.kueueviz.local"
frontend:
env:
- name: REACT_APP_WEBSOCKET_URL
value: "wss://kueue-kueueviz-backend"
+1 -1
View File
@@ -1,6 +1,6 @@
replicaCount: 1 replicaCount: 1
image: image:
tag: "832fdf2d-debug" tag: "52d23ede-debug"
env: env:
- name: APP_VERSION - name: APP_VERSION
value: "0.0.0-staging" value: "0.0.0-staging"