Spinnaker and Kubernetes (the peanut butter to your jam)

Apr 28, 2017 by Armory

Kubernetes: an open source container management tool for cloud management

  • I already have Kubernetes – why do I need Spinnaker?

Spinnaker is already made to fit Kubernetes out of the box and provides additional features that complements Kubernetes. Lars, a Google engineer working on Spinnaker-Kubernetes integration, says that the goal of Spinnaker is “to allow you to automate and make reliable your deployments and your rollback steps, so you can set up pipelines describing how you want to deploy to your cloud provider of choice and also safely rollback in case anything goes wrong.”

For our full talk with Lars and Matt, engineers working on Spinnaker at Google, go here

  • But does Spinnaker actually provide any extra features on top of Kubernetes?

The important thing to note is that Spinnaker streamlines deploying to Kubernetes – they do not do the exact same functions. If Kubernetes requires a rollback it will require multiple manual steps in order to do so whereas Spinnaker utilizes methods such as Red/Black (AKA Blue/Green) deployment strategy to facilitate immediate rollbacks as simply as possible. In short, Kubernetes is capable of automating your deployments but it is not meant for orchestrating them.

  • How does Spinnaker work with Kubernetes?

Spinnaker is the best at giving you oversight into your deployed infrastructure – showing you what you have running, what’s eating up traffic, what’s healthy, etc. The resource mapping of Spinnaker is based on server groups that are load-balanced behind services with security rules. While Kubernetes does have this type of deployments API, it isn’t always enough to give you a fully automated deployment flow from code to production. This is the gap that Spinnaker fills by allowing for orchestration of multiple steps through defining your deployment pipelines.

  • How mature is support for Kubernetes within Spinnaker?

Spinnaker is configured to work with Kubernetes out of the box. Google wrote the integration for supporting Kubernetes with Spinnaker and is constantly maintaining it.

For more information about Kubernetes within Spinnaker, see the Armory documentation documentation or Open Source Spinnaker documentation.

  • I want to keep my infrastructure as versioned code in my repository, but use the Spinnaker GUI to get visual input on how things are doing – can this be done?

The best way to achieve this is to use the Spinnaker API instead of the UI. Everything in Spinnaker is backed by JSON based APIs so you can always create your pipelines programmatically. Netflix is also working on declarative pipeline DSL.

Learn More

Share this post:

Recently Published Posts

Enforce Least Privilege & Separation of Duties during Continuous Deployment

Feb 2, 2023

Role-based access controls enforce the principles of least privilege and separation of duties in your continuous deployment pipeline to simplify SOC2.

Read more

Argo + Armory: Cross-environment orchestration made easy

Feb 1, 2023

Cross-environment orchestration that you don’t have to spend time building At Armory, our goal is software innovation, whether that’s our own Continuous Deployment solutions, or being able to help our customers reach higher innovation peaks within their software development. We’ve taken deliberate steps to make sure our products play well with others, with a focus […]

Read more

Navigating AWS Deployment Targets with Armory

Jan 20, 2023

Many organizations look to Amazon Web Services (AWS) to host and deploy their applications in the cloud. However, they’re finding that their deployment tooling, often built as an extension of their legacy continuous integration (CI), is one of the main impediments to adopting cloud services.  Custom-scripted production pipelines built with in-house tooling need to be […]

Read more