Skip to content

gmarcha/hasura-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hasura-chart
CI

A Helm chart to deploy a Hasura application on Kubernetes.

Kubernetes Helm GraphQL Hasura Postgres

Example

Landing page

Requirements

  • install helm,
  • a running kubernetes cluster (see /scripts).

Usage

helm repo add gmarcha https://gmarcha.github.io/hasura-chart/
helm install hasura gmarcha/hasura

Tutorials

Run chart locally for development purpose:

git clone https://github.com/gmarcha/hasura-chart
cd hasura-chart
helm dependency build ./charts/hasura
helm install hasura ./charts/hasura

Use bash scripts in /scripts/install to install required tools:

  • bash scripts/install/helm.sh to install helm cli,
  • bash scripts/install/kubectl.sh to install kubectl cli (optional),
  • bash scripts/install/k3d.sh to install k3d cli (optional)
  • bash scripts/install/docker.sh to install docker for k3d usage.

Use scripts in /scripts/cluster to run a local k3d cluster:

  • bash scripts/cluster/create.sh to create a cluster running on docker containers,
  • bash scripts/cluster/delete.sh to delete cluster.

Hasura

Hasura is a graphql engine which allows to generate a full-featured graphql server from postgres database schemas. Server handles queries, mutations and subscriptions out-of-the-box.

It also provides features to handle SQL migrations, fined-grained authorization on a row-level and open-api federation service. Nevertheless it doesn't support well graphql federation service, Postgraphile with graphql-mesh is better suited for this purpose.

Author

@gmarcha

License

License