kubectl
on your machine, and make sure your local kubectl
version is within one minor version's difference from the kubectl
version on your cluster.k8s
directory. You can edit the kustimization.yaml
file in the aks
folder to change the namespace and image name for your deployment. The default namespace is default
, and the default image is the official docker image for TigerGraph 3.2.0. No need to edit the files if no changes are needed. ./tg
script in the k8s
directory to generate the deployment manifest for a single-server deployment. A deploy
directory will be created automatically and you should find the manifest named tigergraph-aks.yaml
in the directory. kubectl apply
to create the deployment using the manifest you generated in step 1.kubectl get pods
to verify that the pods were created successfully.kubectl describe service/tg-external-service
to find the IP address of the load balancer. You can then make curl calls to port 9000 to make sure that RESTPP is running:kubectl
to get a shell to the container or log in via ssh
kustomize.yaml
file in the aks
directory. The tg
script in the k8s
folder offers a convenient way to make common customizations such as namespace, TigerGraph version, as well as cluster size. Run ./tg -h
to view the help text on how to use the script. tg
script in the k8s
directory of the repo to create a Kubernetes manifest. Use -s
or --size
to indicate the number of nodes in the cluster. Use the --ha
option to indicate the replication factor of the cluster, and the partitioning factor will be the number of nodes divided by the replication factor. --version
flag specifies the version of TigerGraph to use for the deployment.deploy
with the manifest inside.kubectl apply
to create the deploymentkubectl get pods
to verify the pods were created successfully:kubectl describe service/tg-external-service
to find the IP address of the load balancer for your AKS cluster. You can make a curl call to port 9000 to make sure that RESTPP is working:kubectl
to get a shell to the container or log in via ssh