parse
by [riftbit]
Parse is a platform that enables users to add a scalable and powerful backend to launch a full-featured app for iOS, Android, JavaScript, Windows, Unity, and more.
About this chart
Parse
Parse is an open source version of the Parse backend that can be deployed to any infrastructure that can run Node.js.
TL;DR
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/parse
Introduction
This chart bootstraps a Parse deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters. This chart has been tested to work with NGINX Ingress, cert-manager, fluentd and Prometheus on top of the BKPR.
Prerequisites
- Kubernetes 1.12+
- Helm 3.1.0
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release bitnami/parse
The command deploys Parse on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common Parameters
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
kubeVersion | Force target Kubernetes version (using Helm capabilites if not set) | "" |
commonLabels | Add labels to all the deployed resources | {} |
commonAnnotations | Add annotations to all the deployed resources | {} |
extraDeploy | Array of extra objects to deploy with the release | [] |
Parse server parameters
| Name | Description | Value |
|---|---|---|
server.image.registry | Parse image registry | docker.io |
server.image.repository | Parse image repository | bitnami/parse |
server.image.tag | Parse image tag (immutable tags are recommended) | 4.10.3-debian-10-r0 |
server.image.pullPolicy | Image pull policy | IfNotPresent |
server.image.pullSecrets | Specify docker-registry secret names as an array | [] |
server.hostAliases | Deployment pod host aliases | [] |
server.securityContext.enabled | Enable security context for Parse Server | true |
server.securityContext.fsGroup | Group ID for Parse Server container | 1001 |
server.securityContext.runAsUser | User ID for Parse Server container | 1001 |
server.port | Parse server port | 1337 |
server.mountPath | Parse server API mount path | /parse |
server.appId | Parse server App ID | myappID |
server.masterKey | Parse server Master Key | "" |
server.extraEnvVars | An array to add extra env vars | [] |
server.extraEnvVarsCM | Name of a ConfigMap containing extra environment variables | "" |
server.extraEnvVarsSecret | Name of a Secret containing extra environment variables | "" |
server.enableCloudCode | Enable Parse Cloud Code | false |
server.cloudCodeScripts | Cloud Code scripts | {} |
server.existingCloudCodeScriptsCM | ConfigMap with Cloud Code scripts (Note: Overrides cloudCodeScripts). | "" |
server.resources | Parse Server pods' resource requests and limits | {} |
server.livenessProbe.enabled | Enable livenessProbe | true |
server.livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 120 |
server.livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
server.livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 5 |
server.livenessProbe.failureThreshold | Failure threshold for livenessProbe | 5 |
server.livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
server.readinessProbe.enabled | Enable readinessProbe | true |
server.readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 30 |
server.readinessProbe.periodSeconds | Period seconds for readinessProbe | 5 |
server.readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 5 |
server.readinessProbe.failureThreshold | Failure threshold for readinessProbe | 5 |
server.readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
server.podAffinityPreset | Parse server pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
server.podAntiAffinityPreset | Parse server pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
server.nodeAffinityPreset.type | Parse server node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
server.nodeAffinityPreset.key | Parse server node label key to match Ignored if affinity is set. | "" |
server.nodeAffinityPreset.values | Parse server node label values to match. Ignored if affinity is set. | [] |
server.affinity | Parse server affinity for pod assignment | {} |
server.nodeSelector | Parse server node labels for pod assignment | {} |
server.tolerations | Parse server tolerations for pod assignment | [] |
Traffic Exposure Parameters
| Name | Description | Value |
|---|---|---|
service.type | Kubernetes Service type | LoadBalancer |
service.port | Service HTTP port (Dashboard) | 80 |
service.nodePorts.http | Kubernetes HTTP node port | "" |
service.externalTrafficPolicy | Enable client source IP preservation | Cluster |
ingress.enabled | Set to true to enable ingress record generation | false |
ingress.certManager | Set this to true in order to add the corresponding annotations for cert-manager | false |
ingress.tls | Enable TLS configuration for the hostname defined at ingress.hostname parameter | false |
ingress.annotations | Ingress annotations | {} |
ingress.dashboard.hostname | Default host for the ingress resource | parse-dashboard.local |
ingress.dashboard.path | The Path to WordPress. You may need to set this to '/*' in order to use this with ALB ingress controllers. | / |
ingress.dashboard.pathType | Ingress path type | ImplementationSpecific |
ingress.dashboard.extraHosts | The list of additional hostnames to be covered with this ingress record. | [] |
ingress.dashboard.extraPaths | Any additional arbitrary paths that may need to be added to the ingress under the main host. | [] |
ingress.server.hostname | Default host for the ingress resource | parse-server.local |
ingress.server.path | Default path for the ingress resource*' in order to use this with ALB ingress controllers. | / |
ingress.server.pathType | Ingress path type | ImplementationSpecific |
ingress.server.extraHosts | The list of additional hostnames to be covered with this ingress record. | [] |
ingress.server.extraPaths | Any additional arbitrary paths that may need to be added to the ingress under the main host. | [] |
ingress.extraTls | The tls con |
Deploy parse with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has parse on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartparse is pinned at v15.0.8 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply