Manage Armory Enterprise using the Operator

Manage, upgrade, or uninstall Armory Enterprise or Spinnaker using the Operator.

This guide is for both the Armory Operator and the Spinnaker Operator. Armory Enterprise and Spinnaker configuration is the same except for features only in Armory Enterprise. Those features are marked Proprietary.

Kubernetes tools

You use kubectl to manage the Armory Enterprise or Spinnaker lifecycle like you do with other applications deployed to Kubernetes. For example:

List instances

kubectl get spinnakerservice --all-namespaces

Describe instances

You can use spinsvc instead of spinnakerservice:

kubectl -n <namespace> describe spinsvc spinnaker

Consult the kubectl docs for a list of commands.

Deploy Armory Enterprise

kubectl -n <namespace> apply -f <path-to-manifest-file>

kubctl -n <namespace> apply -k <path-to-kustomize-directory>

You can watch the installation progress by executing:

kubectl -n <namespace> get spinsvc spinnaker -w

You can verify pod status by executing:

 kubectl -n <namespace> get pods

Upgrade Armory Enterprise

Change the version field in your manifest file to the target version for the upgrade:

kind: SpinnakerService
metadata:
 name: spinnaker
spec:
 spinnakerConfig:
   config:
     version: <version>

Apply the updated manifest:

kubectl -n <namespace> apply -f <path-to-manifest-file>

Change the version field in your Kustomize patch to the target version for the upgrade.

Apply the update:

kubctl -n <namespace> apply -k <path-to-kustomize-directory>

You can view the upgraded services starting up by executing describe:

kubectl -n <namespace>  describe spinsvc spinnaker

Verify the upgraded version of Spinnaker:

kubectl -n <namespace> get spinsvc

The command returns information similar to the following:

NAME         VERSION
spinnaker    2.20.2

VERSION should reflect the target version for your upgrade.

Delete Armory Enterprise

kubectl -n <namespace> delete spinnakerservice spinnaker

Help resources

What’s next


Last modified April 16, 2021: (3f9b597)