> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guidance-for-enterprise/deka-gpu/deka-gpu-network/deka-vpc.md).

# Deka VPC

Deka VPC is one of the Deka GPU Service Portal which is network isolation used in each virtual namespace in the virtual cluster. This guide explains several things about Cloudeka VPC, including the following.

## Create namespace

Namespaces are used to group resources to make them more organized, and isolated. In the initial stages, you need to create a namespace. You can run the following syntax.

```bash
kubectl create ns ns1
```

After you have successfully executed the syntax above, you have successfully created a namespace with the name ns1 as in the image below.

## Create VPC for namespace

VPC(Virtual Private Cloud) is a virtual network isolated and deployed in your namespace in the Deka GPU Service Portal. You can run the following syntax.

```bash
nano cvpc-ns1.yaml
```

Copy and paste the following YAML contents.

```yaml
apiVersion: tenants.cloudeka.ai/v1alpha2
kind: CloudekaVPC
metadata:
  name: ns1
  namespace: ns1
spec:
  isolate: false
```

## Check VPC

To ensure you have successfully created Cloudeka VPC on ns1, you can run the syntax below.

```bash
kubectl -n ns1 get cvpc
```

<figure><img src="/files/ZgQvz1DEmPuFAUg2Vo9t" alt=""><figcaption><p>Check VPC</p></figcaption></figure>
