Skip to content

K8s Namespace

Andy Potanin edited this page Jun 21, 2026 · 1 revision

Creates a Kubernetes namespace.

Use this module when a standalone namespace is needed without the full tenant provisioning provided by k8s-access.

Supported Features

  • Namespace creation.

Prerequisites

  • A kubeconfig with cluster admin or namespace creation permissions.

Important Notes

  • For tenant onboarding, prefer k8s-access which creates a namespace along with service accounts, RBAC, and kubeconfig secrets.
  • This module creates only the namespace resource with no additional configuration.

Minimal Example

services:
  - name: "k8s Namespace"
    module: "k8s-namespace"
    id: "namespace"
    deployment_order: 60
    configurations:
      namespace: "my-namespace"

Outputs

This module does not produce outputs.

Full Configuration Schema

The fields below are public module inputs under configurations.

configurations:
  namespace: "my-namespace"
Field Type Required Description
namespace string Yes Kubernetes namespace name.

Clone this wiki locally