Configuring a Spinnaker pipeline

Let's perform the following steps to upload your configuration to Spinnaker:

  1. Replace the following email in the owner-email section with yours and create the provided application in Spinnaker using the following command:
$ spin application save 
--application-name sample
--owner-email
[email protected]
--cloud-providers kubernetes
--gate-endpoint
http://localhost:8080/gate
  1. Upload the example pipeline to Spinnaker:
$ sed s/PROJECT/devopscookbook/g spinnaker/pipeline-deploy.json > pipeline.json
$ spin pipeline save --gate-endpoint http://localhost:8080/gate -f pipeline.json

The preceding command will export the configuration into a file called pipeline.json and upload it to Spinnaker.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.27.74