/deployments

Kubernetes deployments and services

Deployments

First, check if you have kubectl access;

kubectl get nodes

Check whether the deployment does already exist;

kubectl get deployments

If not, apply

kubectl apply -f <cve>-deployment.yaml
kubectl apply -f <cve>-service.yaml

Creating a New Deployment and Service

Ports 30000 through 30050 are exposed on k3s.

Pick an unused (lowest) port;

kubectl get services

Create <cve>-deployment.yaml and <cve>-service.yaml accordingly.

References