# KubernetesNamespace

> Resource KubernetesNamespace in pulumi-portainer.

<!-- Generated from the pulumi-portainer SDK. -->

Resource KubernetesNamespace in pulumi-portainer.

Pulumi type: `portainer:index/kubernetesNamespace:KubernetesNamespace`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as portainer from "pulumi-portainer"

const resource = new portainer.KubernetesNamespace("kubernetesNamespace", {
  environmentId: 0,
})
```

## Arguments

| Property                | Type                        | Required | Description                                                                            |
| ----------------------- | --------------------------- | -------- | -------------------------------------------------------------------------------------- |
| `annotations`           | `{ [key: string]: string }` | no       | Map of annotations applied to the Kubernetes namespace.                                |
| `environmentId`         | `number`                    | yes      | Identifier of the Portainer Kubernetes environment where the namespace is created.     |
| `kubernetesNamespaceId` | `string`                    | no       |                                                                                        |
| `name`                  | `string`                    | no       | Name of the Kubernetes namespace (metadata.name).                                      |
| `owner`                 | `string`                    | no       | Owner label assigned to the namespace in Portainer.                                    |
| `resourceQuota`         | `{ [key: string]: string }` | no       | Resource quota limits applied to the namespace (e.g. cpu, memory limits and requests). |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property                | Type                        | Computed | Description                                                                            |
| ----------------------- | --------------------------- | -------- | -------------------------------------------------------------------------------------- |
| `annotations`           | `{ [key: string]: string }` | no       | Map of annotations applied to the Kubernetes namespace.                                |
| `environmentId`         | `number`                    | no       | Identifier of the Portainer Kubernetes environment where the namespace is created.     |
| `kubernetesNamespaceId` | `string`                    | no       |                                                                                        |
| `name`                  | `string`                    | no       | Name of the Kubernetes namespace (metadata.name).                                      |
| `owner`                 | `string`                    | no       | Owner label assigned to the namespace in Portainer.                                    |
| `resourceQuota`         | `{ [key: string]: string }` | no       | Resource quota limits applied to the namespace (e.g. cpu, memory limits and requests). |
