This script creates an admin.kubeconfig file to use with kubectl to interact and administer the kubernetes cluster. The directory is changed to the directory where the cryptographic material was created, and any existing admin.kubeconfig file is deleted. The script then populates the admin.kubeconfig file with information from the environment variables and from the GCE environment. A final test is then run to use the new admin.kubeconfig file to verify that it is working as expected. Output similar to the below should be observed: NAME STATUS MESSAGE ERROR scheduler Healthy ok controller-manager Healthy ok etcd-0 Healthy {"health": "true"} etcd-1 Healthy {"health": "true"} NAME STATUS ROLES AGE VERSION worker-0 Ready 27m v1.10.3 worker-1 Ready 26m v1.10.3