6c6087273b
1. Simplify the config by using Halyard 2. Deploy spinnaker _to_ the k8s cluster rather than the VM 3. Deprecate the 201 template |
||
---|---|---|
.. | ||
README.md | ||
copy_kube_config.sh |
README.md
Copy kubeconfig file
Programatically copies a kubeconfig file from an Azure Container Service Kubernetes cluster to a Spinnaker machine.
Note: This script is only intended for use when copying the kubeconfig programatically with a Service Principal (aka when you do not have access to the ssh private key). If you want to do this manually, you can simply use 'scp'.
Prerequisites
This must be executed on a machine with an existing Spinnaker instance. The 'az' cli must be installed and you must already be logged in with the correct subscription set.
Arguments
Name | Description |
---|---|
--user_name -un |
The admin user name for the Kubernetes cluster. |
--resource_group -rg |
The resource group containing the Kubernetes cluster. |
--master_fqdn -mf |
The FQDN for the master VMs in the Kubernetes cluster. |
Example usage
./copy_kube_config.sh --user_name "adminuser" --resource_group "resourcegroup" --master_fqdn "samplemgmt.westus.cloudapp.azure.com"