To manually deploy the Carbon Black Container Agent, perform the following procedure.

Prerequisites

Manually Deploy the Container Operator

Procedure

  1. Apply the Carbon Black Container API token secret:
    kubectl create secret generic cbcontainers-access-token \
    --namespace cbcontainers-dataplane --from-literal=accessToken=\
    {API_Secret_Key}/{API_ID}
    kubectl create secret generic cbcontainers-company-code --namespace cbcontainers-dataplane --from-literal=companyCode=RXXXXXXXXXXG\!XXXX
    
  2. Apply the Carbon Black Container Agent custom resource:

    Deploy cbcontainersagents.operator.containers.carbonblack.io to prompt the Operator to deploy the dataplane components:

    apiVersion: operator.containers.carbonblack.io/v1
    kind: CBContainersAgent
    metadata:
      name: cbcontainers-agent
    spec:
      account: {ORG_KEY}
      clusterName: {CLUSTER_GROUP}:{CLUSTER_NAME}
      version: {AGENT_VERSION}
      gateways:
        apiGateway:
          host: {API_HOST}
        coreEventsGateway:
          host: {CORE_EVENTS_HOST}
        hardeningEventsGateway:
          host: {HARDENING_EVENTS_HOST}
        runtimeEventsGateway:
          host: {RUNTIME_EVENTS_HOST}