falcon-kac

by CrowdStrike

Helm chartv1.7.0App 7.40Verified publisher

A Helm chart to deploy CrowdStrike Falcon Kubernetes Admission Controller.

About this chart

CrowdStrike Falcon Kubernetes Admission Controller Helm Chart

The Falcon Kubernetes Admission Controller (KAC) is a custom plugin that you can deploy to your Kubernetes cluster to monitor and review Kubernetes objects when they are created. It’s deployed to a worker node in a cluster, and when enabled, it listens to post-authenticated API requests from the control plane.

Admission control policies tell the Falcon KAC what to do when it observes an Indicator of Misconfiguration (IOM) on a Kubernetes object. You can customize policies to apply to different areas of the cluster by namespace or object label. You can configure the action that the Falcon KAC takes when it encounters a misconfiguration. It can take no action, generate an alert, or prevent the object from being deployed.

Together, the Falcon KAC and the admission control policies provide continuous visibility and protection across your Kubernetes cluster.

Table of Contents

  • Getting Started
    • Helm Chart Support for Falcon Admission Controller Versions
  • Falcon Kubernetes Admission Controller Architecture Overview
  • Install Falcon Kubernetes Admission Controller
    • Install Falcon KAC Helm Chart
    • Update Falcon KAC
    • Uninstall Falcon KAC
  • Configuration Options
    • Image Configuration
    • Falcon Configuration Options
    • Secret Management
      • Using Existing Kubernetes Secrets
    • Secrets Store CSI Driver Integration
    • Admission Control
    • Cluster Visibility
    • Webhook Configuration
    • Image Analyzer Integration
    • Networking
    • Certificate Management
    • Deployment Configuration
    • Resource Limits
    • OpenShift

Getting Started

To install and deploy the Falcon Kubernetes Admission Controller, your cluster environment must meet these requirements:

  • Helm 3.x is installed and available in PATH
  • Helm 3.x is supported by your Kubernetes distribution
  • Your cluster is running on a supported x86_64, ARM64, or mixed Kubernetes environment

The Falcon Kubernetes Admission Controller has been deployed and tested on these Kubernetes distributions:

  • Amazon Elastic Kubernetes Service (EKS)
  • Google Kubernetes Engine (GKE)
  • Microsoft Azure Kubernetes Service (AKS)

Helm Chart Support for Falcon Admission Controller Versions

Helm Chart VersionFalcon KAC VersionNotes
1.7.0>= 7.33Fixes missing endpointslices permissions
1.6.0>= 7.33Added KAC extended resource monitoring capabilities which require additional RBAC permissions.falcon-kac images now use a non-regionalized unified image repo, starting with 7.33.
1.5.2<= 7.32Added falconImageAnalyzerNamespace param to support communication with Falcon Image Analyzer.
1.5.1<= 7.32—

[!IMPORTANT] Falcon KAC will have multi-arch images starting with version 7.26.x. Falcon KAC helm chart versions 1.4.x+ adds arm64 to the list of allowed architectures in node affinity to support KAC deployment to ARM64 clusters.

Depending on your network environment, you might need to allow TLS traffic on port 443 between your network and our cloud's network addresses:

CrowdStrike cloudNetwork address
US-1ts01-b.cloudsink.netlfodown01-b.cloudsink.net
US-2ts01-gyr-maverick.cloudsink.netlfodown01-gyr-maverick.cloudsink.net
US-3ts01.us-3.cloudsink.netlfodown01.us-3.cloudsink.net
EU-1ts01-lanner-lion.cloudsink.netlfodown01-lanner-lion.cloudsink.net
US-GOV-1ts01-laggar-gcw.cloudsink.netlfodown01-laggar-gcw.cloudsink.net

Falcon Kubernetes Admission Controller Architecture Overview

The Falcon KAC runs as a pair of containers in a pod on the worker node. It listens to the Kubernetes API to monitor Kubernetes objects. When a new object is created, the Falcon KAC evaluates the new object against the admission control policy to identify IOMs. The admission control policy tells the Falcon KAC how to respond to new objects: do nothing, create an alert in the Falcon console, or prevent the object from being deployed. The Falcon KAC comprises two containers:

  • Kubernetes Client (falcon-client) This is the validating webhook that is responsible for listening to events from the Kubernetes API and forwarding them to the admission control process.
  • Admission controller (falcon-ac) This is the controller process that is responsible for admission control policy management, cloud communication, and event handling.

The Falcon KAC does not monitor these namespaces:

  • falcon-kac
  • falcon-system
  • kube-system
  • kube-public

Install Falcon Kubernetes Admission Controller

  • Add the Crowdstrike Falcon Helm Repository:

    helm repo add crowdstrike https://crowdstrike.github.io/falcon-helm
    
  • Update the Falcon Helm Repository Cache

    helm repo update
    
  • Set a variable for the Falcon KAC image repository:

    export KAC_IMAGE_REPO=<registry_name>/falcon-kac
    
  • Set a variable for the Falcon KAC image tag:

    export KAC_IMAGE_TAG=<KAC_version>.container.x86_64.Release.<cloud_region>
    

    Example: The Falcon KAC image tag has this format 7.01.0-103.container.x86_64.Release.US-1

  • Set a Falcon CID variable:

    export FALCON_CID=<your_CID_with_checksum>
    

Tip: To find your CID with checksum, go to the CrowdStrike Sensor download page. At the top of the page, locate your CID checksum, and then click Copy your Customer ID checksum to the clipboard.

Install Falcon KAC Helm chart

  • Install the Falcon KAC Helm chart to a new namespace:

     helm install falcon-kac crowdstrike/falcon-kac \
      -n falcon-kac --create-namespace \
      --set falcon.cid=$FALCON_CID \
      --set image.repository=$KAC_IMAGE_REPO \
      --set image.tag=$KAC_IMAGE_TAG
    

    Tip: Use the --set flag to pass individual values to the values file when running helm install. For a complete list and description of configurable parameters, run

    helm show values crowdstrike/falcon-kac
    
  • Optional: Install the Falcon KAC Helm from a private registry that requires authentication:If your registry requires authentication, you must create a Kubernetes secret that can fetch the image from the registry.

    • Log into your Docker registry.
    • Fetch the base64 encoded pull secret:
       cat ~/.docker/config.json | base64 -w 0
      
    • Save the base64 string as a variable for the pull secret:
       export IMAGE_PULL_TOKEN=<base64_encoded_string>
      
     helm install falcon-kac crowdstrike/falcon-kac \
        -n falcon-kac --create-namespace \
        --set falcon.cid=$FALCON_CID \
        --set image.repository=$KAC_IMAGE_REPO \
        --set image.tag=$KAC_IMAGE_TAG \
        --set image.registryConfigJSON=$IMAGE_PULL_TOKEN
    

OpenShift Compatibility

Note: OpenShift is not a recommended configuration for this Helm chart. The official Red Hat certified CrowdStrike Falcon Operator is the recommended installation method for OpenShift clusters.

In the default configuration, all containers run as non-root with no privilege escalation and no host access, which satisfies the built-in restricted-v2 SCC without any additional configuration.

Security Context Constraints

If hostNetwork must be enabled (required when a custom CNI prevents control plane nodes from communicating directly with pods), a custom SCC that permits host network access is required. The chart can create this SCC automatically.

The SCC is managed as a standard Helm release resource and will be created on install and removed on uninstall.

Helm User Permissions: When openshift.createSCC: true, the user or service account running Helm must have permission to create, update, and delete SecurityContextConstraints resources at the cluster level.

To use an existing SCC instead, set openshift.createSCC=false, define openshift.sccName with the name of your SCC, and ensure the SCC is created prior to deployment. The SCC must be bound to the service account manually before installing.

For a full list of OpenShift configuration parameters, see OpenShift under Falcon Configuration Options.

Update Falcon KAC

When a new container image is available, you can update your Falcon KAC by passing the new container image to the Helm chart and then running a helm upgrade command. In general, Helm charts do not support auto-updating running resources. Falcon KAC does not support auto-update. You must manually update the Falcon KAC on your cluster or update through a GitOps or CI/CD pipeline per Kubernetes Best Operational and Security practices.

  • Set a new variable for the Falcon KAC container image tag:

    export KAC_IMAGE_TAG=<KAC_version>.container.x86_64.Release.<cloud_region>
    
  • Update your Helm chart with the new container image:

      helm upgrade --install falcon-kac $KAC_HELM_REPO \
         -n falcon-kac --create-namespace \
         --set falcon.cid=$FALCON_CID \
         --set image.repository=$KAC_IMAGE_REPO \
         --set image.tag=$KAC_IMAGE_TAG
    

    Note: Your deployment will update only when you change the inputs for helm upgrade, for example by changing the image reference.

Adding clusterName to an Existing Deployment

If you are adding a clusterName value to an existing Falcon KAC deployment where it was not previously set, you must first delete the falcon-kac-meta ConfigMap before running helm upgrade:

kubectl delete configmap falcon-kac-meta -n falcon-kac

Then proceed with the helm upgrade command including the --set clusterName=<your-cluster-name> parameter. This is necessary because Helm cannot take ownership of resources that were not originally created by the Helm release.

  • Verify that the new version of the Falcon KAC is running on the falcon-kac pods:

    kubectl get pods -n falcon-kac -o jsonpath='{range .items[*]}{"\n"}{.metadata.name}{":\t"}{range .spec.containers[*]}{.image}{", "}{end}{end}'
    

    The output looks similar to the example below and shows that version falcon-kac:7.01.0-103.container.x86_64.Release.US-1 is running on both Falcon KAC pods.

    falcon-kac-5bd6986f6f-x86vw: falcon-kac:7.01.0-103.container.x86_64.Release.US-1, falcon-kac:7.01.0-103.container.x86_64.Release.US-1,
    

Uninstall Falcon KAC

  • Uninstall the admission controller from the falcon-kac namespace:
    helm uninstall falcon-kac -n falcon-kac
    
  • Delete the namespace:
    kubectl delete ns falcon-kac
    

Configuration Options

The following sections list all configurable Falcon KAC parameters grouped by function.

Image Configuration

Settings that control which container image is pulled and how it is authenticated.

ParameterDescriptionDefault
image.repositoryContainer image repositoryfalcon-kac
image.tagImage tag. Prefer image.digest for immutability; this field is provided for legacy compatibility.latest
image.digestImage digest (sha256:...). Overrides image.tag when set.None
image.pullPolicyKubernetes image pull policyAlways
image.pullSecretsList of existing Kubernetes image pull secret namesNone
image.registryConfigJSONBase64-encoded Docker config.json used to create an image pull secret. Conflicts with image.pullSecrets.None

Falcon Configuration Options

Core sensor identit

Deploy falcon-kac with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has falcon-kac 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 chartfalcon-kac is pinned at v1.7.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