Skip to content

Instantly share code, notes, and snippets.

@brooksphilip
Last active July 15, 2024 03:19
Show Gist options
  • Save brooksphilip/2fc1016f357a71255cced120007caff5 to your computer and use it in GitHub Desktop.
Save brooksphilip/2fc1016f357a71255cced120007caff5 to your computer and use it in GitHub Desktop.
ip_harvester
apiVersion: network.harvesterhci.io/v1alpha1
kind: IPPool
metadata:
  name: harvesterpool
  namespace: default
spec:
  ipv4Config:
    serverIP: 10.10.100.2 # The DHCP server's IP address
    cidr: 10.10.100.0/24 # The subnet information, must be in the CIDR form
    pool:
      start: 10.10.100.101
      end: 10.10.100.200
    router: 10.10.100.1 # The default gateway, if any
    dns:
    - 1.1.1.1
    domainName: brooks.local
    domainSearch:
    - brooks.local
    ntp:
    - pool.ntp.org
    leaseTime: 300
  networkName: default/harvesterpool # The namespaced name of the NAD object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment