Deployment Sets

Deploying Applications

Deployment Sets is Mastermind's general-purpose way to define and deploy an application to a Kubernetes cluster. A Deployment Set is a reusable, cluster/namespace-agnostic bundle of Kubernetes object definitions — Workloads (Deployments/StatefulSets/DaemonSets), Services, ConfigMaps, Secrets, PersistentVolumes and Claims, Certificates, NetworkPolicies, HorizontalPodAutoscalers, ServiceMonitors — authored once through a left-to-right wizard, then deployed to one or more actual clusters/namespaces as a Release.

This is the first "workflow-style" plugin in Mastermind — rather than the grid-and-modal pattern most other plugins use, authoring a Deployment Set walks you through its object types step by step.

Deployment Sets vs. Releases vs. Release Versions

Core workflow

  1. Create a new Deployment Set, choose its owning customer, and use the wizard to add the Kubernetes objects it needs (Workloads, Services, ConfigMaps, Secrets, and so on). Image references on Workload objects can be picked live from a discovered container registry (see Metadata) instead of typing a full image path by hand.
  2. Finalize the Deployment Set once it's ready to be deployed anywhere.
  3. Create a Release: pick the target cluster and namespace (both from a live, permitted list — you won't need to already know a cluster's internal ID).
  4. Click Deploy. This launches an Ansible Tower job that actually applies the rendered manifests to the cluster, using the cluster's admin kubeconfig.
  5. Each subsequent Deploy, or an explicit Rollback to an earlier version, creates (or re-applies) a Release Version.

Overrides

A Release can override certain values from the Deployment Set's base definitions without changing the reusable template itself — for example, picking a specific node pool's label to target with a nodeSelector, or overriding a PersistentVolume's underlying OCI Block Volume OCID for one specific deployment. Most override fields are live pickers scoped to the target cluster; a small number (like a Block Volume OCID override) are free-text, since there's no live "list every block volume" picker behind them yet.

If the node pool you want to target has no Kubernetes label set on it in OCI yet, the Deploy dialog will tell you so and ask you to either add a label to that node pool directly in the OCI console (then re-sync the cluster on the Kubernetes Clusters page) or pick a different pool — there's currently no way to add that label from within Mastermind itself.

Cleanup and deletion

"Cleanup" (removing a Release's deployed objects from the live cluster) is a separate, more sensitive permission from ordinary deploy/rollback, and requires typing a confirmation string matching the release's namespace before it proceeds — this is one of the few places in Mastermind that asks for a typed confirmation rather than a simple yes/no, specifically because it's a genuinely hard-to-undo action against a live cluster.

Permissions

read, manage (create/edit/finalize sets and their objects), deploy (deploy a finalized set, and roll back a release), and cleanup (delete a release's deployed objects from the cluster — separated from deploy because it's materially more dangerous).