Deactivate cluster for label app

This commit is contained in:
Philippe Merle
2025-04-29 12:46:30 +02:00
parent 836c7a7566
commit e02119b055
3 changed files with 7 additions and 18 deletions

View File

@@ -1,4 +1,6 @@
clusters:
- label: app
show: false # Disable clustering for app label
- label: leaderworkerset.sigs.k8s.io/name
title: "LWS Name: {}"
recommended: true

View File

@@ -10,11 +10,7 @@ spec:
leaderTemplate:
metadata:
labels:
# PM: Replaced
# app: llamacpp-llama3-8b-instruct-bartowski-q5km
# by
appL: llamacpp-llama3-8b-instruct-bartowski-q5km
# as app is a clustering label already managed by KubeDiagrams!
app: llamacpp-llama3-8b-instruct-bartowski-q5km
spec:
containers:
- name: llamacpp-leader
@@ -35,11 +31,7 @@ metadata:
name: llamacpp
spec:
selector:
# PM: Replaced
# app: llamacpp-llama3-8b-instruct-bartowski-q5km
# by
appL: llamacpp-llama3-8b-instruct-bartowski-q5km
# as app is a clustering label already managed by KubeDiagrams!
app: llamacpp-llama3-8b-instruct-bartowski-q5km
ports:
- protocol: TCP
port: 80

View File

@@ -12,11 +12,7 @@ spec:
leaderTemplate:
metadata:
labels:
# PM: Replaced
# app: saxml-admin
# by
appL: saxml-admin
# as app is a clustering label already managed by KubeDiagrams!
app: saxml-admin
spec:
serviceAccountName: sax-sa
nodeSelector:
@@ -95,9 +91,8 @@ spec:
# PM: Replaced
# app: leader-pod
# by
appL: saxml-admin
# as app is a clustering label already managed by KubeDiagrams
# and leader pods are labelled by saxml-admin instead of leader-pod!
app: saxml-admin
# as leader pods are labelled by saxml-admin instead of leader-pod!
ports:
- protocol: TCP
port: 8888