Installing TigerGraph Kubernetes Operator
This page describes the steps to install TigerGraph Kubernetes Operator on your Kubernetes cluster.
Kubernetes Operator is a Preview Feature.
Preview Features give users an early look at future production-level features. Preview Features should not be used for production deployments.
|The Operator only needs to be installed once for each cluster. If you run into errors saying that Custom Resource Definition (CRD) already exists, it is likely that someone else who has access to your cluster has already installed the operator. Therefore, you can safely ignore the error and skip installation.|
You have configured the
kubectlcommand-line tool for access to your running Kubernetes cluster.
Helm is installed on your local machine.
Run the command below to install the TigerGraph plugin for the
kubectl command-line tool:
curl https://dl.tigergraph.com/k8s/0.0.1/kubectl-tg -o kubectl-tg sudo install kubectl-tg /usr/local/bin/
The plugin is installed on your local machine. You do not need to install the plugin for each cluster you operate on.
Run the command below to initialize the TigerGraph Kubernetes Operator.
$ kubectl tg init --helm-repo http://hub.docker.com/
If you are using a private helm repository, replace
http://docker.tigergraph.com with the URL of your repository, and supply the name of your Secret:
$ kubectl tg init --helm-repo <private_repo_url> -p <secret_name>