Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helm chart proto #3102

Merged
merged 20 commits into from
Apr 27, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes according review
keramblock committed Apr 27, 2021
commit e70cdf35eccc3e629b22664c32bbec08129ff6ac
5 changes: 3 additions & 2 deletions helm-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -15,13 +15,14 @@ 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.0
version: 0.2.0

# 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: "1.16.0"
appVersion: latest
# We dont use it, so you can override it using values.override.yaml

dependencies:
- name: redis
29 changes: 29 additions & 0 deletions helm-chart/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# FAQ
## What should be configured before installation?
1. You should have configured connection to existed k8s cluster
2. Helm must be installed
3. You should download chart external dependencies, using following commands:
`helm repo add bitnami https://charts.bitnami.com/bitnami`
`helm repo update`
`helm dependency update`
4. (Optional) Install ingress of your choice (for example: https://github.com/kubernetes/ingress-nginx)
5. (Optional) Create certificates for https (for example: https://github.com/jetstack/cert-manager/ )
6. (Optional) Create values.override.yaml and override there parameters you want
7. Deploy cvat using command below
## How to deploy new version of chart to cluster?
Execute following command:
`helm upgrade <release_name> --install ./helm-chart -f ./helm-chart/values.yaml -f values.override.yaml(if exists) --namespace <desired namespace>`
## How to understand what diff will be inflicted by 'helm upgrade'?
You can use https://github.com/databus23/helm-diff#install for that
## I want to use my own postgresql/redis with your chart.
Just set postgresql.enabled or redis.enabled to false, as described below.
Then - put your instance params to "external" field
## I want to override some settings in values.yaml.
Just create file values.override.yaml and place your changes here, using same stracture as in values.yaml.
Then reference it in helm update/install command using -f
## Why you used external charts to provide redis and postgres?
Because they defenetly know what they do better then we are, so we are getting more qulity and less support
## What is kubernetes and how it is working?
See https://kubernetes.io/
## What is helm and how it is working?
See https://helm.sh/