yk8s.infra

Infra Configuration

This section contains various configuration options necessary for all cluster types, Terraform and bare-metal based.

yk8s.infra.cluster_name

Type::

non-empty string

Declared by https://gitlab.com/yaook/k8s/-/tree/devel/nix/yk8s/infra.nix

yk8s.infra.hosts_file

A custom hosts file in case openstack is disabled

Type::

null or path in the Nix store

Default::

null

Example::

"./hosts"

Declared by https://gitlab.com/yaook/k8s/-/tree/devel/nix/yk8s/infra.nix

yk8s.infra.ipv4_enabled

If set to true, ipv4 will be used

Type::

boolean

Default::

true

Declared by https://gitlab.com/yaook/k8s/-/tree/devel/nix/yk8s/infra.nix

yk8s.infra.ipv6_enabled

If set to true, ipv6 will be used

Type::

boolean

Default::

false

Declared by https://gitlab.com/yaook/k8s/-/tree/devel/nix/yk8s/infra.nix

yk8s.infra.subnet_cidr

Type::

string matching the pattern ^((25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9]).){3}(25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])/([0-9]|[12][0-9]|3[0-2])$

Default::

"172.30.154.0/24"

Declared by https://gitlab.com/yaook/k8s/-/tree/devel/nix/yk8s/infra.nix

yk8s.infra.subnet_v6_cidr

Type::

non-empty string

Default::

"fd00::/120"

Declared by https://gitlab.com/yaook/k8s/-/tree/devel/nix/yk8s/infra.nix