{"id":2031,"date":"2022-02-04T17:48:53","date_gmt":"2022-02-04T17:48:53","guid":{"rendered":"https:\/\/blog.samarthya.me\/wps\/?p=2031"},"modified":"2022-02-05T15:27:56","modified_gmt":"2022-02-05T15:27:56","slug":"spinnaker-pipeline-in-action","status":"publish","type":"post","link":"https:\/\/blog.samarthya.me\/wps\/2022\/02\/04\/spinnaker-pipeline-in-action\/","title":{"rendered":"Spinnaker: Pipeline in action"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"step-1-create-a-new-project\">Step 1: Create a new project<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"898\" src=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.32.26-PM-1024x898.png\" alt=\"\" class=\"wp-image-2032\" srcset=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.32.26-PM-1024x898.png 1024w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.32.26-PM-300x263.png 300w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.32.26-PM-1536x1347.png 1536w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.32.26-PM.png 1758w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Creating Project<\/figcaption><\/figure>\n\n\n\n<p>Create an application that we will manage<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" width=\"1024\" height=\"1001\" src=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.35.18-PM-1024x1001.png\" alt=\"\" class=\"wp-image-2033\" srcset=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.35.18-PM-1024x1001.png 1024w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.35.18-PM-300x293.png 300w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.35.18-PM.png 1172w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Configure the pipeline and stages<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" width=\"1024\" height=\"210\" src=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.35.36-PM-1024x210.png\" alt=\"\" class=\"wp-image-2034\" srcset=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.35.36-PM-1024x210.png 1024w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.35.36-PM-300x62.png 300w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.35.36-PM.png 1336w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Eventually the pipeline would look like this<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"152\" src=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.39.22-PM-1024x152.png\" alt=\"\" class=\"wp-image-2036\" srcset=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.39.22-PM-1024x152.png 1024w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.39.22-PM-300x44.png 300w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.39.22-PM-1536x228.png 1536w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.39.22-PM-2048x304.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Add a new stage <code>helm-chart<\/code> with bake Manifest configuration &amp; choose the options as under. You will have to configure the account beforehand in the <code>halyard<\/code><\/p>\n\n\n\n<p class=\"has-white-color has-vivid-cyan-blue-background-color has-text-color has-background\">Bake stages take an artifact and turn it into an immutable infrastructure primitive like an Amazon Machine Image (AMI) or a Docker image. T<\/p>\n\n\n\n<p>Add stage<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"244\" src=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-05-at-8.54.20-PM-1024x244.png\" alt=\"\" class=\"wp-image-2053\" srcset=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-05-at-8.54.20-PM-1024x244.png 1024w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-05-at-8.54.20-PM-300x71.png 300w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-05-at-8.54.20-PM-1536x366.png 1536w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-05-at-8.54.20-PM-2048x488.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Adding stage<\/figcaption><\/figure>\n\n\n\n<p>In our example we will use bake manifest<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"395\" src=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.37.54-PM-1024x395.png\" alt=\"\" class=\"wp-image-2035\" srcset=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.37.54-PM-1024x395.png 1024w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.37.54-PM-300x116.png 300w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.37.54-PM-1536x593.png 1536w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.37.54-PM-2048x791.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Bake manifest<\/figcaption><\/figure>\n\n\n\n<p>Examples of stages<br>\u2022 Bake (create an AMI or Docker image)<br>\u2022 Tag Image<br>\u2022 Find Image\/Container from a Cluster\/Tag<br>\u2022 Deploy<br>\u2022 Disable\/Enable\/Resize\/Shrink\/Clone\/Rollback a Cluster\/Server Group<br>\u2022 Run Job (run a container in Kubernetes)<\/p>\n\n\n\n<p>Do check the configuration as under (edit display name as required)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"163\" src=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.38.01-PM-1024x163.png\" alt=\"\" class=\"wp-image-2037\" srcset=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.38.01-PM-1024x163.png 1024w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.38.01-PM-300x48.png 300w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.38.01-PM-1536x244.png 1536w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.38.01-PM-2048x326.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>name you can choose<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"627\" src=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-11.12.11-PM-1024x627.png\" alt=\"\" class=\"wp-image-2038\" srcset=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-11.12.11-PM-1024x627.png 1024w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-11.12.11-PM-300x184.png 300w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-11.12.11-PM-1536x940.png 1536w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-11.12.11-PM.png 1764w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click save.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-2-add-another-stage\">Step 2: Add another stage<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"373\" src=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.39.33-PM-1024x373.png\" alt=\"\" class=\"wp-image-2039\" srcset=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.39.33-PM-1024x373.png 1024w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.39.33-PM-300x109.png 300w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.39.33-PM-1536x560.png 1536w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.39.33-PM-2048x747.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Finally time to test<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.47.08-PM-1024x567.png\" alt=\"\" class=\"wp-image-2040\" srcset=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.47.08-PM-1024x567.png 1024w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.47.08-PM-300x166.png 300w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.47.08-PM-1536x851.png 1536w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-10.47.08-PM-2048x1135.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"447\" src=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-11.17.20-PM-1024x447.png\" alt=\"\" class=\"wp-image-2041\" srcset=\"https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-11.17.20-PM-1024x447.png 1024w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-11.17.20-PM-300x131.png 300w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-11.17.20-PM-1536x670.png 1536w, https:\/\/blog.samarthya.me\/wps\/wp-content\/uploads\/2022\/02\/Screenshot-2022-02-04-at-11.17.20-PM-2048x893.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>spinnaker<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Step 1: Create a new project Create an application that we will manage Configure the pipeline and stages Eventually the pipeline would look like this Add a new stage helm-chart with bake Manifest configuration &amp; choose the options as under. You will have to configure the account beforehand in the halyard Bake stages take an [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2040,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[195,34],"tags":[227],"class_list":["post-2031","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-kubernetes","category-technical","tag-spinnaker","post_format-post-format-image"],"_links":{"self":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/posts\/2031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/comments?post=2031"}],"version-history":[{"count":0,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/posts\/2031\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/media\/2040"}],"wp:attachment":[{"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/media?parent=2031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/categories?post=2031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.samarthya.me\/wps\/wp-json\/wp\/v2\/tags?post=2031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}