fix serge image target

version bump 0.0.3
This commit is contained in:
GooeyTuxedo 2023-04-14 14:43:25 -07:00
parent b8adf2f68b
commit 27d688fef9
4 changed files with 24 additions and 13 deletions

View File

@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.2 version: 0.0.3
# This is the version number of the application being deployed. This version number should be # 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 # incremented each time you make changes to the application. Versions are not expected to

View File

@ -1,4 +1,6 @@
Copyright © 2023 MrTuxedo: dev@based.consulting MIT License
Copyright © 2023 MrTuxedo
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

View File

@ -12,14 +12,14 @@ https://github.com/nsarrazin/serge
To install the chart with the release name `serge-ai`: To install the chart with the release name `serge-ai`:
Enable helm OCI support #### Enable helm OCI support
```sh ```sh
export HELM_EXPERIMENTAL_OCI=1 export HELM_EXPERIMENTAL_OCI=1
``` ```
Install the chart #### Install the chart
```sh ```sh
helm install serge-ai oci://registry-1.docker.io/mrtuxedo/serge helm install serge-ai oci://registry-1.docker.io/mrtuxedo/serge --version 0.0.3
``` ```
See the [configuration](#configuration) section for information on how to customize the installation. See the [configuration](#configuration) section for information on how to customize the installation.
@ -38,24 +38,33 @@ The following table lists the configurable parameters of the chart and their def
|Parameter |Description |Default| |Parameter |Description |Default|
--- | --- | --- | --- | --- | --- |
|image.tag|Target branch for Serge |release| |image.tag|Target branch for Serge |latest|
|environment.timezone |Timezone Identifier for deployment| Europe/Amsterdam| |environment.timezone |Timezone Identifier for deployment| Europe/Amsterdam|
|persistence.datadb.size|Volume size for chat history storage|16Gi| |persistence.datadb.size|Volume size for chat history storage|16Gi|
|persistence.weights.size|Volume size for model weights storage|64Gi| |persistence.weights.size|Volume size for model weights storage|64Gi|
To use the latest serge image instead of the last release, you'll want to set `image.tag` to `latest`/`main`.
To override any of the default values, create a YAML file with your desired overrides and pass it to the helm install command using the --values flag. For example: To override any of the default values, create a YAML file with your desired overrides and pass it to the helm install command using the --values flag. For example:
> Remember to [enable helm OCI support](#enable-helm-oci-support)
```sh ```sh
helm install serge-ai oci://registry-1.docker.io/mrtuxedo/serge --values my-values.yaml helm install serge-ai oci://registry-1.docker.io/mrtuxedo/serge --version 0.0.3 --values my-values.yaml
```
To set default values from the `install` command:
```sh
helm install serge-ai oci://registry-1.docker.io/mrtuxedo/serge --version 0.0.3 \
--namespace serge-ai \
--create-namespace \
--set environment.timezone=Antarctica/DumontDUrville
``` ```
For more information on configuring the chart, see the values.yaml file and the official Helm documentation. For more information on configuring the chart, see the values.yaml file and the official Helm documentation.
## Contributing ## Contributing
Thank you for considering contributing to this Helm chart! Pull requests and bug reports are always welcome. Thank you for considering contributing to this Helm chart! Pull requests and bug reports are always welcome. Chart source repository can be found [here](https://git.ssh.surf/MrTuxedo/serge-helm-chart).
Before submitting a pull request, please ensure that: Before submitting a pull request, please ensure that:
@ -67,8 +76,8 @@ For major changes, please open an issue first to discuss your proposed changes.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project, you agree to abide by its terms. Please note that this project is released with a Contributor Code of Conduct. By participating in this project, you agree to abide by its terms.
For more information on contributing to Helm charts, see the official Helm documentation. For more information on contributing to Helm charts, see the [official Helm documentation](https://helm.sh/docs/).
### License ### License
[LICENSE](./LICENSE) [MIT License](./LICENSE)

View File

@ -8,7 +8,7 @@ image:
repository: ghcr.io/nsarrazin/serge repository: ghcr.io/nsarrazin/serge
pullPolicy: Always pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: release tag: latest
imagePullSecrets: [] imagePullSecrets: []
nameOverride: serge-ai nameOverride: serge-ai