|
| 1 | +# NeoDash |
| 2 | + |
| 3 | +   |
| 4 | + |
| 5 | +A NeoDash Helm chart for Kubernetes |
| 6 | + |
| 7 | +## Resources |
| 8 | + |
| 9 | +Following are the Kubernetes resources utilized for the NeoDash. |
| 10 | + |
| 11 | +- Deployment |
| 12 | +- Service |
| 13 | +- Ingress |
| 14 | +- Service Account |
| 15 | +- Horizontal Pod Autoscalar (HPA) |
| 16 | + |
| 17 | +## Values Configuration |
| 18 | + |
| 19 | +| Key | Type | Default | Description | |
| 20 | +|-----|------|---------|-------------| |
| 21 | +| autoscaling.enabled | bool | `false` | Enable/disable Autoscaling | |
| 22 | +| enable_reader_mode | bool | `true` | Enable/disable Reader mode | |
| 23 | +| envFromSecrets | list | `[]` | Environment variables from secrets | |
| 24 | +| fullnameOverride | string | `"neodash-test"` | Name override applies to all resources | |
| 25 | +| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy | |
| 26 | +| image.repository | string | `"neo4jlabs/neodash"` | Image repository and Image name | |
| 27 | +| image.tag | string | `"latest"` | Image version | |
| 28 | +| imagePullSecrets | list | `[]` | Image pull secrets if any | |
| 29 | +| podAnnotations | object | `{}` | Pod annotations | |
| 30 | +| podLabels | object | `{}` | Additional labels | |
| 31 | +| podSecurityContext | object | `{}` | Security Context if any | |
| 32 | +| ingress.annotations | object | `{}` | Ingress Annotations for load balancers | |
| 33 | +| ingress.className | string | `"alb"` | Ingress Class | |
| 34 | +| ingress.enabled | bool | `false` | Enable/disable Ingress | |
| 35 | +| ingress.hosts | list | `[]` | Host Details | |
| 36 | +| ingress.tls | list | `[]` | TLS details | |
| 37 | +| livenessProbe.httpGet.path | string | `"/*"` | LivenessProbe path | |
| 38 | +| livenessProbe.httpGet.port | int | `5005` | LivenessProbe port | |
| 39 | +| readinessProbe.httpGet.path | string | `"/*"` | Readiness path | |
| 40 | +| readinessProbe.httpGet.port | int | `5005` | Readiness port | |
| 41 | +| replicaCount | int | `1` | Replica count | |
| 42 | +| resources.limits.cpu | string | `"500m"` | CPU limit | |
| 43 | +| resources.limits.memory | string | `"128Mi"` | Memory limit | |
| 44 | +| resources.requests.cpu | string | `"250m"` | CPU request | |
| 45 | +| resources.requests.memory | string | `"64Mi"` | Memory request | |
| 46 | +| service.annotations | object | `{}` | Service annotations | |
| 47 | +| service.port | int | `5005` | Service port | |
| 48 | +| service.targetPort | int | `5005` | Service target port | |
| 49 | +| service.type | string | `"LoadBalancer"` | Type of service, other options are `ClusterIP` or `NodePort` | |
| 50 | +| serviceAccount.automount | bool | `true` | Enable/disable service account auto mount to pod | |
| 51 | +| serviceAccount.create | bool | `true` | Enable/disable service account | |
| 52 | +| volumeMounts | list | `[]` | Volume mounts on pod | |
| 53 | +| volumes | list | `[]` | Volumes for pod | |
| 54 | +| env | list |<br><pre lang="YAML">- name: "ssoEnabled" value: "false" - name: "standalone" value: "true" - name: "standaloneProtocol" value: "neo4j+s" - name: "standaloneHost" value: "localhost" - name: "standalonePort" value: "7687" - name: "standaloneDatabase" value: "neo4j" - name: "standaloneDashboardName" value: "test" - name: "standaloneDashboardDatabase" value: "neo4j" - name: "standaloneAllowLoad" value: "false" - name: "standaloneLoadFromOtherDatabases" value: "false" - name: "standaloneMultiDatabase" value: "false" </pre> | Env variables for reader mode | |
| 55 | + |
| 56 | +## Usage |
| 57 | + |
| 58 | +- To install this helm chart run the following command, |
| 59 | + |
| 60 | + ```bash |
| 61 | + helm install <release-name> ./neodash -n <namespace-name> |
| 62 | + ``` |
| 63 | + |
| 64 | +- To upgrade the release run the following command, |
| 65 | + |
| 66 | + ```bash |
| 67 | + helm upgrade <release-name> ./neodash -n <namespace-name> |
| 68 | + ``` |
| 69 | + |
| 70 | +- To uninstall the release run the following command, |
| 71 | + |
| 72 | + ```bash |
| 73 | + helm uninstall <release-name> -n <namespace-name> |
| 74 | + ``` |
| 75 | + |
| 76 | +> **Note:** To use custom values files, pass `-f <path-to-values-file>.yaml` for the above command. |
| 77 | +> **Note:** To use custom values, pass `--set param=value` for the above command. |
| 78 | +For example, to install neodash and set the service type to NodePort, run: `helm install <release-name> ./neodash -n <namespace-name> --set service.type=NodePort` |
0 commit comments