Deployment to Kubernetes namespace with Manifest file

A Kubernetes manifest is a text file that details a deployment. Deploying a Kubernetes Manifest using Spinnaker is easy and has out-of-the-box stages when you build your pipelines.

To deploy a manifest from ISD follow the steps below:

  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. Add your manifest: Kubernetes manifests are in YAML, which means you can store them as basic text objects and copy and paste them as needed, or you can store them as an artifact in a Git repository and configure the pipeline to fetch them from that repository. Select the "Text" option as manifest source and add your manifest as shown below.

11. After adding your manifest, Click on "Save Changes" to deploy your manifest.

Last updated