Deployment to Kubernetes namespace with Git based Manifest

A Kubernetes manifest is a text file that details a deployment. Deployment manifests however are usually stored in a repository like Github or bitbucket.

To deploy a manifest, from ISD:

  1. Go to Continuous Delivery: When you log in to ISD you would start at the application dashboard, Click "Continuous Delivery" and then click "Spinnaker". ISD primarily supports spinnaker applications and allows you to access your spinnaker instance directly from ISD’s UI to help save your team time.

2. Click on the application where you want to build this pipeline: On the spinnaker dashboard, you will see a list of recently opened applications and options to see all your applications or create a new application entirely. For the purposes of this tutorial, we are using the application “Fresh tutorial”.

3. Once you click on an application, Click "Pipelines" navigate to the pipelines screen and then click "Create" button to create a new pipeline as shown in the image below.

4. Create pipeline: After clicking the "Create" button, you can create a new pipeline. You must name your pipeline. If you have an existing pipeline, you can copy it using the “copy from” feature and click "Create".

5. Once you created the application, below screen will appear and click "Configure" button to add stage into your pipeline.

6. Click on “add stage”: The add stage button is just under the diagrammatic representation of your pipeline. When you click this button, you can select many different types of stages that Spinnaker natively supports.

7. Select “Deployment”: You can add a host of different stages using a drop down menu. They are all alphabetically sorted. Scroll down and select “Deploy(Manifest)”.

8. Select your account: An account is the name given to a kubernetes cluster.

9. Select your namespace: A namespace is a specific address within a Kubernetes cluster, select the checkbox that says override namespace and you will be able to select the namespace in which your manifest will deploy.

10. Define the file and the repository you are going to deploy the artifact from: Select "Artifact", and you will be prompted to select the repository which you are deploying from. In addition you must specify the URL of the artifact and the branch it is located in.

11. After updating the required details, Click on "Save Changes" to deploy the Git based manifest.

Last updated