Getting Started with Spinnaker on GCP
Spinnaker is a popular Continuous Deployment tool that supports major cloud providers for deployment of applications on Kubernetes, Function as a Service (FaS), and so on. This chapter covers the Spinnaker architecture, components, and use cases. You will
- PDF / 5,092,206 Bytes
- 84 Pages / 439.37 x 666.142 pts Page_size
- 1 Downloads / 221 Views
Getting Started with Spinnaker on GCP Spinnaker is a popular Continuous Deployment tool that supports major cloud providers for deployment of applications on Kubernetes, Function as a Service (FaaS), and so on. This chapter covers the Spinnaker architecture, components, and use cases. You will also learn how to install and configure Spinnaker on GCP. The chapter covers the following topics: •
Features of Spinnaker
•
Architecture of Spinnaker
•
Spinnaker for GCP
•
Installation of Spinnaker on GCP
•
Using Spinnaker
•
Canary deployment use case with Spinnaker
Features of Spinnaker Spinnaker is an open source Continuous Deployment tool that natively supports deploying applications to major cloud providers like GCP, AWS, and so on. Spinnaker was jointly developed by Google and Netflix to © Navin Sabharwal, Piyush Pandey 2021 N. Sabharwal and P. Pandey, Pro Google Cloud Automation, https://doi.org/10.1007/978-1-4842-6573-4_3
71
Chapter 3
Getting Started with Spinnaker on GCP
accelerate their software delivery. Spinnaker is now open sourced and its growing community is actively working on new features and taking the product forward. Major contributors are Google, Netflix, Microsoft, Amazon, and others. The source code for Spinnaker is available on GitHub at https://github.com/spinnaker. Spinnaker is available as a Marketplace Solution in GCP and you can install it with just a few clicks. Spinnaker does not support Continuous Integration; however, it provides integration with market leader CI tools like Jenkins. There are other tools available on the market that provide implementation of CI/CD. Table 3-1 is a feature-wise comparison of Jenkins, JenkinsX, and Spinnaker.
Table 3-1. Feature-Wise Comparison Features
Jenkins
JenkinsX
Spinnaker
Declarative
YAML
JSON
GUI Pipeline as code Kubernetes-native (controller based) CI CD WebHook triggering Git Poll triggering Template support
DIY via scripting
Available Not Available Now let’s look at the key features of Spinnaker:
72
Chapter 3
Getting Started with Spinnaker on GCP
•
Multi-cloud support: Spinnaker supports major cloud providers like Google, Amazon, and so on.
•
Continuous Delivery tool: Spinnaker is a Continuous Delivery tool, as it deploys applications in a safe and automated manner.
•
Open source: Spinnaker is supported by large community of developers, including Google, Netflix, Amazon, and so on.
•
Supports major deployment strategies: Spinnaker supports many deployment strategies, including blue- green, rolling updates, canary, and highlander with easy rollbacks.
Spinnaker Architecture Spinnaker is a microservice-based architecture in which there are 11 independent microservices. The following is the list of these microservices: •
Deck: A browser-based UI and frontend service for Spinnaker.
•
Gate: An API gateway; all microservices of Spinnaker communicate with each other via this gateway.
•
Orca: An orchestration engine responsible for all ad hoc operations. This microservice is also responsible for pers
Data Loading...