# 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.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FPWLrTY44WJicfw6wyUJH%2Fimage.png?alt=media\&token=2a34c8b9-3e2d-490e-932e-06fd108e750a)

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”.**

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FKzkPmqHBIOTCfUIrCFio%2Fimage.png?alt=media\&token=351be9f5-d9a6-4a48-bbdc-2e2c3a6e5a15)

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.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FPDfFfavbyx6EFIonc74o%2Fimage.png?alt=media\&token=3a75264a-9188-4d7d-bc93-a1fcfc1ae479)

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**".

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F9X3ZA4CJaS0l2TjBCk0E%2Fimage.png?alt=media\&token=b28d7728-9bea-42f9-9201-a1a067d1d59f)

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

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FMlG39QGgHnyz8oo7HeuY%2Fimage.png?alt=media\&token=8439cf59-3e79-4077-9048-9e99865ab03e)

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.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FkzCZXQUThnUOHvIAwFkD%2Fimage.png?alt=media\&token=11c08ef4-8c18-435b-bb80-e2460c4757bd)

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)**”.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FOcs4IoUKxuKnZkwje9RS%2Fimage.png?alt=media\&token=5105d0ae-6e79-4fba-b674-0dcca42781fc)

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

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FAyowMyjwmIt6DEplfuyQ%2Fimage.png?alt=media\&token=0e2b9db2-d49e-4942-9a2c-de1e1d46c45a)

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.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FQ3XTQK4PiVvJIceNWqin%2Fimage.png?alt=media\&token=a75570e6-d4f0-4a57-a761-b1cb11a5b5f1)

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.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FCcn41podKOzRi0vFh2XD%2Fimage.png?alt=media\&token=004209c9-8c9e-4d93-86c4-da8d28c3cbbe)

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