Spinnaker Pipelines - Deploying Resources into Kubernetes

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Connecting to the CloudAcademy Web based IDE
lock
Examine K8s Cluster Setup
lock
Examine Sample Web Application
lock
Configure and Deploy Spinnaker
lock
Configure Spinnaker Ingress
lock
Create Staging Pipeline
lock
Execute Staging Pipeline
lock
Create Manual Approval Pipeline
lock
Create Production Pipeline
lock
Execute Full Pipeline Setup

Ready for the real environment experience?

DifficultyIntermediate
Time Limit2h
Students53
Ratings
5/5
starstarstarstarstar

Description

Spinnaker is an open source, multi-cloud continuous delivery platform for releasing software changes with high velocity and confidence.

In this Lab scenario, you'll first install and configure Spinnaker into its own dedicated Kubernetes cluster. Next, you'll setup and configure a Spinnaker Pipeline which when triggered deploys resources (simple echoserver web application) into a Staging Kubernetes cluster. Finally, you'll extend this Spinnaker build and deployment configuration by adding in two more Pipelines, a Manual Judgement based Pipeline, and a Production Pipeline which promotes/deploys the validated resources into a Production Kubernetes cluster.

Lab Objectives

Upon completion of this Lab, you will be able to:

  • Use Halyard to setup, configure and deploy Spinnaker into its own dedicated Kubernetes cluster
  • Use the Spinnaker web application to:
    • Setup a Kubernetes deployment Pipeline to deploy resources (simple echoserver web application) stored in GitHub into a Staging Kubernetes cluster
    • Setup a Manual Judgement based Pipeline to manually approve the resources created in the Staging Kubernetes cluster.
    • Setup a Kubernetes deployment Pipeline to deploy the validated and approved resources (simple echoserver web application) into the Production Kubernetes cluster
  • Test and validate the Staging and Production deployed cluster resources using the curl command and the browser

You should:

  • Be comfortable with basic Linux command line administration
  • Be comfortable with basic Kubernetes and Container based concepts

Lab Environment

This Lab will start with the following AWS resources provisioned automatically for you:

  • 4 x EC2 instances - each assigned a public IP address:
    • ide.cloudacademy.platform.instance - provides a web-based IDE with integrated termina
    • spinnaker.k8s.cloudacademy.platform.instance - Spinnaker will be installed into the running Kubernetes cluster hosted on this instance
    • staging.k8s.cloudacademy.platform.instance - used to simulate a Staging environment, contains a running Kubernetes cluster
    • prod.k8s.cloudacademy.platform.instance - used to simulate a Production environment, contains a running Kubernetes cluster

To achieve the Lab end state, you will be walked through the process of:

  • Using your local workstation browser to remotely connect to the ide.cloudacademy.platform.instance
  • Using the web-based IDE and integrated terminal, you'll complete the remainder of the stated Lab Objectives (above)

Updates

August 24th, 2020 - Updated the GitHub repository link to point to the correct repo

About the Author
Students36395
Labs33
Courses93
Learning paths23

Jeremy is the DevOps Content Lead at Cloud Academy where he specializes in developing technical training documentation for DevOps.

He has a strong background in software engineering, and has been coding with various languages, frameworks, and systems for the past 20+ years. In recent times, Jeremy has been focused on DevOps, Cloud, Security, and Machine Learning.

Jeremy holds professional certifications for both the AWS and GCP cloud platforms.
 

Covered Topics