-
Notifications
You must be signed in to change notification settings - Fork 0
kubernetes access for developers GCE
YaraMohammed edited this page May 2, 2018
·
4 revisions
To access the GCE, Kubernetes environment, the developer would received a secret from admins which looks as below.
clusters:
- cluster:
certificate-authority-data: <CERT>
server: <IP>
name: gke_PROJECT_REGION_CLUSTER
contexts:
- context:
cluster: gke_PROJECT_REGION_CLUSTER
user: gke_PROJECT_REGION_CLUSTER
name: gke_PROJECT_REGION_CLUSTER
current-context: gke_PROJECT_REGION_CLUSTER
kind: Config
preferences: {}
users:
- name: gke_PROJECT_REGION_CLUSTER
user:
token: <TOKEN>
- install kubectl and place above secret as ~/.kube file
you can install kubectl
from here
- install helm and run this command
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh
chmod 700 get_helm.sh
./get_helm.sh
- We will provide you namespace to use. In below case,
igor
was namespace you need to use to do any operations.helm init --tiller-namespace igor