> For the complete documentation index, see [llms.txt](https://siege-ai.gitbook.io/siege-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://siege-ai.gitbook.io/siege-docs/quick-start/kubernetes.md).

# Kubernetes

The Siege Data Collector can be run as a Kubernetes Daemon Set. The following can be used as a basic config.

In the `siegelistener-daemonset.yaml` file:

```
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: siegelistener
spec:
  selector:
    matchLabels:
      name: siegelistener
  template:
    metadata:
      labels:
        name: siegelistener
    spec:
      containers:
        - name: siegelistener
          image: public.ecr.aws/v1v0p1n9/siegelistener:latest
          env:
            - name: SIEGE_APIKEY
              value: <your api key>
            - name: SIEGE_SERVER
              value: <your siege cloud url>/api/v1/listener/event/update
            - name: SIEGE_FILTER
              value: "tcp and port 80"
      hostNetwork: true
```
