A Helm chart to deploy a Hasura application on Kubernetes.
- install
helm, - a running kubernetes cluster (see
/scripts).
helm repo add gmarcha https://gmarcha.github.io/hasura-chart/
helm install hasura gmarcha/hasuraRun 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/hasuraUse bash scripts in /scripts/install to install required tools:
bash scripts/install/helm.shto installhelmcli,bash scripts/install/kubectl.shto installkubectlcli (optional),bash scripts/install/k3d.shto installk3dcli (optional)bash scripts/install/docker.shto installdockerfork3dusage.
Use scripts in /scripts/cluster to run a local k3d cluster:
bash scripts/cluster/create.shto create a cluster running on docker containers,bash scripts/cluster/delete.shto delete cluster.
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.