Aug 22, 2019 by Nicolas Cohen
Our customers overwhelmingly install Spinnaker in Kubernetes to take advantage of out-of-the-box scaling and roll out of new settings or versions. But we also hear that Spinnaker can be hard to install and manage when administrators are used to deploy and configure other tools with
Today, we’re sharing a project we’ve been working on: a Kubernetes operator for Spinnaker. The Spinnaker operator lets you manage the entire lifecycle of Spinnaker with your favorite tools.
Operators can perform various functions from deployment to monitoring. Our first iteration lets you deploy Spinnaker without using Halyard and creates load balancers to expose Spinnaker. Let’s see how it works.
$ kubectl -n mynamespace apply -f kubernetes/basic/
Installing the operator consists of 5 Kubernetes manifests:
Deploymentobject for the operator itself.
$ kubectl -n mynamespace apply -f example/spin-config.yml $ kubectl -n mynamespace apply -f example/spinnaker-service.yml
The first manifest is a
configMap that contains all the necessary information to configure Spinnaker. It should not contain any secrets (read how to separate secrets from configuration) but you could still use a
The second manifest simply references the second one:
apiVersion: spinnaker.io/v1alpha1 kind: SpinnakerService metadata: name: spinnaker spec: spinnakerConfig: configMap: name: spinconfig-v001
That’s it! The operator will pick up the configuration and deploy Spinnaker.
Need to make a change? Update the
SpinnakerService to point to a different
configMap or just update the
configMap itself. The entire Spinnaker configuration is represented in standard Kubernetes objects that you can store in git. You don’t need to invoke Halyard from your CI tool.
Got questions or suggestions? Want to give it a try? Get in touch to see how this would help you install and upgrade Spinnaker in your environment.
Update 8/27/19: The operator has been open-sourced at: https://github.com/armory/spinnaker-operator
Spinnaker is the most powerful continuous delivery tool on the market. DevOps engineers and developers recognize this power and are looking to use Spinnaker as a foundational tool in their Continuous Integration and Continuous Delivery (CI/CD) process for hybrid and multi-cloud deployments. Such a powerful, expansive open source tool needs expertise within your organization to […]
Read more →
Today, Armory is excited to announce the availability of the GitHub Action for Armory Continuous Deployment-as-a-Service. GitHub is where developers shape the future of software. After a developer writes and tests their code in GitHub, it must be deployed. Armory’s GitHub Action for Continuous Deployment-as-a-Service extends the best-in-class deployment capabilities to Kubernetes. CD-as-a-Service enables declarative […]
Read more →
Call me Pollyanna, but what a great time to be a Platform or DevOps engineer. If you’re working in a public company, the S&P is off ~20% year over year, so the value of your RSUs has wilted. If you’re working in a private company, venture funding and M&A velocity are anemic, making expansion capital […]
Read more →