Sign inSign up

dijkstrasolutions/kea-ctrl-stork-agents

By dijkstrasolutions

•Updated 6 months ago

ISC Stork agents. These agents are required for communication with Stork server. Needs Postgres DB.

Image
Networking
0

1.4K

dijkstrasolutions/kea-ctrl-stork-agents repository overview

⁠At this time, Kea Ctl Agent is needed to be implemented in a specific way with the Stork agent. You must deploy these agents with Kea DHCP4 to work with Stork server. If you deploy these on a different docker environment or isolated from Kea, the integration will not work. These two are needed to work with Stork server. Posgres DB needs to be installed and initialized.

⁠Compose samples

⁠kea-dhcp4 with agents
services:
  kea-dhcp4:
    image: dijkstrasolutions/kea-dhcp4:${KEA_DHCP4_TAG:-latest}
    container_name: kea-dhcp
    network_mode: host
    cap_add:
      - NET_ADMIN
    volumes:
      - /opt/kea/config:/kea/etc/kea
      - /opt/kea/logs:/var/log
      - kea-run:/var/run/kea
    command: ["/usr/sbin/kea-dhcp4", "-c", "/kea/etc/kea/kea-dhcp4.conf"]
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "pgrep", "-f", "kea-dhcp4"]
      interval: 10s
      timeout: 5s
      retries: 5
      start_period: 5s

  kea-ctrl-stork:
    image: dijkstrasolutions/kea-ctrl-stork-agents:${KEA_AGENTS_TAG:-latest}
    container_name: kea-ctrl-stork
    environment:
      ENABLE_CTRL_AGENT: "true"
      ENABLE_STORK_AGENT: "true"
    volumes:
      - /opt/kea/config:/kea/etc/kea:ro
      - /opt/kea/logs:/var/log/kea
      - /opt/stork:/etc/stork
      - /opt/stork/server-agent/hooks:/usr/lib/stork-agent/hooks
      - /opt/stork/logs:/var/log/stork-agent
      - /opt/stork/agent:/var/lib/stork-agent
      - kea-run:/var/run/kea   # share with kea-dhcp4
    ports:
      - "8000:8000"   # stork agent
      - "8081:8081"   # kea control agent
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "pgrep", "-f", "stork-agent"]
      interval: 10s
      timeout: 5s
      retries: 5
      start_period: 5s

volumes:
  kea-run:

Tag summary

Content type

Image

Digest

sha256:9387c8b6a…

Size

97 MB

Last updated

6 months ago

docker pull dijkstrasolutions/kea-ctrl-stork-agents