Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-inf committed Feb 7, 2025
1 parent 68bce91 commit 4083ecc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions addons-cluster/llm/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ spec:
clusterDef: ggml # ref clusterDefinition.name
componentSpecs:
- name: ggml
componentDefRef: ggml
componentDef: ggml
{{- include "kblib.componentMonitor" . | indent 6 }}
replicas: {{ .Values.replicas }}
{{- include "kblib.componentResources" . | indent 6 }}
{{ else }}
clusterDef: vllm # ref clusterDefinition.name
componentSpecs:
- name: vllm
componentDefRef: vllm
componentDef: vllm
{{- include "kblib.componentMonitor" . | indent 6 }}
replicas: {{ .Values.replicas }}
resources:
Expand Down
2 changes: 1 addition & 1 deletion addons/llm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ maintainers:
url: https://github.com/apecloud/kubeblocks/

annotations:
addon.kubeblocks.io/kubeblocks-version: ">=0.9.0"
addon.kubeblocks.io/kubeblocks-version: ">=1.0.0"
addon.kubeblocks.io/model: "LLM"
addon.kubeblocks.io/provider: "community"
2 changes: 1 addition & 1 deletion addons/xinference/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ maintainers:
url: https://github.com/apecloud/kubeblocks/

annotations:
addon.kubeblocks.io/kubeblocks-version: ">=0.9.0"
addon.kubeblocks.io/kubeblocks-version: ">=1.0.0"
addon.kubeblocks.io/model: "LLM"
addon.kubeblocks.io/provider: "community"
2 changes: 1 addition & 1 deletion examples/etcd/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ spec:
resources:
requests:
# Set the storage size as needed
storage: 20Gi
storage: 20Gi
4 changes: 2 additions & 2 deletions examples/llm/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ spec:
# Specifies the name of the ClusterDefinition to use when creating a Cluster.
clusterDefinitionRef: vllm
# Specifies the behavior when a Cluster is deleted.
# Valid options are: [DoNotTerminate, Delete, WipeOut] (`Halt` is deprecated since KB 0.9)
# - `DoNotTerminate`: Prevents deletion of the Cluster. This policy ensures that all resources remain intact.
# - `Halt`: Deletes Cluster resources like Pods and Services but retains Persistent Volume Claims (PVCs), allowing for data preservation while stopping other operations.
# - `Delete`: Extends the `Halt` policy by also removing PVCs, leading to a thorough cleanup while removing all persistent data.
# - `WipeOut`: An aggressive policy that deletes all Cluster resources, including volume snapshots and backups in external storage. This results in complete data removal and should be used cautiously, primarily in non-production environments to avoid irreversible data loss.
terminationPolicy: Delete
Expand All @@ -17,7 +17,7 @@ spec:
# ClusterComponentSpec defines the specifications for a Component in a Cluster.
componentSpecs:
- name: vllm
componentDefRef: vllm
componentDef: vllm
replicas: 1
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion examples/xinference/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
namespace: default
spec:
# Specifies the behavior when a Cluster is deleted.
# Valid options are: [DoNotTerminate, Delete, WipeOut] (`Halt` is deprecated since KB 0.9)
# - `DoNotTerminate`: Prevents deletion of the Cluster. This policy ensures that all resources remain intact.
# - `Halt`: Deletes Cluster resources like Pods and Services but retains Persistent Volume Claims (PVCs), allowing for data preservation while stopping other operations.
# - `Delete`: Extends the `Halt` policy by also removing PVCs, leading to a thorough cleanup while removing all persistent data.
# - `WipeOut`: An aggressive policy that deletes all Cluster resources, including volume snapshots and backups in external storage. This results in complete data removal and should be used cautiously, primarily in non-production environments to avoid irreversible data loss.
terminationPolicy: Delete
Expand Down

0 comments on commit 4083ecc

Please sign in to comment.