diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-06-25 16:21:13 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-06-25 16:21:13 +0900 |
commit | 6c3eea0db04be446a1daebf629b6ddf9e0f18d18 (patch) | |
tree | 7de3db2d1addf9ea8e018817c1b8de378d33fb9d /doc/install/kubernetes/preparation/connect.md | |
parent | 24ba0989878a363c37d86758844a17a99fc7ae0c (diff) | |
parent | 2bac2918b2d6f12d94f739f4b6865b9e9221c642 (diff) | |
download | gitlab-ce-6c3eea0db04be446a1daebf629b6ddf9e0f18d18.tar.gz |
Merge branch 'master' into build-chunks-on-object-storage
Diffstat (limited to 'doc/install/kubernetes/preparation/connect.md')
-rw-r--r-- | doc/install/kubernetes/preparation/connect.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/install/kubernetes/preparation/connect.md b/doc/install/kubernetes/preparation/connect.md new file mode 100644 index 00000000000..fb633c456f5 --- /dev/null +++ b/doc/install/kubernetes/preparation/connect.md @@ -0,0 +1,31 @@ +# Connecting your computer to a cluster + +In order to deploy software and settings to a cluster, you must connect and authenticate to it. + +* [GKE cluster](#connect-to-gke-cluster) +* [EKS cluster](#connect-to-eks-cluster) +* [Local minikube cluster](#connect-to-local-minikube-cluster) + +## Connect to GKE cluster + +The command for connection to the cluster can be obtained from the [Google Cloud Platform Console](https://console.cloud.google.com/kubernetes/list) by the individual cluster. + +Look for the **Connect** button in the clusters list page. + +**Or** + +Use the command below, filling in your cluster's informtion: + +``` +gcloud container clusters get-credentials <cluster-name> --zone <zone> --project <project-id> +``` + +## Connect to EKS cluster + +For the most up to date instructions, follow the Amazon EKS documentation on [connecting to a cluster](https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html#eks-configure-kubectl). + +## Connect to local minikube cluster + +If you are doing local development, you can use `minikube` as your +local cluster. If `kubectl cluster-info` is not showing `minikube` as the current +cluster, use `kubectl config set-cluster minikube` to set the active cluster. |