Back to Charts

⚠️ Repo Archive Notice

stable/prisma/README.md

latest5.2 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

⚠️ Chart Deprecated

Prisma Helm Chart

Prisma is a performant open-source GraphQL ORM-like layer doing the heavy lifting in your GraphQL server.

TL;DR;

bash
$ helm install stable/prisma

Introduction

This chart bootstraps a Prisma deployment on a Kubernetes cluster using the Helm package manager.

Note: This chart doesn't support horizontal scaling for Prisma yet.

Installing the Chart

To install the chart with the release name my-release:

bash
$ helm install --name my-release stable/prisma

Note: Prisma requires a properly configured database in order to initialize. See the values.yaml file for the configuration values that need to be set. Also, if preferred you can set postgresql.enabled to true and Helm will deploy the PostgreSQL chart listed in the requirements.yaml file, and Prisma will be able to initialize properly using the default values.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

bash
$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the Prisma chart and their default values.

ParameterDescriptionDefault
serviceAccount.createIf true, create a service account for Prismatrue
serviceAccount.nameName of the service account to create or use{{ prisma.fullname }}
image.repositoryPrisma image repositoryprismagraphql/prisma
image.tagPrisma image tag1.29.1-heroku
image.pullPolicyImage pull policyIfNotPresent
database.connectorDatabase connectorpostgres
database.hostHost for the database endpoint""
database.portPort for the database endpoint""
database.nameDatabase name for Prisma objectsprisma
database.userDatabase userprisma
database.passwordDatabase password""
database.migrationsEnable database migrationstrue
database.sslEnable SSL for DB connectionsfalse
database.connectionLimitThe maximum number of database connections2
auth.enabledEnable Prisma Management API authenticationfalse
auth.secretSecret to use for authenticationnil
service.typeType of ServiceClusterIP
service.portService TCP port4466
ingress.enabledEnables Ingressfalse
ingress.annotationsIngress annotations{}
ingress.pathIngress path/
ingress.hostsIngress accepted hostnames[]
ingress.tlsIngress TLS configuration[]
resourcesCPU/Memory resource requests/limits{}
nodeSelectorNode labels for pod assignment{}
affinityAffinity settings for pod assignment{}
tolerationsToleration labels for pod assignment[]
postgresql.enabledInstall PostgreSQL chartfalse
postgresql.imagePullPolicyPostgreSQL image pull policyAlways if imageTag is latest, else IfNotPresent
postgresql.persistence.enabledPersist data to a PVfalse
postgresql.postgresUserUsername of new user to createprisma
postgresql.postgresPasswordPassword for the new user""
postgresql.service.portPostgreSQL service TCP port5432
postgresql.resourcesPostgreSQL resource requests and limitsMemory: 256Mi, CPU: 100m

Additional configuration parameters for the PostgreSQL database deployed with Prisma can be found here.

Tip: You can use the default values.yaml