nutanix-core-flow-container-security

by Nutanix

Helm chartv1.1.0App 1.1.0Verified publisher

A Helm chart for Flow Container Security - EntityGroup Controller and Flow Processor

About this chart

Flow Container Security Helm Chart

A unified Helm chart for deploying Flow Container Security components: Flow CNS Controller and Flow Processor.

Overview

This chart can deploy one or both of the following components:

  • Flow CNS (Controller): EntityGroup controller for managing Kubernetes network security
  • Flow Processor: Processes flow data from in-cluster NATS and exports to external NATS

Both components use the same Docker image (flow-cns:latest) which contains both binaries (/manager and /flow-processor).

Installation

Deploy Both Components (Recommended)

helm install flow-container-security ./flow-container-security \
  -n flow-cns-system --create-namespace \
  --set flowCns.enabled=true \
  --set flowProcessor.enabled=true \
  --set flowProcessor.cluster.id=my-cluster \
  --set flowProcessor.destNats.url=nats://external-nats:4222

Deploy Only Flow CNS

helm install flow-container-security ./flow-container-security \
  -n flow-cns-system --create-namespace \
  --set flowCns.enabled=true \
  --set flowProcessor.enabled=false

Deploy Only Flow Processor

helm install flow-container-security ./flow-container-security \
  -n flow-processor-system --create-namespace \
  --set flowCns.enabled=false \
  --set flowProcessor.enabled=true \
  --set flowProcessor.cluster.id=my-cluster \
  --set flowProcessor.destNats.url=nats://external-nats:4222

Required Configuration

Flow Processor Requirements

When enabling Flow Processor (flowProcessor.enabled=true), you must configure:

  1. Cluster ID (required):

    --set flowProcessor.cluster.id=my-unique-cluster-id
    
  2. Destination NATS URL (required):

    --set flowProcessor.destNats.url=nats://external-nats-server:4222
    

Configuration Values

Global Settings

ParameterDescriptionDefault
image.repositoryContainer image repositoryartifactory.dyn.ntnxdpro.com/canaveral-legacy-docker/nutanix-core/flow-container-security
image.tagImage tag (overrides appVersion)""
image.pullPolicyImage pull policyIfNotPresent

Flow CNS Settings

ParameterDescriptionDefault
flowCns.enabledEnable Flow CNS deploymenttrue
flowCns.replicaCountNumber of replicas1
flowCns.resourcesResource limits/requests{}

Flow Processor Settings

ParameterDescriptionDefault
flowProcessor.enabledEnable Flow Processor deploymentfalse
flowProcessor.replicaCountNumber of replicas2
flowProcessor.cluster.idRequired - Unique cluster identifier""
flowProcessor.sourceNats.urlIn-cluster NATS URLnats://flow-cni-nats.flow-cni-system.svc.cluster.local:4222
flowProcessor.sourceNats.subjectNATS subject to subscribeconntrack.data
flowProcessor.destNats.urlRequired - External NATS URL""
flowProcessor.destNats.subjectNATS subject to publishflows.processed
flowProcessor.processor.workerCountNumber of worker goroutines5
flowProcessor.processor.batchSizeMessage batch size10
flowProcessor.processor.enableK8sEnrichmentEnable Kubernetes metadata enrichmenttrue
flowProcessor.resources.limits.cpuCPU limit500m
flowProcessor.resources.limits.memoryMemory limit512Mi
flowProcessor.resources.requests.cpuCPU request250m
flowProcessor.resources.requests.memoryMemory request256Mi

Using Values File

Create a values.yaml file:

image:
  repository: myregistry/flow-container-security
  tag: v1.0.0

flowCns:
  enabled: true
  replicaCount: 1

flowProcessor:
  enabled: true
  replicaCount: 3
  
  cluster:
    id: prod-cluster-01
  
  destNats:
    url: nats://external-nats.example.com:4222
    subject: flows.processed
  
  processor:
    workerCount: 10
    batchSize: 20
    enableK8sEnrichment: true
  
  resources:
    limits:
      cpu: 1000m
      memory: 1Gi
    requests:
      cpu: 500m
      memory: 512Mi

Install with:

helm install flow-container-security ./flow-container-security \
  -n flow-cns-system --create-namespace \
  -f values.yaml

Uninstallation

helm uninstall flow-container-security -n flow-cns-system

Architecture

The unified image approach provides:

  • Efficient builds: Single image build contains both binaries
  • Shared layers: Reduced total image size
  • Flexible deployment: Same image, different commands
  • Simplified management: One image to version and distribute

How It Works

Both deployments use the same container image but specify different commands:

  • Flow CNS: command: ["/manager"]
  • Flow Processor: command: ["/flow-processor"]

Makefile Shortcuts

From the services/flow-cns directory:

# Build unified Docker image
make docker-build

# Deploy only Flow CNS
make deploy-cns

# Deploy only Flow Processor
make deploy-processor

# Deploy both components
make deploy-all

# Undeploy
make undeploy-all

Support

For issues or questions, contact the Nutanix Flow Team.

Deploy nutanix-core-flow-container-security with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nutanix-core-flow-container-security on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnutanix-core-flow-container-security is pinned at v1.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply