Spinnaker Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

CLI Access

https://spinnaker.io/docs/guides/spin/

Installation and Configuration

https://spinnaker.io/docs/setup/other_config/spin/
curl -LO https://storage.googleapis.com/spinnaker-artifacts/spin/$(curl -s https://storage.googleapis.com/spinnaker-artifacts/spin/latest)/darwin/amd64/spin
chmod +x spin
sudo mv spin /usr/local/bin/spin

Follow specific configuration instructions depending on the authentication method against the backend.

https://spinnaker.io/docs/setup/other_config/spin/#configure-spin

Options

-k|--insecure

Ignore certificate errors.

Operations

spin -k application list

Application Operations

Create an Application

Delivery Pipeline for Simple Java Application from GitHub to Kubernetes | Create Application

Configure an Application

TO PROCESS: https://spinnaker.io/docs/guides/user/applications/configure/

Artifact Accounts

Configure GitHub as an Artifact Account

TO PROCESS: https://spinnaker.io/docs/setup/other_config/artifacts/github/

GitHub Trigger - Allow GitHub to Post Push Events

TO PROCESS: https://spinnaker.io/docs/guides/tutorials/codelabs/kubernetes-v2-source-to-prod/#allow-github-to-post-push-events

Configure a Docker Registry Account

TO PROCESS: https://spinnaker.io/docs/setup/install/providers/docker-registry/

Docker Trigger - Allow Docker to Post Build Events

Configure a Docker Registry Trigger

Pipeline Operations

List Pipelines

spin [-k] pipeline list --application my-application

Create a Pipeline

https://spinnaker.io/docs/guides/user/pipeline/managing-pipelines/#create-a-pipeline
Create a Deployment Pipeline

Delete a Pipeline

spin pipeline delete --name my-pipeline --application my-application

Delivery Pipeline for Simple Java Application from GitHub to Kubernetes

Delivery Pipeline for Simple Java Application from GitHub to Kubernetes

Blue-Green Deployments with Spinnaker

Blue-Green Deployments with Spinnaker