Not all scripts and functionality in this repo have been tested to work on the spinnaker-bastion. Only the following scripts and commands have been tested to work.
Use this section to manage your Spinnaker deployment going forward.
PROJECT_ID=ua-ops-deploy ~/cloudshell_open/spinnaker-for-gcp/scripts/manage/check_cluster_config.sh
Paste and run this command to pull the configuration from your Spinnaker deployment into your Cloud Shell.
~/cloudshell_open/spinnaker-for-gcp/scripts/manage/pull_config.sh
All halyard commands are available.
hal config
As with provisioning Spinnaker, don't use hal deploy connect
when managing
Spinnaker. Also, don't use hal deploy apply
. Instead, use the push_and_apply.sh
command shown below.
If you add a Kubernetes account that references a kubeconfig file, that file must live within
the '~/.hal/default/credentials
' directory on your VM. The
kubeconfig is specified using the --kubeconfig-file
argument to the
hal config provider kubernetes account add
and ...edit
commands.
A similar requirement applies for any other local file referenced from your halyard config,
including Google JSON key files specified via the --json-path
argument to various commands.
These files must live within '~/.hal/default/credentials
' or '~/.hal/default/profiles
'.
If you change any of the configuration, paste and run this command to push and apply those changes to your Spinnaker deployment.
~/cloudshell_open/spinnaker-for-gcp/scripts/manage/push_and_apply.sh
First, modify SPINNAKER_VERSION
in your properties
file to reflect the desired version of Spinnaker:
cloudshell edit ~/cloudshell_open/spinnaker-for-gcp/scripts/install/properties
Next, use Halyard to apply the changes:
~/cloudshell_open/spinnaker-for-gcp/scripts/manage/update_spinnaker_version.sh
First, modify HALYARD_VERSION
in your properties
file to reflect the desired version of Halyard:
cloudshell edit ~/cloudshell_open/spinnaker-for-gcp/scripts/install/properties
Next, apply this change to the Statefulset managing the Halyard daemon:
~/cloudshell_open/spinnaker-for-gcp/scripts/manage/update_halyard_daemon.sh
Restore a backup of the halyard configuration and deployment configuration from Cloud Source Repositories to your home directory.
~/cloudshell_open/spinnaker-for-gcp/scripts/manage/restore_backup_to_cloud_shell.sh -p ua-ops-deploy -r spinnaker-1-config -h GIT_HASH
All backups can be viewed in this Cloud Source Repository.