Skip to content

Commit

Permalink
include sample for self-managed clusters (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-g authored Jul 15, 2024
1 parent 0ce83a7 commit 66e9295
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/deepgram-self-hosted/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

- Resolves a mismatch between PVC and SC prefix naming convention.
- Resolves error when specifying custom service account names.
- Sample `values.yaml` file for on-premises/self-managed Kubernetes clusters.

### Changed

Expand Down
50 changes: 50 additions & 0 deletions charts/deepgram-self-hosted/samples/03-basic-setup-onprem.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# See the Chart [README](https://github.com/deepgram/self-hosted-resources/blob/main/charts/deepgram-self-hosted#values)
# for documentation on all available options.

global:
# pullSecretRef should refer to a K8s secret that
# must be created prior to installing this Chart.
# Consult the [official Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/secret/) for best practices on configuring Secrets for use in your cluster.
#
# You can create a secret for your image pull credentials
# with the following commands:
# ```bash
# docker login quay.io
# kubectl create secret generic dg-regcred \
# --from-file=.dockerconfigjson=$HOME/.docker/config.json \
# --type=kubernetes.io/dockerconfigjson
# ```
pullSecretRef: "dg-regcred"

# deepgramSecretRef should refer to a K8s secret that
# must be created prior to installing this Chart.
# Consult the [official Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/secret/) for best practices on configuring Secrets for use in your cluster.
#
# You can create a secret for your Deepgram self-hosted API key
# with the following command:
# ```bash
# kubectl create secret generic dg-self-hosted-api-key --from-literal=DEEPGRAM_API_KEY='<id>'
# ```
deepgramSecretRef: "dg-self-hosted-api-key"

scaling:
replicas:
api: 1
engine: 1
auto:
# Most on-premises clusters will have a static number of servers, where autoscaling may not be desirable.
enabled: false

engine:
modelManager:
volumes:
customVolumeClaim:
enabled: true
name: deepgram-models-pv # Replace with the name of the local PersistentVolume you have created
modelsDirectory: "/"

licenseProxy:
enabled: true

gpu-operator:
enabled: true

0 comments on commit 66e9295

Please sign in to comment.