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

Last updated