# 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>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/deka-gpu/deka-gpu-network/deka-vpc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
