diff --git a/charts/llms/.helmignore b/charts/llms/.helmignore deleted file mode 100644 index 0e8a0eb36..000000000 --- a/charts/llms/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/charts/llms/Chart.yaml b/charts/llms/Chart.yaml deleted file mode 100644 index f0308fa97..000000000 --- a/charts/llms/Chart.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: v2 -name: llms -description: A Helm chart(KubeBB Component) for Arcadia LLM Services -maintainers: - - name: Lanture1064 - - name: bjwswang - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.2 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "0.2.18" diff --git a/charts/llms/templates/deployment.yaml b/charts/llms/templates/deployment.yaml deleted file mode 100644 index 5b1f7ce41..000000000 --- a/charts/llms/templates/deployment.yaml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: fschat -spec: - replicas: 1 - selector: - matchLabels: - app: fschat - template: - metadata: - labels: - app: fschat - spec: - containers: - - name: fschat-controller - image: {{ .Values.image.repository }}:{{ .Values.image.tag }} - command: ["python3", "-m", "fastchat.serve.controller", "--host", "0.0.0.0"] - ports: - - containerPort: 21001 - - - name: fschat-api - image: {{ .Values.image.repository }}:{{ .Values.image.tag }} - command: ["python3", "-m", "fastchat.serve.openai_api_server", "--host", "0.0.0.0", "--controller-address", "http://fastchat-controller:21001"] - ports: - - containerPort: 8000 diff --git a/charts/llms/templates/ingress.yaml b/charts/llms/templates/ingress.yaml deleted file mode 100644 index f91b82521..000000000 --- a/charts/llms/templates/ingress.yaml +++ /dev/null @@ -1,58 +0,0 @@ -{{- if .Values.ingress.enabled -}} - -{{- if semverCompare "<1.19" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: extensions/v1beta1 -{{- else if semverCompare "<1.22" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1beta1 -{{- else -}} -apiVersion: networking.k8s.io/v1 -{{- end }} -kind: Ingress -metadata: - name: {{ .Release.Name }}-{{ .Chart.Name }} - namespace: {{ .Release.Namespace | quote }} - labels: - app: {{ .Chart.Name }} - release: {{ .Release.Name }} -{{- with .Values.ingress.labels }} -{{ toYaml . | indent 4 }} -{{- end }} - -{{- with .Values.ingress.annotations }} - annotations: -{{ toYaml . | indent 4 }} -{{- end }} -spec: -{{- if .Values.ingress.ingressClassName }} - ingressClassName: {{ .Values.ingress.ingressClassName }} -{{- end }} - -{{- if .Values.ingress.tls }} - tls: - {{- range .Values.ingress.tls }} - - hosts: - {{- range .hosts }} - - {{ . | quote }} - {{- end }} - secretName: {{ .secretName }} - {{- end }} -{{- end }} - rules: - - host: {{ .Values.ingress.hosts }} - http: - paths: - - path: {{ .Values.ingress.path.controllerPath }} - pathType: Prefix - backend: - service: - name: {{ .Values.controllerService.name }} - port: - number: {{ .Values.controllerService.port }} - - path: {{ .Values.ingress.path.apiServerPath }} - pathType: Prefix - backend: - service: - name: {{ .Values.apiService.name }} - port: - number: {{ .Values.apiService.port }} -{{- end }} diff --git a/charts/llms/templates/service.yaml b/charts/llms/templates/service.yaml deleted file mode 100644 index a15ab183e..000000000 --- a/charts/llms/templates/service.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: fschat-service -spec: - type: NodePort - selector: - app: fschat - ports: - - name: {{ .Values.controllerService.name}} - port: 21001 - targetPort: 21001 - - name: {{ .Values.apiService.name }} - port: 8000 - targetPort: 8000 \ No newline at end of file diff --git a/charts/llms/values.yaml b/charts/llms/values.yaml deleted file mode 100644 index da62c2e3d..000000000 --- a/charts/llms/values.yaml +++ /dev/null @@ -1,85 +0,0 @@ -# Default values for llms. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -## Provide a name to substitute for the full names of resources -## -fullnameOverride: "" - -## Set default image, imageTag, and imagePullPolicy -## - -image: - repository: kubebb/arcadia-llms - tag: latest - pullPolicy: IfNotPresent - -imagePullSecrets: [] - -## Additional labels to include with deployment or statefulset -additionalLabels: {} - -## Additional annotations to include with deployment or statefulset -additionalAnnotations: {} - -## Typically the deployment/statefulset includes checksums of secrets/config, -## So that when these change on a subsequent helm install, the deployment/statefulset -## is restarted. This can result in unnecessary restarts under GitOps tooling such as -## flux, so set to "true" to disable this behaviour. -ignoreChartChecksums: false - -## Update strategy for Deployments -DeploymentUpdate: - type: RollingUpdate - maxUnavailable: 0 - maxSurge: 100% - -## Update strategy for StatefulSets -StatefulSetUpdate: - updateStrategy: RollingUpdate - -## Pod priority settings -## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ -## -priorityClassName: "" - -## Pod runtime class name -## ref https://kubernetes.io/docs/concepts/containers/runtime-class/ -## -runtimeClassName: "" - -## Replicas of the deployment -## -replicaCount: 1 - -## Info of the services -## -controllerService: - type: NodePort - name: controller - port: 21001 - targetPort: 21001 - -apiService: - type: NodePort - name: api-server - port: 8000 - targetPort: 8000 - -## Ingress settings -## -ingress: - enabled: true - ingressClassName: "portal-ingress" - labels: {} - # node-role.kubernetes.io/ingress: platform - - annotations: {} - path: - controllerPath: /controller - apiServerPath: /api - hosts: fschat.server.local - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local