Continuous Delivery with Spinnaker on Kubernetes Cluster

Continuous Delivery with Spinnaker on Kubernetes Cluster

Continuous Delivery with Spinnaker on Kubernetes Cluster Ananda Dwi Rahmawati [email protected] About Me Cloud Engineer [at] Boer Technology Applied Undergraduate Student [at] UGM Activist [at] BlankOn Tech Enthusiast Keep in touch with me [at] @misskecupbung Requirement(s) - Bash Shell - Cloud Provider - Docker - Kubernetes Continuous Integration Integrating Continuous Integration Store Code Build Unit Test(s) Artifacts Test Pass Test Fail QA and Prod Can Use Continuous Integration with Containers Integrating Continuous Integration Store in Build Container Unit Code Container Container Test(s) Registry Test Fail Test Pass QA and Prod Can Use for Deployments Deployment or Delivery? Code Build Unit Test(s) Store Artifacts … Delivery Continuous …. Manual Deployment Store Get Code Stage Test Artifacts Auto Deployment … Deployment Deployment or Delivery? - Delivery: - Land of Operator - Deployment may be automated, but often as a part of idempotent deployment tools (e.g Ansible, Puppet, etc) - Deployment: - Release and idempotently deploy an application - Need to support rollback - May still make us of deployment tools - Containers make this much simpler Spinnaker - Pronunciation → spĭnʹəkər - Open Source multi-cloud CD platform | Inventory + Pipelines - A supplemental sail to the main sail, especially a triangular one, used on yachts for running before the wind - Initially developed by Netflix's Asgard (2014), Open-Sourced in 2015 | Built for releasing software changes with high velocity, confidence | Designed with pluggability in mind - Support for all major Cloud Provider (App Engine, GCP, Azure, AWS, DC/OS, Oracle Cloud, Cloud Foundry) Spinnaker Core Features - Cluster Management - Deployment management - Multi-cloud capable - Deployments are built-in and no custom scripting in needed Spinnaker Advantages ○ Multi-Cloud CI/CD ○ Halyard CLI ○ Variable pipeline type, easy rollback ○ Packer, Helm Packaging, Terraform, ○ Flexible pipeline management system ○ RBAC ○ Variable deployment strategy ○ Notification: email, slack, and even (Blue-Green, Rolling Red/Back, sms Canary) ○ Safe deployment: judgement ○ Hybrid Cloud (VM/Container) ○ Chaos monkey built-in ○ CI (Jenkins and more) ○ Community (github, slack, https://community.spinnaker.io) Spinnaker Architecture - Deck: Web-Based UI - Igor: Trigger Pipeline - Gate: API Gateway - Echo: eventing bus - Orca: Orchestration Engine - Flat: Auth service - Clouddriver: Indexing/Caching - Kayenta: Canary Analysis - Front50: Metadata - Halyard: Configuration service - Rosco: Prod VM Images Spinnaker Architecture Spinnaker Halyard Configuration and Credentials .hal/ Halyard ./hal/config Azure Storage Google Cloud Storage Minio Deploy Redis S3 Oracle Object Storage Spinnaker Minio Metadata storage 127.0.0.1:9000 Let’s Try https://s.id/sp-oicndi2020 Create an Application https://github.com/misskecupbung/spinnaker-example Create a Manifest https://github.com/misskecupbung/spinnaker-example Create a Pipeline More Explore(s) - Parallel Action - Integrating artifacts - Triggering from webhooks - Parameterization of manifests - Rollback and Scale - Manual Gate - etc Resource(s) - https://spinnaker.io/setup/install/ - https://min.io/download#/linux - https://kubernetes.io/id/docs/ - https://spinnaker.io/community/releases/versions/1-19-0-changelog - https://github.com/spinnaker/halyard Thank you..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    20 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us