Kubernetes Clusters

Kubernetes

This is the definition and administration layer for Oracle Container Engine for Kubernetes (OKE) clusters in Mastermind. It's easy to confuse with Cluster Explorer, so it's worth being precise about the difference: Kubernetes Clusters is where you register a cluster exists and configure how Mastermind connects to it and who's allowed to use it; Cluster Explorer is where you actually browse what's running inside an already-registered cluster. You need a cluster set up here before Cluster Explorer (or almost anything else cluster-related) has anything to show.

What a cluster definition holds

Subnets, network security groups, and node pools

Once a cluster has a working credential, Mastermind can sync its subnets, network security groups (NSGs), and node pools directly from OCI — click "Sync" on the cluster's page. This is read-only discovery: it shows you what already exists in OCI, it doesn't create anything by itself.

Creating a new node pool is a separate, explicit action: open a cluster's Node Pools page and use "Create Node Pool." This launches a real Ansible Tower job that provisions actual, billable OCI compute — you'll choose the node shape, image, Kubernetes version, node count, and placement (which subnets/availability domains), plus either reuse an existing compartment and NSG for the new nodes, or have the job create a brand new compartment and NSG for them as part of the same run.

If you're creating a new NSG for a node pool, its ingress/egress rules come from an NSG Shape — a reusable rule template (defined on the NSG Shapes page, separate from the per-cluster NSG list itself) that describes a set of rules in the abstract, including rules that reference "whichever other NSG you pick at apply time," so the same shape can be reused across different clusters without hardcoding a specific NSG's OCID into the template.

Namespaces

A cluster's namespace list in Mastermind isn't auto-discovered the same way subnets/NSGs are — it's the authoritative record of which customer owns which namespace, used to decide what a customer-scoped user is allowed to see or deploy to across the rest of the app. A namespace with no customer assigned is only usable by someone with the separate, more sensitive "manage namespaces" permission.

Permissions

read, manage (create/update/delete clusters and their allowed customers), reveal (decrypt and show the read kubeconfig — there is no reveal path for the admin kubeconfig at all), sync (trigger a subnet/NSG/ node-pool sync), manage_namespaces (a separate, more sensitive capability than general management, since it governs customer-based access control), and create_node_pools (kept separate from general manage since it provisions real, billable compute).