Feedback

Chat Icon

DevSecOps in Practice

A Hands-On Guide to Operationalizing DevSecOps at Scale

Shifting Left with Security Policy as Code (SPaC)
86%

NeuVector: Installation and Configuration

To install NeuVector, we are going to use Helm. Before you proceed, make sure your cluster satisfies the requirements to run NeuVector. You may need to scale up your cluster to meet the minimum requirements.

Start by adding the NeuVector Helm repository:

helm repo add neuvector \
  https://neuvector.github.io/neuvector-helm/

Create the NeuVector namespace:

kubectl create namespace neuvector

Label the NeuVector namespace with a privileged profile for deploying on a PSA-enabled cluster.

kubectl label namespace neuvector \
  "pod-security.kubernetes.io/enforce=privileged"

To install the chart with the release name neuvector.

helm upgrade --install neuvector neuvector/core \
  --namespace neuvector \
  --set tag=5.4.2 \
  --set enforcer.privileged=true \
  --set containerd.enabled=true \
  --set containerd.path="/run/containerd/containerd.sock"

ℹ️ The values above are used with a DigitalOcean managed Kubernetes service (DOKS). If you are using a different Kubernetes service or an on-premises cluster (K3s, RKE2, etc.), you may need to adjust the values accordingly.

DevSecOps in Practice

A Hands-On Guide to Operationalizing DevSecOps at Scale

Enroll now to unlock current content and receive all future updates for free. Your purchase supports the author and fuels the creation of more exciting content. Act fast, as the price will rise as the course nears completion!