gcloud container clusters get-credentials <cluster_name> --zone <zone_name> --project <gke_project_name>
kubectl create clusterrolebinding \
cluster-admin-binding \
--clusterrole=cluster-admin \
--user=$(gcloud auth list --filter=status:ACTIVE --format="value(account)")
kubectl apply -f https://download.elastic.co/downloads/eck/1.0.1/all-in-one.yaml
kubectl apply -f quickstart-eck-with-lb.yaml
kubectl get service kibana-quickstart-kb-http -o yaml
kubectl get statefulset elastic-operator --namespace elastic-system -o yaml
kubectl get service
kubectl get service quickstart-es-http
PASSWORD=$(kubectl get secret quickstart-es-elastic-user -o=jsonpath='{.data.elastic}' | base64 --decode)
curl -u "elastic:$PASSWORD" -k "https://<EXTERNAL-IP>:9200"
kubectl delete -f quickstart-eck-with-lb.yaml
kubectl delete -f https://download.elastic.co/downloads/eck/1.0.1/all-in-one.yaml