---
title: "namespace"
linkTitle: "namespace"
type: docs
weight: 12
description: >
    Adds namespace to all resources.
---
`apiVersion: kustomize.config.k8s.io/v1beta1`

See the [Tasks section] for examples of how to use `namespace`.

### namespace
Adds namespace to all resources.

* **namespace** (string)

    Namespace to add to all resources. This will override Namespace values that already exist.


[Tasks section]: /docs/tasks/namespaces_and_names/
