This feature is available in Enterprise Edition only.

This module is disabled by default. To enable it, add the following lines to the deckhouse ConfigMap:

  networkGatewayEnabled: "true"


  • disableDHCPboolean

    Disables the DHCP server.

    Default: false

  • dnsobject

    Settings to pass to clients via DHCP.

    • searcharray of strings

      List of search domains.


    • serversarray of strings

      List of DNS servers.


  • nodeSelectorobject

    Required value

    Selects nodes that will be used to configure iptables rules and to run the DHCP server.

    The same as in the Pods’ spec.nodeSelector parameter in Kubernetes. Instance Pods inherit this field as is.


      type: network-gateway
  • publicAddressstring

    Required value

    Replaces the src of the packets outgoing from the LAN.

    Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}$


  • storageClassstring

    The name of the StorageClass to use for storing the DHCP lease.

    If omitted, the StorageClass of the existing PVC is used. If there is no PVC yet, either global.StorageClass or global.discovery.defaultStorageClass is used, and if those are undefined, the emptyDir volume is used to store the data.

    Dnsmasq (underlies our DHCP server) has its own mechanisms for protecting against the duplication of IP addresses if the lease database is lost (but it is better not to lose it).

  • subnetstring

    Required value

    The address of a local subnet that gateway serves.

    The DHCP options to pass to clients are generated based on this address:

    • Address pool — numbers starting with 50 and up to the last one.
    • Router — the subnet’s first address.

    Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))$


  • tolerationsarray of objects

    Tolerations for DHCP Pods and iptables managers.

    The same as in the Pods’ spec.tolerations parameter in Kubernetes. The instance’s Pods inherit this field as is.

    • effectstring
    • keystring
    • operatorstring
    • tolerationSecondsinteger
    • valuestring