Skip to content

scme0/dhcpeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dhcpeeper

A very basic DHCP testing utility.

Usage:

dhcpeeper enp1s0 2

The Dockerfile includes dhcrelay so you can run dhcprelay in a kubernetes cluster and then configure the liveness probe to use dhcpeeper to test that dhcrelay is working correctly. eg:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: dhcp-relay
  namespace: pihole
spec:
  selector:
    matchLabels:
      app: dhcp-relay
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: dhcp-relay
    spec:
      hostNetwork: true
      containers:
        - image: scottyjoe9/dhcrelay-dhcpeeper:0.0.3
          command: ["dhcrelay"]
          args: ["-d", "192.168.1.151"]
          name: dhcp-relay
          securityContext:
            capabilities:
              add:
                - NET_ADMIN
          livenessProbe:
            exec:
              command: ["dhcpeeper","enp1s0","2"]
            initialDelaySeconds: 5
            periodSeconds: 30
            timeoutSeconds: 3

About

A very basic DHCP testing utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors