Page cover image

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.

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.

nano cvpc-ns1.yaml

Copy and paste the following YAML contents.

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.

kubectl -n ns1 get cvpc
Check VPC

Last updated