diff --git a/README.md b/README.md index c0a04c7..e577e2f 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ Please refer to the [official documentation](https://helm.sh/docs/intro/install/ ```bash helm repo add hasura https://hasura.github.io/helm-charts/ +helm repo update ``` You can then see the charts by running: @@ -17,6 +18,8 @@ You can then see the charts by running: helm search repo hasura ``` +> You can change the repo name `hasura` to another one if getting conflicts. + For more information, have a look at the [Using Helm](https://helm.sh/docs/intro/using_helm/#helm-repo-working-with-repositories) documentation. ## Contributing diff --git a/charts/graphql-data-connector/README.md b/charts/graphql-data-connector/README.md index 5e0e3fa..48b0261 100644 --- a/charts/graphql-data-connector/README.md +++ b/charts/graphql-data-connector/README.md @@ -9,8 +9,20 @@ This chart deploys the GraphQL Data Connector service. ```bash helm repo add hasura https://hasura.github.io/helm-charts +helm repo update ``` +> You can change the repo name `hasura` to another one if getting conflicts. + +## Get Started + +```bash +helm install [RELEASE_NAME] hasura/graphql-data-connector +``` +See [configuration](#parameters) below. + +See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation. + ## Parameters | Name | Description | Value | diff --git a/charts/graphql-data-connector/values.yaml b/charts/graphql-data-connector/values.yaml index 4b5c644..ad3395f 100644 --- a/charts/graphql-data-connector/values.yaml +++ b/charts/graphql-data-connector/values.yaml @@ -183,9 +183,9 @@ autoscaling: ## Resource requests and limits of deployment pods ## ref: https://kubernetes.io/docs/user-guide/compute-resources/ ## Example: -## requests: -## cpu: 250m -## memory: 256Mi +## limits: +## memory: "2Gi" +## cpu: "1" ## resources: {} diff --git a/charts/graphql-engine/README.md b/charts/graphql-engine/README.md index 26bbd12..2cd3d4f 100644 --- a/charts/graphql-engine/README.md +++ b/charts/graphql-engine/README.md @@ -10,8 +10,11 @@ This chart deploys the GraphQL Engine service with a Postgres instance for metad ```bash helm repo add hasura https://hasura.github.io/helm-charts +helm repo update ``` +> You can change the repo name `hasura` to another one if getting conflicts. + ## Get Started ### Install Helm Chart diff --git a/charts/graphql-engine/values.yaml b/charts/graphql-engine/values.yaml index 17a2d8f..9385553 100644 --- a/charts/graphql-engine/values.yaml +++ b/charts/graphql-engine/values.yaml @@ -197,9 +197,9 @@ autoscaling: ## Resource requests and limits of deployment pods ## ref: https://kubernetes.io/docs/user-guide/compute-resources/ ## Example: -## requests: -## cpu: 250m -## memory: 256Mi +## limits: +## memory: "4Gi" +## cpu: "2" ## resources: {} diff --git a/charts/hasura-enterprise-stack/README.md b/charts/hasura-enterprise-stack/README.md index c4e4b29..edf0be2 100644 --- a/charts/hasura-enterprise-stack/README.md +++ b/charts/hasura-enterprise-stack/README.md @@ -20,8 +20,11 @@ Components included in this package: ```bash helm repo add hasura https://hasura.github.io/helm-charts +helm repo update ``` +> You can change the repo name `hasura` to another one if getting conflicts. + > The Bitnami repository has been moved to OCI-based registries that are GA supported in by Helm since v3.8.0. If you use the helm chart prior to v3.8.0, you need to enable the [experiment environment](https://helm.sh/docs/topics/registries/#oci-support-prior-to-v380). ## Get Started diff --git a/charts/hasura-enterprise-stack/examples/05-data-connector.yaml b/charts/hasura-enterprise-stack/examples/05-data-connector.yaml index a84db5a..c3dc659 100644 --- a/charts/hasura-enterprise-stack/examples/05-data-connector.yaml +++ b/charts/hasura-enterprise-stack/examples/05-data-connector.yaml @@ -16,3 +16,33 @@ graphql-engine: secret: adminSecret: "hasura" eeLicenseKey: "" + + ## Enable graphql-data-connector and mongo-data-connector health checks + ## if you enable graphql-data-connector and face the race condition issue + ## because connector pods start up longer than graphql-engine. to Do not uncomment the health check container if you don't use the connector or graphql-engine pods are failed to start. + ## + ## Note: change the to the data source that graphql-engine will connect + ## Accepted values: athena, mariadb, mysql, oracle, snowflake + ## + # initContainers: + # - name: wait-for-graphql-data-connector + # image: atkrad/wait4x:2 + # args: + # - http + # - http://{{ .Release.Name }}-graphql-data-connector:8081/api/v1//health + # - --expect-status-code + # - "200" + # - --timeout + # - 300s + # imagePullPolicy: IfNotPresent + # + # - name: wait-for-mongo-data-connector + # image: atkrad/wait4x:2 + # args: + # - http + # - http://{{ .Release.Name }}-mongo-data-connector:8081/health + # - --expect-status-code + # - "200" + # - --timeout + # - 300s + # imagePullPolicy: IfNotPresent \ No newline at end of file diff --git a/charts/mongo-data-connector/README.md b/charts/mongo-data-connector/README.md index 6e00cbd..176eece 100644 --- a/charts/mongo-data-connector/README.md +++ b/charts/mongo-data-connector/README.md @@ -9,8 +9,20 @@ This chart deploys the GraphQL Data Connector service. ```bash helm repo add hasura https://hasura.github.io/helm-charts +helm repo update ``` +> You can change the repo name `hasura` to another one if getting conflicts. + +## Get Started + +```bash +helm install [RELEASE_NAME] hasura/mongo-data-connector +``` +See [configuration](#parameters) below. + +See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation. + ## Parameters | Name | Description | Value | diff --git a/charts/mongo-data-connector/values.yaml b/charts/mongo-data-connector/values.yaml index 9cb1b77..a2121d1 100644 --- a/charts/mongo-data-connector/values.yaml +++ b/charts/mongo-data-connector/values.yaml @@ -182,9 +182,9 @@ autoscaling: ## Resource requests and limits of deployment pods ## ref: https://kubernetes.io/docs/user-guide/compute-resources/ ## Example: -## requests: -## cpu: 250m -## memory: 256Mi +## limits: +## memory: "2Gi" +## cpu: "1" ## resources: {} diff --git a/charts/postgres/README.md b/charts/postgres/README.md index 6a5cd05..91c3a70 100644 --- a/charts/postgres/README.md +++ b/charts/postgres/README.md @@ -11,8 +11,20 @@ This chart deploys a PostgreSQL instance for metadata storage. ```bash helm repo add hasura https://hasura.github.io/helm-charts +helm repo update ``` +> You can change the repo name `hasura` to another one if getting conflicts. + +## Get Started + +```bash +helm install [RELEASE_NAME] hasura/postgres +``` +See [configuration](#parameters) below. + +See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation. + ## Parameters ### Global parameters diff --git a/charts/postgres/values.yaml b/charts/postgres/values.yaml index 91bc12d..c177328 100644 --- a/charts/postgres/values.yaml +++ b/charts/postgres/values.yaml @@ -162,9 +162,9 @@ extraVolumeMounts: [] ## Resource requests and limits of deployment pods ## ref: https://kubernetes.io/docs/user-guide/compute-resources/ ## Example -## requests: -## cpu: 250m -## memory: 256Mi +## limits: +## memory: "4Gi" +## cpu: "2" ## resources: {}