Deploy Using Helm
This is an example guide on how to deploy SUSE Security via Helm to be used alongside SUSE Rancher installations. For further information regarding SUSE Security deployment methods, refer to Planning Deployments.
Prerequisites
Ensure you choose a SUSE Security chart version that is compatible with your SUSE Rancher version. Refer to the NeuVector feature in the Rancher Apps / Cluster Tools section of the SUSE Rancher support matrix for the latest compatible chart. Note all SUSE Security 5.x versions can be applied to all supported Rancher versions.
This example deploys the SUSE Security v5.4.9 chart (108.0.2+up2.8.11) for the Rancher v2.13.x release line.
Installation
-
Add the Helm repository and update to get the latest charts:
helm repo add rancher-charts https://charts.rancher.io/ helm repo update -
Install the
neuvector-crdchart:helm install neuvector-crd --namespace cattle-neuvector-system --create-namespace rancher-charts/neuvector-crd --version={chart-version}-
If your cluster has Pod Security Admission (PSA) enabled, you must label the namespace to allow privileged containers:
kubectl label namespace cattle-neuvector-system pod-security.kubernetes.io/enforce=privileged
-
-
If you already have a custom
values.yamlfile, ensure the following values are set. You can use thevalues.yamlfile at the followingrelease-v2.13chart as a template if needed.-
The
global.cattle.urlis set to your Rancher URL in a format such ashttps://your-rancher-url.com. -
Ensure the value of
controller.federation.managedsvc.typeis set toNodePort. -
The
global.cattle.systemDefaultRegistryis set to<Prime-Registry-URL>.To learn more about the Prime Registry URL, see our Prime-only documentation. Authentication is required. Use your SUSE Customer Center (SCC) credentials to log in.
Example: values.yaml... global: # required for Rancher authentication (https://<Rancher_URL>/) cattle: url: https://your-rancher-url.com # Update with your Rancher URL systemDefaultRegistry: <Prime-Registry-URL> ... controller: federation: managedsvc: type: NodePort prime: enabled: true # Activates Prime features in v5.4.6+
-
-
Install the main chart:
helm install neuvector --namespace cattle-neuvector-system --create-namespace rancher-charts/neuvector --version={chart-version} -f values.yaml -
Run the following command to find your
NodePortto access the SUSE Security UI. From the result below the specifiedNodePortis30101.kubectl get svc --namespace cattle-neuvector-system neuvector-service-webui NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE neuvector-service-webui NodePort 10.43.207.222 <none> 8443:30101/TCP 21m