You'll need the Stargate Coordinator instance deployed with port 9042 accessible
You can deploy the stargate coordinator node using the helm setup at https://github.com/stargate/stargate/tree/main/helm
Autoscaling uses metrics server. Metrics server can be installed by executing the command:
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yamlTo expose access to Stargate APIs from clients outside your Kubernetes cluster, make sure an ingress controller is installed. To install the Nginx ingress controller, execute the command:
helm upgrade --install ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx \
--namespace ingress-nginx --create-namespace You'll use the name of ingress class name as the ingress.ingressClassName in the Stargate Helm chart values.
When using ingress, the API service paths need to be set as specified in the table
| API | Default path when using ingress |
|---|---|
| jsonapi | http://localhost/stargate/health/live |
Clone this repo to your development machine. Then execute the following commands to install the Stargate Helm chart with default values:
cd helm
helm install jsonapi jsonapiNote:
To install with override values, you can use the --set option as shown below:
helm install jsonapi jsonapi \
--namespace <ENTER_NAMESPACE_HERE> \
--set replicaCount=2