Helm based deployment to Kubernetes namespace
Last updated
Last updated
Helm Chart is a packaging tool for Kubernetes. It packages all of your disparate manifests as a singular object to advertise to your cluster.
To deploy a helm chart, follow the steps below:
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”: Once you created a new pipeline, Click "Add Stage" button. 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. Add a Bake stage: Select “Bake(Manifest)” stage from the drop down menu. Baking an artifact allows you to use this artifact later in your spinnaker pipeline, without having to define its parameters.
8. Configure Bake(Manifest): Select the Render engine from the drop down and provide the required details and then click "Save Changes" as shown in the image below.
9. Define your target namespace: Defining the namespace specifies where in your cluster this artifact will deploy.
10. Define the git repository branch and URL: Define the object you are baking.
11. Add a deploy stage: Now that you have baked an object, you don’t have to define its parameters.
12. Run pipeline Test your pipeline to make sure it works.