> ## Documentation Index
> Fetch the complete documentation index at: https://docs-xcor.paloaltonetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Install a Core Operator in a Kubernetes cluster

> Install a Core Operator to run Palo Alto Networks Telemetry Pipeline in a Kubernetes cluster.

> [!NOTE]
>
> This information is for Palo Alto Networks Telemetry Pipeline, which is a standalone
> product separate from Palo Alto Networks Cortex XCOR.

To get started with Palo Alto Networks Telemetry Pipeline on Kubernetes, you'll need to
install a [Core Operator](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/concepts.md#core-operator)
in each Kubernetes cluster where you want to deploy pipelines.

## Supported Kubernetes distributions

Palo Alto Networks Telemetry Pipeline is compatible with the following distributions of Kubernetes:

* Open Source Kubernetes 1.25 or later
* Amazon Kubernetes Service (EKS)
* Azure Kubernetes Service (AKS)
* Google Kubernetes Engine (GKE)
* Red Hat Open Shift 4.0 or later

## Installation steps

You can use [Pipeline CLI](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/pipeline-cli) or Helm to install a Core Operator in
a Kubernetes cluster.

> [!NOTE]
>
> When you install a Core Operator, only deploy a single replica.
> If a Core Operator has multiple replicas, those replicas will conflict with one another.

> [tab] Pipeline CLI
>
> 1. [Review the Palo Alto Networks Telemetry Pipeline installation prerequisites](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/install/prereqs.md).
>
> 2. [Install](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/pipeline-cli/install.md) or [update](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/pipeline-cli/install.md#update-pipeline-cli)
>    Pipeline CLI. Because Core Operator versions are dependent on your Pipeline CLI
>    version, keeping Pipeline CLI current ensures that you're installing
>    the latest version of Core Operator.
>
> 3. If you haven't already, [set an API token in Pipeline CLI](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/pipeline-cli/authenticate.md).
>
> 4. Ensure that the
>    [`KUBECONFIG`](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/)
>    environment variable in your cluster is set to a valid configuration file.
>
> 5. Run the following command to install a Core Operator:
>
>    ```shell theme={null}
>    calyptia install operator
>    ```
>
> 6. Optional: Add the `--kube-namespace` command to set that Core Operator's
>    [namespace](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/configure/kubernetes/namespaces.md).
>
> 7. Repeat these steps for each Kubernetes cluster where you want to use Palo Alto
>    Networks Telemetry Pipeline.

> [tab] Helm
>
> 1. [Review the Palo Alto Networks Telemetry Pipeline installation prerequisites](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/install/prereqs.md).
>
> 2. Ensure that [Helm](https://helm.sh/) is installed and has a valid connection
>    to your target cluster.
>
> 3. Ensure that the
>    [`KUBECONFIG`](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/)
>    environment variable in your cluster is set to a valid configuration file.
>
> 4. Run the following command to add the Palo Alto Networks Telemetry Pipeline chart repository:
>
>    ```shell theme={null}
>    helm repo add calyptia https://helm.calyptia.com/
>    ```
>
> 5. Run the following command to install the custom resource definitions (CRDs)
>    that Palo Alto Networks Telemetry Pipeline relies on:
>
>    ```shell theme={null}
>    helm install core-crd calyptia/core-crd
>    ```
>
>    To optionally set a custom registry for your Core Operator, add the flag
>    `--set global.imageRegistry='NAME'` to this command. Replace *`NAME`* with
>    the name of your custom registry.
>
> 6. Run the following command to install Core Operator:
>
>    ```shell theme={null}
>    helm install core-operator calyptia/core-operator
>    ```
>
> 7. Repeat these steps for each Kubernetes cluster where you want to use Palo Alto
>    Networks Telemetry Pipeline.

## View installation logs

After you install a Core Operator in a Kubernetes cluster, use the
following kubectl command to view logs from the installation process:

```shell theme={null}
kubectl logs deploy/calyptia-core-controller-manager
```

## Next steps

After you've installed a Core Operator in your Linux environment, you can
[create a Core Instance](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/install/create-instance.md) in that environment.


## Related topics

- [Install a Core Operator](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/install/install-operator.md)
- [Install a Core Operator on Linux](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/install/install-operator/linux.md)
- [Install Palo Alto Networks Telemetry Pipeline](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/install.md)
- [Install the CXDOT Collector in a Kubernetes cluster](https://docs-xcor.paloaltonetworks.com/ingest/xcor/collector/install/kubernetes.md)
- [Palo Alto Networks Telemetry Pipeline concepts](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/concepts.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.