You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40-6Lines changed: 40 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,17 @@
1
1
# diffgram-helm
2
2
Helm Chart for DIffgram
3
3
4
-
# Pre-requisites
4
+
# A. Pre-requisites
5
+
6
+
### Ingress Controller
7
+
If you are using minikube make sure you've done:
8
+
9
+
`minikube addons enable ingress`
10
+
11
+
To have the ingress enabled, otherwise you won't be able to acess your diffgram services from outside the cluster.
12
+
13
+
If you are not on minikube, you can use the Nginx K8s Ingress Controller. Check how to install on your cloud provider here: https://kubernetes.github.io/ingress-nginx/deploy/
14
+
5
15
### Opencore or Enterprise
6
16
7
17
Make sure you set the value of `diffgramEdition` in the `values.yaml` to either `opencore`
1. If you want to have TLS connections, please make sure you have a domain available and access to the name servers so you can modify the records to point to the IP addresses of the ingress.
If you don't change anything on `values.yaml`. You will have the namespace `default` created on your cluster
54
71
55
-
You can substitute `./diffgram` with whatever the path to this repo is on your local machine. Also feel free to install on any other namespace.
72
+
### Values to Change in `values.yaml`
73
+
Check section D. to see required values.
74
+
75
+
76
+
77
+
You can substitute `./diffgram-helm` with whatever the path to this repo is on your local machine. Also feel free to install on any other namespace.
56
78
57
79
Future versions will provide a repo to download the chart without cloning from github.
58
80
59
-
# Main Structure
81
+
# C. Main Structure
60
82
When deploying this chart there are 5 main components to be aware of:
61
83
62
84
**1. default-service:** This is the service in charge for most of the API calls and data management. Both for the SDK and for the Frontend UI.
@@ -70,7 +92,7 @@ When deploying this chart there are 5 main components to be aware of:
70
92
**5. ingress:** A Nginx ingress controller for accessing all the services. This is the entry point and router to all the above services.
71
93
72
94
73
-
# Configurations:
95
+
# D. Configurations:
74
96
The following are some of the most important configurations of the values.yaml in the helm chart. Please feel free to contact us if you have any questions on any of the configurations.
75
97
## 4.1 Database Settings
76
98
**1. dbSettings.dbProvider:** Set this to “rds”, "azure", or "local" depending on your DB managed service.
@@ -86,6 +108,7 @@ The following are some of the most important configurations of the values.yaml i
86
108
**6. dbSettings.dbPassword:** Set this to RDS instance’s password
87
109
88
110
## 4.2 Diffgram Configuration Settings
111
+
**1. diffgramSecrets.DIFFGRAM_STATIC_STORAGE_PROVIDER:** Set this to “aws”, "azure", or "gcp" depending on your DB managed service. Default is `aws`
89
112
**1. diffgramSecrets.DIFFGRAM_AWS_ACCESS_KEY_ID:** Set this to your AWS credentials access key. Make sure the account has permissions to the S3 bucket you’ll use as static storage.
90
113
91
114
**2. diffgramSecrets.DIFFGRAM_AWS_ACCESS_KEY_SECRET:** Set this to your AWS credentials secret. Make sure the account has permissions to the S3 bucket you’ll use as static storage.
@@ -94,5 +117,16 @@ The following are some of the most important configurations of the values.yaml i
94
117
95
118
**4. diffgramSettings.ML__DIFFGRAM_S3_BUCKET_NAME:** Set this to your S3’s bucket name for static file storage.
96
119
120
+
# E. Common Issues:
121
+
122
+
1. My Helm Chart gets stuck during install and the timesout with
123
+
124
+
Try doing `kubectl get pods` and find a pod named `diffgram-pre-install-{SOME-ID}`.
125
+
126
+
Now do `kubectl logs diffgram-pre-install-{SOME-ID} -c pre-upgrade-alembic-hook`
127
+
128
+
This will show the logs of the POD to further debug the issue. Most common causes for this error are:
129
+
130
+
- Missing Blob Storage Provider Credentials (Either AWS Access Keys, GCP Service Account or Azure Conn String)
0 commit comments