This page comes from sighupio/distribution: docs/schemas/immutable-kfd-v1alpha2.md (v1.35.2). To change it, change the source.
Immutable: .spec.infrastructure
This page is part of the Immutable schema reference.
.spec.infrastructure
Properties
| Property | Type | Required |
|---|---|---|
| ipxeServer | object | Optional |
| loadBalancers | object | Optional |
| nodes | array | Required |
| proxy | object | Optional |
| ssh | object | Required |
Description
Defines the bare metal infrastructure configuration, including nodes, network boot, storage, and networking.
.spec.infrastructure.ipxeServer
Properties
| Property | Type | Required |
|---|---|---|
| bindAddress | string | Optional |
| bindPort | integer | Optional |
| postInstallCommands | array | Optional |
| preInstallCommands | array | Optional |
| url | string | Required |
Description
iPXE server configuration for network boot provisioning. Ref: https://www.flatcar.org/docs/latest/setup/customization/
.spec.infrastructure.ipxeServer.bindAddress
Description
The address where the iPXE server will listen for incoming requests. Default is the address from the URL
.spec.infrastructure.ipxeServer.bindPort
Description
The port where the iPXE server will listen for incoming requests. Default is the port from the URL or 80 if not specified.
.spec.infrastructure.ipxeServer.postInstallCommands
Description
List of commands to execute after installing Flatcar to disk and before rebooting the node
.spec.infrastructure.ipxeServer.preInstallCommands
Description
List of commands to execute before installing Flatcar to disk
.spec.infrastructure.ipxeServer.url
Description
The URL of the iPXE boot server. Example: https://ipxe.internal.example.com:8080
Constraints
pattern: the string must match the following regular expression:
^(http|https)\:\/\/.+$
.spec.infrastructure.loadBalancers
Properties
| Property | Type | Required |
|---|---|---|
| containerd | object | Optional |
| haproxy | object | Optional |
| keepalived | object | Optional |
| members | array | Optional |
Description
Load balancer configuration. Uses HAProxy for load balancing and keepalived for VIP failover between LB nodes. Having members defined will enable the load balancers.
.spec.infrastructure.loadBalancers.containerd
Properties
| Property | Type | Required |
|---|---|---|
| debugLevel | string | Optional |
| deviceOwnershipFromSecurityContext | boolean | Optional |
| grpcMaxRecvMessageSize | integer | Optional |
| grpcMaxSendMessageSize | integer | Optional |
| maxContainerLogLineSize | integer | Optional |
| metricsAddress | string | Optional |
| metricsGrpcHistogram | boolean | Optional |
| oomScore | integer | Optional |
| registryConfigs | array | Optional |
| selfmanagedRepositories | boolean | Optional |
| stateDir | string | Optional |
| storageDir | string | Optional |
| systemdDir | string | Optional |
Description
Advanced configuration for containerd
.spec.infrastructure.loadBalancers.containerd.debugLevel
Description
The Containerd debug level used in the config.toml file.
.spec.infrastructure.loadBalancers.containerd.deviceOwnershipFromSecurityContext
Description
Set to true to apply device ownership from the container runtime's security context instead of the host's defaults, used in the config.toml file.
.spec.infrastructure.loadBalancers.containerd.grpcMaxRecvMessageSize
Description
The Containerd gRPC maximum receive message size in bytes used in the config.toml file.
.spec.infrastructure.loadBalancers.containerd.grpcMaxSendMessageSize
Description
The Containerd gRPC maximum send message size in bytes used in the config.toml file.
.spec.infrastructure.loadBalancers.containerd.maxContainerLogLineSize
Description
The maximum container log line size in bytes used in the config.toml file.
.spec.infrastructure.loadBalancers.containerd.metricsAddress
Description
The Containerd metrics address used in the config.toml file.
.spec.infrastructure.loadBalancers.containerd.metricsGrpcHistogram
Description
Enable Containerd metrics gRPC histogram in the config.toml file.
.spec.infrastructure.loadBalancers.containerd.oomScore
Description
The Containerd OOM score adjustment used in the config.toml file.
.spec.infrastructure.loadBalancers.containerd.registryConfigs
Properties
| Property | Type | Required |
|---|---|---|
| insecureSkipVerify | boolean | Optional |
| mirrorEndpoint | array | Optional |
| password | string | Optional |
| registry | string | Optional |
| username | string | Optional |
Description
Allows specifying custom configuration for a registry at containerd level. You can set authentication details and mirrors for a registry.
This feature can be used for example to authenticate to a private registry at containerd (container runtime) level, i.e. globally instead of using imagePullSecrets. It also can be used to use a mirror for a registry or to enable insecure connections to trusted registries that have self-signed certificates.
.spec.infrastructure.loadBalancers.containerd.registryConfigs.insecureSkipVerify
Description
Set to true to skip TLS verification (e.g. when using self-signed certificates).
.spec.infrastructure.loadBalancers.containerd.registryConfigs.mirrorEndpoint
Description
Array of URLs with the mirrors to use for the registry. Example: ["http://mymirror.tld:8080"]
.spec.infrastructure.loadBalancers.containerd.registryConfigs.password
Description
The password containerd will use to authenticate against the registry.
.spec.infrastructure.loadBalancers.containerd.registryConfigs.registry
Description
Registry address on which you would like to configure authentication or mirror(s). Example: myregistry.tld:5000
.spec.infrastructure.loadBalancers.containerd.registryConfigs.username
Description
The username containerd will use to authenticate against the registry.
.spec.infrastructure.loadBalancers.containerd.selfmanagedRepositories
Description
Set to true if you manage the NVIDIA container toolkit's repositories externally and wish to skip their automatic configuration with furyctl. Default is false (furyctl manages repositories automatically).
Notice that containerd itself is installed from binaries and does not use a repository. See .spec.kubernetes.advanced.airGap for other download options for containerd.
.spec.infrastructure.loadBalancers.containerd.stateDir
Description
The Containerd state directory used in the config.toml file.
.spec.infrastructure.loadBalancers.containerd.storageDir
Description
The Containerd storage directory used in the config.toml file.
.spec.infrastructure.loadBalancers.containerd.systemdDir
Description
The Containerd systemd service directory used in the config.toml file.
.spec.infrastructure.loadBalancers.haproxy
Properties
| Property | Type | Required |
|---|---|---|
| configuration | string | Optional |
| image | string | Optional |
| tag | string | Optional |
Description
HAProxy container configuration for load balancing.
.spec.infrastructure.loadBalancers.haproxy.configuration
Description
Custom HAProxy configuration content. If not provided, a default configuration will be generated for load balancing Kubernetes control plane.
.spec.infrastructure.loadBalancers.haproxy.image
Description
Container image for HAProxy. Example: docker.io/library/haproxy
.spec.infrastructure.loadBalancers.haproxy.tag
Description
Container tag for HAProxy. Example: 2.8-alpine
.spec.infrastructure.loadBalancers.keepalived
Properties
| Property | Type | Required |
|---|---|---|
| enabled | boolean | Required |
| interface | string | Optional |
| ip | string | Optional |
| passphrase | string | Optional |
| virtualRouterId | string | Optional |
Description
This section allows to configure a floating Virtual IP between the nodes via Keepalived. This can be used to provide high availability between 2 or more nodes.
.spec.infrastructure.loadBalancers.keepalived.enabled
Description
Set to install keepalived with a floating virtual IP shared between the load balancer hosts for a deployment in High Availability.
.spec.infrastructure.loadBalancers.keepalived.interface
Description
Name of the network interface where to bind the Keepalived virtual IP.
.spec.infrastructure.loadBalancers.keepalived.ip
Description
The Virtual floating IP for Keepalived
.spec.infrastructure.loadBalancers.keepalived.passphrase
Description
Password for accessing vrrpd. Make it unique between Keepalived clusters.
Constraints
maximum length: the maximum number of characters for this string is: 8
.spec.infrastructure.loadBalancers.keepalived.virtualRouterId
Description
The virtual router ID of Keepalived, an arbitrary unique number from 1 to 255 used to differentiate multiple instances of vrrpd running on the same network interface and address family and multicast/unicast (and hence same socket).
.spec.infrastructure.loadBalancers.members
Properties
| Property | Type | Required |
|---|---|---|
| hostname | string | Required |
| ip | string | Optional |
Description
Load balancer member nodes. These nodes will run HAProxy and keepalived. If no members are specified it will be assumed some other solution for load balancing is in place. Each entry refers to an infrastructure node by hostname, with an optional IP override.
Constraints
minimum number of items: the minimum number of items for this array is: 1
.spec.infrastructure.loadBalancers.members.hostname
Description
Hostname that must match an infrastructure node. Example: ctrl01.k8s.example.com
Constraints
minimum length: the minimum number of characters for this string is: 1
.spec.infrastructure.loadBalancers.members.ip
Description
Optional IP address. If not specified, it is inferred from the node's network configuration. NOTE: this field is currently ignored, left for future usage.
Constraints
pattern: the string must match the following regular expression:
^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.){3}(25[0-5]|(2[0-4]|1\d|[1-9]|)\d)$
.spec.infrastructure.nodes
Properties
| Property | Type | Required |
|---|---|---|
| arch | string | Required |
| hostname | string | Required |
| kernelArguments | object | Optional |
| kernelParameters | array | Optional |
| macAddress | string | Required |
| network | object | Required |
| passwd | object | Optional |
| storage | object | Required |
| systemd | object | Optional |
Description
List of bare metal nodes to provision.
Constraints
minimum number of items: the minimum number of items for this array is: 1
.spec.infrastructure.nodes.arch
Description
CPU architecture for the node. Determines which Flatcar artifacts and sysext packages are downloaded. Supports mixed-architecture clusters where different nodes can run different architectures. Kubernetes automatically labels nodes with kubernetes.io/arch. Examples: x86-64 (Intel/AMD amd64), arm64 (ARM aarch64).
Constraints
enum: the value of this property must be equal to one of the following string values:
| Value |
|---|
"x86-64" |
"arm64" |
.spec.infrastructure.nodes.hostname
Description
Fully qualified domain name for the node. Example: node01.k8s.example.com
Constraints
minimum length: the minimum number of characters for this string is: 1
pattern: the string must match the following regular expression:
^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$
.spec.infrastructure.nodes.kernelArguments
Properties
| Property | Type | Required |
|---|---|---|
| shouldExist | array | Optional |
| shouldNotExist | array | Optional |
Description
Node-specific kernel arguments, with the same format as Butane's kernel_arguments (both lists are optional). Ignition writes them to the bootloader on the first boot of the node. When omitted, furyctl derives the initramfs network arguments (ip=/nameserver=) from the node's static interfaces so it can boot on a segment without DHCP. When set, these replace that derivation, so include the network arguments yourself if the node has no DHCP.
.spec.infrastructure.nodes.kernelArguments.shouldExist
Description
Kernel arguments to add, rendered to Butane should_exist. Example: console=ttyS0,115200n8
.spec.infrastructure.nodes.kernelArguments.shouldNotExist
Description
Kernel arguments to remove, rendered to Butane should_not_exist. Example: mitigations=auto
.spec.infrastructure.nodes.kernelParameters
Properties
| Property | Type | Required |
|---|---|---|
| name | string | Required |
| value | string | Required |
Description
Node-specific kernel parameters that override global settings.
.spec.infrastructure.nodes.kernelParameters.name
Description
The kernel parameter name (sysctl format). Example: net.ipv4.ip_forward, net.bridge.bridge-nf-call-iptables
Constraints
maximum length: the maximum number of characters for this string is: 256
minimum length: the minimum number of characters for this string is: 1
pattern: the string must match the following regular expression:
^[a-z][a-z0-9_-]*([.][a-z][a-z0-9_-]*)+$
.spec.infrastructure.nodes.kernelParameters.value
Description
The kernel parameter value. Example: "1"
Constraints
minimum length: the minimum number of characters for this string is: 1
.spec.infrastructure.nodes.macAddress
Description
MAC address for PXE boot identification. Not case-sensitive, accepts : or - as separator. Example: 52:54:00:10:00:01
Constraints
pattern: the string must match the following regular expression:
^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$
.spec.infrastructure.nodes.network
Properties
| Property | Type | Required |
|---|---|---|
| ethernets | object | Optional |
Description
Advanced network configuration with ethernets using networkd format.
.spec.infrastructure.nodes.network.ethernets
Description
Ethernet interface configurations, keyed by interface name (e.g., eth0, ens3, eno49).
.spec.infrastructure.nodes.passwd
Properties
| Property | Type | Required |
|---|---|---|
| groups | array | Optional |
| users | array | Optional |
Description
Describes the desired additions to the passwd database. See https://www.flatcar.org/docs/latest/provisioning/config-transpiler/configuration/
.spec.infrastructure.nodes.passwd.groups
Properties
| Property | Type | Required |
|---|---|---|
| gid | integer | Optional |
| name | string | Required |
| password_hash | string | Optional |
| should_exist | boolean | Optional |
| system | boolean | Optional |
Description
Represents a group to be created in the system.
.spec.infrastructure.nodes.passwd.groups.gid
Description
The group ID of the new group.
.spec.infrastructure.nodes.passwd.groups.name
Description
The name of the group.
.spec.infrastructure.nodes.passwd.groups.password_hash
Description
The hashed password of the new group.
.spec.infrastructure.nodes.passwd.groups.should_exist
Description
Whether or not the group with the specified name should exist. If omitted, it defaults to true. If false, then Ignition will delete the specified group.
.spec.infrastructure.nodes.passwd.groups.system
Description
Whether or not the group should be a system group. This only has an effect if the group doesn't exist yet.
.spec.infrastructure.nodes.passwd.users
Properties
| Property | Type | Required |
|---|---|---|
| gecos | string | Optional |
| groups | array | Optional |
| home_dir | string | Optional |
| name | string | Required |
| no_create_home | boolean | Optional |
| no_log_init | boolean | Optional |
| no_user_group | boolean | Optional |
| password_hash | string | Optional |
| primary_group | string | Optional |
| shell | string | Optional |
| should_exist | boolean | Optional |
| ssh_authorized_keys | array | Optional |
| system | boolean | Optional |
| uid | integer | Optional |
Description
Represents a user account to be created in the system.
.spec.infrastructure.nodes.passwd.users.gecos
Description
The GECOS field of the account.
.spec.infrastructure.nodes.passwd.users.groups
Description
The list of supplementary groups of the account.
.spec.infrastructure.nodes.passwd.users.home_dir
Description
The home directory of the account.
.spec.infrastructure.nodes.passwd.users.name
Description
The username for the account.
.spec.infrastructure.nodes.passwd.users.no_create_home
Description
Whether or not to create the user's home directory. This only has an effect if the account doesn't exist yet.
.spec.infrastructure.nodes.passwd.users.no_log_init
Description
Whether or not to add the user to the lastlog and faillog databases. This only has an effect if the account doesn't exist yet.
.spec.infrastructure.nodes.passwd.users.no_user_group
Description
Whether or not to create a group with the same name as the user. This only has an effect if the account doesn't exist yet.
.spec.infrastructure.nodes.passwd.users.password_hash
Description
The hashed password for the account.
.spec.infrastructure.nodes.passwd.users.primary_group
Description
The name of the primary group of the account.
.spec.infrastructure.nodes.passwd.users.shell
Description
The login shell of the new account.
.spec.infrastructure.nodes.passwd.users.should_exist
Description
Whether or not the user with the specified name should exist. If omitted, it defaults to true. If false, then Ignition will delete the specified user.
.spec.infrastructure.nodes.passwd.users.ssh_authorized_keys
Description
A list of SSH keys to be added as an SSH key fragment at .ssh/authorized_keys.d/ignition in the user's home directory. All SSH keys must be unique.
.spec.infrastructure.nodes.passwd.users.system
Description
Whether or not this account should be a system account. This only has an effect if the account doesn't exist yet.
.spec.infrastructure.nodes.passwd.users.uid
Description
The user ID of the account.
.spec.infrastructure.nodes.storage
Properties
| Property | Type | Required |
|---|---|---|
| directories | array | Optional |
| disks | array | Optional |
| files | array | Optional |
| filesystems | array | Optional |
| installDisk | string | Required |
| links | array | Optional |
Description
Storage configuration for the node, including the install disk and the Butane storage sections.
.spec.infrastructure.nodes.storage.directories
Properties
| Property | Type | Required |
|---|---|---|
| group | object | Optional |
| mode | integer | Optional |
| overwrite | boolean | Optional |
| path | string | Required |
| user | object | Optional |
Description
The list of directories to be created. Every directory must have a unique path. See https://coreos.github.io/butane/config-flatcar-v1_1/#objects-storage-directories
.spec.infrastructure.nodes.storage.directories.group
Properties
| Property | Type | Required |
|---|---|---|
| id | integer | Optional |
| name | string | Optional |
Description
The group of the directory.
.spec.infrastructure.nodes.storage.directories.group.id
Description
The group ID of the owner.
.spec.infrastructure.nodes.storage.directories.group.name
Description
The group name of the owner.
.spec.infrastructure.nodes.storage.directories.mode
Description
The directory's permission mode (decimal). Note that the mode must be properly specified as a decimal value (i.e. 0o755 -> 493). Example: 493 means 0755.
.spec.infrastructure.nodes.storage.directories.overwrite
Description
Whether to delete preexisting nodes at the path. If overwrite is false and a directory already exists at the path, Ignition will only set its permissions. Defaults to false.
.spec.infrastructure.nodes.storage.directories.path
Description
The absolute path to the directory.
.spec.infrastructure.nodes.storage.directories.user
Properties
| Property | Type | Required |
|---|---|---|
| id | integer | Optional |
| name | string | Optional |
Description
The user of the directory.
.spec.infrastructure.nodes.storage.directories.user.id
Description
The user ID of the owner.
.spec.infrastructure.nodes.storage.directories.user.name
Description
The username of the owner.
.spec.infrastructure.nodes.storage.disks
Properties
| Property | Type | Required |
|---|---|---|
| device | string | Required |
| partitions | array | Optional |
| wipe_table | boolean | Optional |
Description
Represents a disk to be partitioned.
.spec.infrastructure.nodes.storage.disks.device
Description
The absolute path to the device. Devices are typically referenced by the /dev/disk/by-* symlinks. Example: /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive1
.spec.infrastructure.nodes.storage.disks.partitions
Properties
| Property | Type | Required |
|---|---|---|
| guid | string | Optional |
| label | string | Optional |
| number | integer | Optional |
| resize | boolean | Optional |
| should_exist | boolean | Optional |
| size_mib | integer | Optional |
| start_mib | integer | Optional |
| type_guid | string | Optional |
| wipe_partition_entry | boolean | Optional |
Description
Represents a partition to be created on the disk.
.spec.infrastructure.nodes.storage.disks.partitions.guid
Description
The GPT unique partition GUID.
Constraints
pattern: the string must match the following regular expression:
^(|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
.spec.infrastructure.nodes.storage.disks.partitions.label
Description
The PARTLABEL for the partition, used to reference it from a filesystem as /dev/disk/by-partlabel/LABEL. Cannot contain a colon. Example: data
Constraints
maximum length: the maximum number of characters for this string is: 36
pattern: the string must match the following regular expression:
^[^:]*$
.spec.infrastructure.nodes.storage.disks.partitions.number
Description
The partition number, which will change the partition table entry at that location. If not specified, the next available partition number will be used.
.spec.infrastructure.nodes.storage.disks.partitions.resize
Description
Whether or not the existing partition should be resized. Defaults to false. If true, Ignition will resize an existing partition if it matches the config in all respects except the partition size.
.spec.infrastructure.nodes.storage.disks.partitions.should_exist
Description
Whether or not the partition with the specified number should exist. Defaults to true. If false, Ignition will either delete the specified partition or fail, depending on wipe_partition_entry.
.spec.infrastructure.nodes.storage.disks.partitions.size_mib
Description
The size of the partition with a unit of mebibytes. If zero, the partition will be made as large as possible.
.spec.infrastructure.nodes.storage.disks.partitions.start_mib
Description
The start of the partition with a unit of mebibytes. If zero, the partition will be positioned at the start of the largest block available.
.spec.infrastructure.nodes.storage.disks.partitions.type_guid
Description
The GPT partition type GUID. If omitted, the default will be 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem data).
Constraints
pattern: the string must match the following regular expression:
^(|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
.spec.infrastructure.nodes.storage.disks.partitions.wipe_partition_entry
Description
If true, Ignition will clobber an existing partition if it does not match the config. If false, Ignition will fail instead. Defaults to false.
.spec.infrastructure.nodes.storage.disks.wipe_table
Description
Whether or not the partition tables shall be wiped. When true, the partition tables are erased before any further manipulation. Otherwise, the existing entries are left intact. Defaults to false.
.spec.infrastructure.nodes.storage.files
Properties
| Property | Type | Required |
|---|---|---|
| append | array | Optional |
| contents | object | Optional |
| group | object | Optional |
| mode | integer | Optional |
| overwrite | boolean | Optional |
| path | string | Required |
| user | object | Optional |
Description
Represents a file to be created on the filesystem.
.spec.infrastructure.nodes.storage.files.append
Properties
| Property | Type | Required |
|---|---|---|
| compression | string | Optional |
| http_headers | array | Optional |
| inline | string | Optional |
| local | string | Optional |
| source | string | Optional |
| verification | object | Optional |
Description
List of contents to be appended to the file. Follows the same structure as contents.
.spec.infrastructure.nodes.storage.files.append.compression
Description
The type of compression used on the contents (null or gzip).
Constraints
enum: the value of this property must be equal to one of the following string values:
| Value |
|---|
"gzip" |
.spec.infrastructure.nodes.storage.files.append.http_headers
Properties
| Property | Type | Required |
|---|---|---|
| name | string | Required |
| value | string | Required |
Description
A list of HTTP headers to be added to the request. Available for http and https source schemes only.
.spec.infrastructure.nodes.storage.files.append.http_headers.name
Description
The header name.
.spec.infrastructure.nodes.storage.files.append.http_headers.value
Description
The header contents.
.spec.infrastructure.nodes.storage.files.append.inline
Description
The contents to append. Mutually exclusive with source and local.
.spec.infrastructure.nodes.storage.files.append.local
Description
A local path to the contents to append, relative to the directory specified by the --files-dir command-line argument. Mutually exclusive with source and inline.
.spec.infrastructure.nodes.storage.files.append.source
Description
The URL of the contents to append. Supported schemes are http, https, tftp, s3, gs, and data. Mutually exclusive with inline and local.
.spec.infrastructure.nodes.storage.files.append.verification
Properties
| Property | Type | Required |
|---|---|---|
| hash | string | Optional |
Description
Options related to the verification of the appended contents.
.spec.infrastructure.nodes.storage.files.append.verification.hash
Description
The hash of the content, in the form <type>-<value> where type is either sha512 or sha256.
.spec.infrastructure.nodes.storage.files.contents
Properties
| Property | Type | Required |
|---|---|---|
| compression | string | Optional |
| http_headers | array | Optional |
| inline | string | Optional |
| local | string | Optional |
| source | string | Optional |
| verification | object | Optional |
Description
Options related to the contents of the file.
.spec.infrastructure.nodes.storage.files.contents.compression
Description
The type of compression used on the contents (null or gzip). Compression cannot be used with S3.
Constraints
enum: the value of this property must be equal to one of the following string values:
| Value |
|---|
"gzip" |
.spec.infrastructure.nodes.storage.files.contents.http_headers
Properties
| Property | Type | Required |
|---|---|---|
| name | string | Required |
| value | string | Required |
Description
A list of HTTP headers to be added to the request. Available for http and https source schemes only.
.spec.infrastructure.nodes.storage.files.contents.http_headers.name
Description
The header name.
.spec.infrastructure.nodes.storage.files.contents.http_headers.value
Description
The header contents.
.spec.infrastructure.nodes.storage.files.contents.inline
Description
The contents of the file. Mutually exclusive with source and local.
.spec.infrastructure.nodes.storage.files.contents.local
Description
A local path to the contents of the file, relative to the directory specified by the --files-dir command-line argument. Mutually exclusive with source and inline.
.spec.infrastructure.nodes.storage.files.contents.source
Description
The URL of the file contents. Supported schemes are http, https, tftp, s3, gs, and data. When using http, it is advisable to use the verification option. Mutually exclusive with inline and local.
.spec.infrastructure.nodes.storage.files.contents.verification
Properties
| Property | Type | Required |
|---|---|---|
| hash | string | Optional |
Description
Options related to the verification of the file contents.
.spec.infrastructure.nodes.storage.files.contents.verification.hash
Description
The hash of the content, in the form <type>-<value> where type is either sha512 or sha256. Example: sha256-abcd1234...
.spec.infrastructure.nodes.storage.files.group
Properties
| Property | Type | Required |
|---|---|---|
| id | integer | Optional |
| name | string | Optional |
Description
Specifies the file's group.
.spec.infrastructure.nodes.storage.files.group.id
Description
The group ID of the group.
.spec.infrastructure.nodes.storage.files.group.name
Description
The group name of the group.
.spec.infrastructure.nodes.storage.files.mode
Description
The file's permission mode (in octal, e.g. 0644). Setuid/setgid/sticky bits are not supported. If not specified, the permission mode for files defaults to 0644 or the existing file's permissions if overwrite is false and a file already exists.
.spec.infrastructure.nodes.storage.files.overwrite
Description
Whether to delete preexisting nodes at the path. Contents must be specified if overwrite is true. Defaults to false.
.spec.infrastructure.nodes.storage.files.path
Description
The absolute path to the file.
.spec.infrastructure.nodes.storage.files.user
Properties
| Property | Type | Required |
|---|---|---|
| id | integer | Optional |
| name | string | Optional |
Description
Specifies the file's owner.
.spec.infrastructure.nodes.storage.files.user.id
Description
The user ID of the owner.
.spec.infrastructure.nodes.storage.files.user.name
Description
The user name of the owner.
.spec.infrastructure.nodes.storage.filesystems
Properties
| Property | Type | Required |
|---|---|---|
| device | string | Required |
| format | string | Optional |
| label | string | Optional |
| mount_options | array | Optional |
| options | array | Optional |
| path | string | Optional |
| uuid | string | Optional |
| wipe_filesystem | boolean | Optional |
| with_mount_unit | boolean | Optional |
Description
Represents a filesystem to be created on a device.
.spec.infrastructure.nodes.storage.filesystems.device
Description
The absolute path to the device. Devices are typically referenced by the /dev/disk/by-* symlinks. Example: /dev/disk/by-partlabel/data
.spec.infrastructure.nodes.storage.filesystems.format
Description
The filesystem format.
Constraints
enum: the value of this property must be equal to one of the following string values:
| Value |
|---|
"ext4" |
"btrfs" |
"xfs" |
"swap" |
"vfat" |
"none" |
.spec.infrastructure.nodes.storage.filesystems.label
Description
The label of the filesystem. Requires format to be set. Example: DATA
.spec.infrastructure.nodes.storage.filesystems.mount_options
Description
Any special options to be passed to the mount command.
.spec.infrastructure.nodes.storage.filesystems.options
Description
Any additional options to be passed to the format-specific mkfs utility.
.spec.infrastructure.nodes.storage.filesystems.path
Description
The mount-point of the filesystem in the real root. Required unless the format is swap. Example: /var/lib/containerd
.spec.infrastructure.nodes.storage.filesystems.uuid
Description
The UUID of the filesystem.
.spec.infrastructure.nodes.storage.filesystems.wipe_filesystem
Description
Whether or not to wipe the device before filesystem creation. Defaults to false.
.spec.infrastructure.nodes.storage.filesystems.with_mount_unit
Description
Whether to additionally generate a generic mount unit for this filesystem, or a swap unit for this swap area. Defaults to false.
.spec.infrastructure.nodes.storage.installDisk
Description
The disk device where the OS will be installed. The path must be absolute and clean: it must not contain empty, . or .. path segments. Examples: /dev/sda, /dev/nvme0n1, /dev/disk/by-id/wwn-0x5000c500a1b2c3d4
Constraints
pattern: the string must match the following regular expression:
^(/([^/.][^/]*|\.[^/.][^/]*|\.\.[^/]+))+$
.spec.infrastructure.nodes.storage.links
Properties
| Property | Type | Required |
|---|---|---|
| group | object | Optional |
| hard | boolean | Optional |
| overwrite | boolean | Optional |
| path | string | Required |
| target | string | Required |
| user | object | Optional |
Description
Represents a symbolic or hard link to be created.
.spec.infrastructure.nodes.storage.links.group
Properties
| Property | Type | Required |
|---|---|---|
| id | integer | Optional |
| name | string | Optional |
Description
Specifies the group for a symbolic link. Ignored for hard links.
.spec.infrastructure.nodes.storage.links.group.id
Description
The group ID of the group.
.spec.infrastructure.nodes.storage.links.group.name
Description
The group name of the group.
.spec.infrastructure.nodes.storage.links.hard
Description
A symbolic link is created if this is false, a hard one if this is true.
.spec.infrastructure.nodes.storage.links.overwrite
Description
Whether to delete preexisting nodes at the path. If overwrite is false and a matching link exists at the path, Ignition will only set the owner and group. Defaults to false.
.spec.infrastructure.nodes.storage.links.path
Description
The absolute path to the link.
.spec.infrastructure.nodes.storage.links.target
Description
The target path of the link.
.spec.infrastructure.nodes.storage.links.user
Properties
| Property | Type | Required |
|---|---|---|
| id | integer | Optional |
| name | string | Optional |
Description
Specifies the owner for a symbolic link. Ignored for hard links.
.spec.infrastructure.nodes.storage.links.user.id
Description
The user ID of the owner.
.spec.infrastructure.nodes.storage.links.user.name
Description
The user name of the owner.
.spec.infrastructure.nodes.systemd
Properties
| Property | Type | Required |
|---|---|---|
| units | array | Optional |
Description
Describes the desired state of the systemd units.
.spec.infrastructure.nodes.systemd.units
Description
the list of systemd units. Every unit must have a unique name.
.spec.infrastructure.proxy
Properties
| Property | Type | Required |
|---|---|---|
| http | string | Optional |
| https | string | Optional |
| noProxy | string | Optional |
Description
HTTP/HTTPS proxy configuration for the infrastructure nodes.
.spec.infrastructure.proxy.http
Description
The HTTP proxy URL. Example: http://proxy.example.com:3128
Constraints
pattern: the string must match the following regular expression:
^(http|https)\:\/\/.+$
.spec.infrastructure.proxy.https
Description
The HTTPS proxy URL. Example: https://proxy.example.com:3128
Constraints
pattern: the string must match the following regular expression:
^(http|https)\:\/\/.+$
.spec.infrastructure.proxy.noProxy
Description
Comma-separated list of hosts that should not use the HTTP(S) proxy. Example: localhost,127.0.0.1,10.0.0.0/8,.example.com
.spec.infrastructure.ssh
Properties
| Property | Type | Required |
|---|---|---|
| privateKeyPath | string | Optional |
| publicKeyPath | string | Optional |
| username | string | Required |
Description
SSH credentials for node access.
.spec.infrastructure.ssh.privateKeyPath
Description
Path to the SSH private key. Example: ~/.ssh/id_ed25519_production
.spec.infrastructure.ssh.publicKeyPath
Description
Path to the SSH public key. If not specified, defaults to privateKeyPath + '.pub' (or keyPath + '.pub' if using deprecated keyPath). Example: ~/.ssh/id_ed25519_production.pub
.spec.infrastructure.ssh.username
Description
SSH username. Example: core
Constraints
minimum length: the minimum number of characters for this string is: 1