All Tools View Categories About Contact Privacy

Namespace YAML Generator

Build a valid Kubernetes Namespace (core/v1) from a name and optional labels.

Runs entirely in your browser - nothing is uploaded and no cluster connection is made.
0
labels
Your generated Namespace YAML will appear here.

About Namespace YAML Generator

A Namespace provides a scope for names and policies inside a Kubernetes cluster. The Namespace YAML Generator writes that manifest from a form so you do not have to recall the core/v1 schema.

You set the Namespace name - the only required field - and optionally add labels. The resulting YAML is valid core/v1 and is ready to apply with kubectl.

The name is validated as an RFC 1123 label. Problems are reported in a clear panel. Everything runs locally and nothing is uploaded.

Features

  • Name - required, RFC 1123 validated.
  • Labels - optional key/value metadata.
  • core/v1 - correct schema.
  • Validation - RFC 1123 name.
  • Copy / Download / Print - get namespace.yaml wherever you need it.

How to Use

  1. Name the Namespace. Type a valid RFC 1123 name.
  2. Add labels if you want.
  3. Watch the preview and export.

Examples

Example 1 - team. name team-a.

Example 2 - env. name staging.

Example 3 - labels. name prod with env=prod.

Benefits

  • Correct schema - valid core/v1 Namespace.
  • Validated - name checked.
  • Clean output - empty fields omitted.
  • Private - everything runs in the browser.
  • Copy, download or print - get the manifest where you need it.

Frequently Asked Questions

What is a Namespace?
A Namespace partitions a single Kubernetes cluster into multiple virtual clusters, so resources and policies can be scoped per team or environment.
What do I need to provide?
Just a name. Any labels you add are attached to the Namespace metadata.
Is the name validated?
Yes. The Namespace name must be a valid RFC 1123 label (lowercase letters, numbers and hyphens).
Does this connect to a cluster?
No. Everything is assembled in your browser and nothing is uploaded.
Can I download it?
Yes. Copy the YAML, download namespace.yaml, or print it.