This is the multi-page printable view of this section. Click here to print.
Reference
- 1: API
- 2: CLI
- 3: Configuration
- 4: Platform
1 - API
Table of Contents
health/health.proto
HealthCheck
Field | Type | Label | Description |
---|---|---|---|
status | HealthCheck.ServingStatus |
HealthCheckResponse
Field | Type | Label | Description |
---|---|---|---|
messages | HealthCheck | repeated |
HealthWatchRequest
Field | Type | Label | Description |
---|---|---|---|
interval_seconds | int64 |
ReadyCheck
Field | Type | Label | Description |
---|---|---|---|
status | ReadyCheck.ReadyStatus |
ReadyCheckResponse
Field | Type | Label | Description |
---|---|---|---|
messages | ReadyCheck | repeated |
HealthCheck.ServingStatus
Name | Number | Description |
---|---|---|
UNKNOWN | 0 | |
SERVING | 1 | |
NOT_SERVING | 2 |
ReadyCheck.ReadyStatus
Name | Number | Description |
---|---|---|
UNKNOWN | 0 | |
READY | 1 | |
NOT_READY | 2 |
Health
Method Name | Request Type | Response Type | Description |
---|---|---|---|
Check | .google.protobuf.Empty | HealthCheckResponse | |
Watch | HealthWatchRequest | HealthCheckResponse stream | |
Ready | .google.protobuf.Empty | ReadyCheckResponse |
machine/machine.proto
ApplyConfiguration
ApplyConfigurationResponse describes the response to a configuration request.
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata |
ApplyConfigurationRequest
rpc applyConfiguration ApplyConfiguration describes a request to assert a new configuration upon a node.
Field | Type | Label | Description |
---|---|---|---|
data | bytes |
ApplyConfigurationResponse
Field | Type | Label | Description |
---|---|---|---|
messages | ApplyConfiguration | repeated |
Bootstrap
The bootstrap message containing the bootstrap status.
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata |
BootstrapRequest
rpc bootstrap
BootstrapResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Bootstrap | repeated |
CPUInfo
Field | Type | Label | Description |
---|---|---|---|
processor | uint32 | ||
vendor_id | string | ||
cpu_family | string | ||
model | string | ||
model_name | string | ||
stepping | string | ||
microcode | string | ||
cpu_mhz | double | ||
cache_size | string | ||
physical_id | string | ||
siblings | uint32 | ||
core_id | string | ||
cpu_cores | uint32 | ||
apic_id | string | ||
initial_apic_id | string | ||
fpu | string | ||
fpu_exception | string | ||
cpu_id_level | uint32 | ||
wp | string | ||
flags | string | repeated | |
bugs | string | repeated | |
bogo_mips | double | ||
cl_flush_size | uint32 | ||
cache_alignment | uint32 | ||
address_sizes | string | ||
power_management | string |
CPUInfoResponse
Field | Type | Label | Description |
---|---|---|---|
messages | CPUsInfo | repeated |
CPUStat
Field | Type | Label | Description |
---|---|---|---|
user | double | ||
nice | double | ||
system | double | ||
idle | double | ||
iowait | double | ||
irq | double | ||
soft_irq | double | ||
steal | double | ||
guest | double | ||
guest_nice | double |
CPUsInfo
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
cpu_info | CPUInfo | repeated |
Container
The messages message containing the requested containers.
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
containers | ContainerInfo | repeated |
ContainerInfo
The messages message containing the requested containers.
Field | Type | Label | Description |
---|---|---|---|
namespace | string | ||
id | string | ||
image | string | ||
pid | uint32 | ||
status | string | ||
pod_id | string | ||
name | string |
ContainersRequest
Field | Type | Label | Description |
---|---|---|---|
namespace | string | ||
driver | common.ContainerDriver | driver might be default “containerd” or “cri” |
ContainersResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Container | repeated |
CopyRequest
CopyRequest describes a request to copy data out of Talos node
Copy produces .tar.gz archive which is streamed back to the caller
Field | Type | Label | Description |
---|---|---|---|
root_path | string | Root path to start copying data out, it might be either a file or directory |
DiskStat
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
read_completed | uint64 | ||
read_merged | uint64 | ||
read_sectors | uint64 | ||
read_time_ms | uint64 | ||
write_completed | uint64 | ||
write_merged | uint64 | ||
write_sectors | uint64 | ||
write_time_ms | uint64 | ||
io_in_progress | uint64 | ||
io_time_ms | uint64 | ||
io_time_weighted_ms | uint64 | ||
discard_completed | uint64 | ||
discard_merged | uint64 | ||
discard_sectors | uint64 | ||
discard_time_ms | uint64 |
DiskStats
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
total | DiskStat | ||
devices | DiskStat | repeated |
DiskStatsResponse
Field | Type | Label | Description |
---|---|---|---|
messages | DiskStats | repeated |
DiskUsageInfo
DiskUsageInfo describes a file or directory’s information for du command
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
name | string | Name is the name (including prefixed path) of the file or directory | |
size | int64 | Size indicates the number of bytes contained within the file | |
error | string | Error describes any error encountered while trying to read the file information. | |
relative_name | string | RelativeName is the name of the file or directory relative to the RootPath |
DiskUsageRequest
DiskUsageRequest describes a request to list disk usage of directories and regular files
Field | Type | Label | Description |
---|---|---|---|
recursion_depth | int32 | RecursionDepth indicates how many levels of subdirectories should be recursed. The default (0) indicates that no limit should be enforced. | |
all | bool | All write sizes for all files, not just directories. | |
threshold | int64 | Threshold exclude entries smaller than SIZE if positive, or entries greater than SIZE if negative. | |
paths | string | repeated | DiskUsagePaths is the list of directories to calculate disk usage for. |
DmesgRequest
dmesg
Field | Type | Label | Description |
---|---|---|---|
follow | bool | ||
tail | bool |
EtcdForfeitLeadership
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
member | string |
EtcdForfeitLeadershipRequest
EtcdForfeitLeadershipResponse
Field | Type | Label | Description |
---|---|---|---|
messages | EtcdForfeitLeadership | repeated |
EtcdLeaveCluster
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata |
EtcdLeaveClusterRequest
EtcdLeaveClusterResponse
Field | Type | Label | Description |
---|---|---|---|
messages | EtcdLeaveCluster | repeated |
EtcdMemberList
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
members | string | repeated |
EtcdMemberListRequest
EtcdMemberListResponse
Field | Type | Label | Description |
---|---|---|---|
messages | EtcdMemberList | repeated |
Event
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
data | google.protobuf.Any | ||
id | string |
EventsRequest
Field | Type | Label | Description |
---|---|---|---|
tail_events | int32 | ||
tail_id | string | ||
tail_seconds | int32 |
FileInfo
FileInfo describes a file or directory’s information
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
name | string | Name is the name (including prefixed path) of the file or directory | |
size | int64 | Size indicates the number of bytes contained within the file | |
mode | uint32 | Mode is the bitmap of UNIX mode/permission flags of the file | |
modified | int64 | Modified indicates the UNIX timestamp at which the file was last modified |
TODO: unix timestamp or include proto’s Date type | | is_dir | bool | | IsDir indicates that the file is a directory | | error | string | | Error describes any error encountered while trying to read the file information. | | link | string | | Link is filled with symlink target | | relative_name | string | | RelativeName is the name of the file or directory relative to the RootPath |
Hostname
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
hostname | string |
HostnameResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Hostname | repeated |
ListRequest
ListRequest describes a request to list the contents of a directory
Field | Type | Label | Description |
---|---|---|---|
root | string | Root indicates the root directory for the list. If not indicated, ‘/’ is presumed. | |
recurse | bool | Recurse indicates that subdirectories should be recursed. | |
recursion_depth | int32 | RecursionDepth indicates how many levels of subdirectories should be recursed. The default (0) indicates that no limit should be enforced. |
LoadAvg
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
load1 | double | ||
load5 | double | ||
load15 | double |
LoadAvgResponse
Field | Type | Label | Description |
---|---|---|---|
messages | LoadAvg | repeated |
LogsRequest
rpc logs The request message containing the process name.
Field | Type | Label | Description |
---|---|---|---|
namespace | string | ||
id | string | ||
driver | common.ContainerDriver | driver might be default “containerd” or “cri” | |
follow | bool | ||
tail_lines | int32 |
MemInfo
Field | Type | Label | Description |
---|---|---|---|
memtotal | uint64 | ||
memfree | uint64 | ||
memavailable | uint64 | ||
buffers | uint64 | ||
cached | uint64 | ||
swapcached | uint64 | ||
active | uint64 | ||
inactive | uint64 | ||
activeanon | uint64 | ||
inactiveanon | uint64 | ||
activefile | uint64 | ||
inactivefile | uint64 | ||
unevictable | uint64 | ||
mlocked | uint64 | ||
swaptotal | uint64 | ||
swapfree | uint64 | ||
dirty | uint64 | ||
writeback | uint64 | ||
anonpages | uint64 | ||
mapped | uint64 | ||
shmem | uint64 | ||
slab | uint64 | ||
sreclaimable | uint64 | ||
sunreclaim | uint64 | ||
kernelstack | uint64 | ||
pagetables | uint64 | ||
nfsunstable | uint64 | ||
bounce | uint64 | ||
writebacktmp | uint64 | ||
commitlimit | uint64 | ||
committedas | uint64 | ||
vmalloctotal | uint64 | ||
vmallocused | uint64 | ||
vmallocchunk | uint64 | ||
hardwarecorrupted | uint64 | ||
anonhugepages | uint64 | ||
shmemhugepages | uint64 | ||
shmempmdmapped | uint64 | ||
cmatotal | uint64 | ||
cmafree | uint64 | ||
hugepagestotal | uint64 | ||
hugepagesfree | uint64 | ||
hugepagesrsvd | uint64 | ||
hugepagessurp | uint64 | ||
hugepagesize | uint64 | ||
directmap4k | uint64 | ||
directmap2m | uint64 | ||
directmap1g | uint64 |
Memory
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
meminfo | MemInfo |
MemoryResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Memory | repeated |
MountStat
The messages message containing the requested processes.
Field | Type | Label | Description |
---|---|---|---|
filesystem | string | ||
size | uint64 | ||
available | uint64 | ||
mounted_on | string |
Mounts
The messages message containing the requested df stats.
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
stats | MountStat | repeated |
MountsResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Mounts | repeated |
NetDev
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
rx_bytes | uint64 | ||
rx_packets | uint64 | ||
rx_errors | uint64 | ||
rx_dropped | uint64 | ||
rx_fifo | uint64 | ||
rx_frame | uint64 | ||
rx_compressed | uint64 | ||
rx_multicast | uint64 | ||
tx_bytes | uint64 | ||
tx_packets | uint64 | ||
tx_errors | uint64 | ||
tx_dropped | uint64 | ||
tx_fifo | uint64 | ||
tx_collisions | uint64 | ||
tx_carrier | uint64 | ||
tx_compressed | uint64 |
NetworkDeviceStats
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
total | NetDev | ||
devices | NetDev | repeated |
NetworkDeviceStatsResponse
Field | Type | Label | Description |
---|---|---|---|
messages | NetworkDeviceStats | repeated |
PhaseEvent
Field | Type | Label | Description |
---|---|---|---|
phase | string | ||
action | PhaseEvent.Action |
PlatformInfo
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
mode | string |
Process
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
processes | ProcessInfo | repeated |
ProcessInfo
Field | Type | Label | Description |
---|---|---|---|
pid | int32 | ||
ppid | int32 | ||
state | string | ||
threads | int32 | ||
cpu_time | double | ||
virtual_memory | uint64 | ||
resident_memory | uint64 | ||
command | string | ||
executable | string | ||
args | string |
ProcessesRequest
rpc processes
ProcessesResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Process | repeated |
ReadRequest
Field | Type | Label | Description |
---|---|---|---|
path | string |
Reboot
rpc reboot The reboot message containing the reboot status.
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata |
RebootResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Reboot | repeated |
Recover
The recover message containing the recover status.
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata |
RecoverRequest
Field | Type | Label | Description |
---|---|---|---|
source | RecoverRequest.Source |
RecoverResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Recover | repeated |
Reset
The reset message containing the restart status.
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata |
ResetRequest
rpc reset
Field | Type | Label | Description |
---|---|---|---|
graceful | bool | ||
reboot | bool |
ResetResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Reset | repeated |
Restart
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata |
RestartRequest
rpc restart The request message containing the process to restart.
Field | Type | Label | Description |
---|---|---|---|
namespace | string | ||
id | string | ||
driver | common.ContainerDriver | driver might be default “containerd” or “cri” |
RestartResponse
The messages message containing the restart status.
Field | Type | Label | Description |
---|---|---|---|
messages | Restart | repeated |
Rollback
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata |
RollbackRequest
rpc rollback
RollbackResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Rollback | repeated |
SequenceEvent
rpc events
Field | Type | Label | Description |
---|---|---|---|
sequence | string | ||
action | SequenceEvent.Action | ||
error | common.Error |
ServiceEvent
Field | Type | Label | Description |
---|---|---|---|
msg | string | ||
state | string | ||
ts | google.protobuf.Timestamp |
ServiceEvents
Field | Type | Label | Description |
---|---|---|---|
events | ServiceEvent | repeated |
ServiceHealth
Field | Type | Label | Description |
---|---|---|---|
unknown | bool | ||
healthy | bool | ||
last_message | string | ||
last_change | google.protobuf.Timestamp |
ServiceInfo
Field | Type | Label | Description |
---|---|---|---|
id | string | ||
state | string | ||
events | ServiceEvents | ||
health | ServiceHealth |
ServiceList
rpc servicelist
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
services | ServiceInfo | repeated |
ServiceListResponse
Field | Type | Label | Description |
---|---|---|---|
messages | ServiceList | repeated |
ServiceRestart
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
resp | string |
ServiceRestartRequest
Field | Type | Label | Description |
---|---|---|---|
id | string |
ServiceRestartResponse
Field | Type | Label | Description |
---|---|---|---|
messages | ServiceRestart | repeated |
ServiceStart
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
resp | string |
ServiceStartRequest
rpc servicestart
Field | Type | Label | Description |
---|---|---|---|
id | string |
ServiceStartResponse
Field | Type | Label | Description |
---|---|---|---|
messages | ServiceStart | repeated |
ServiceStateEvent
Field | Type | Label | Description |
---|---|---|---|
service | string | ||
action | ServiceStateEvent.Action | ||
message | string |
ServiceStop
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
resp | string |
ServiceStopRequest
Field | Type | Label | Description |
---|---|---|---|
id | string |
ServiceStopResponse
Field | Type | Label | Description |
---|---|---|---|
messages | ServiceStop | repeated |
Shutdown
rpc shutdown The messages message containing the shutdown status.
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata |
ShutdownResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Shutdown | repeated |
SoftIRQStat
Field | Type | Label | Description |
---|---|---|---|
hi | uint64 | ||
timer | uint64 | ||
net_tx | uint64 | ||
net_rx | uint64 | ||
block | uint64 | ||
block_io_poll | uint64 | ||
tasklet | uint64 | ||
sched | uint64 | ||
hrtimer | uint64 | ||
rcu | uint64 |
StartRequest
Field | Type | Label | Description |
---|---|---|---|
id | string |
StartResponse
Field | Type | Label | Description |
---|---|---|---|
resp | string |
Stat
The messages message containing the requested stat.
Field | Type | Label | Description |
---|---|---|---|
namespace | string | ||
id | string | ||
memory_usage | uint64 | ||
cpu_usage | uint64 | ||
pod_id | string | ||
name | string |
Stats
The messages message containing the requested stats.
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
stats | Stat | repeated |
StatsRequest
The request message containing the containerd namespace.
Field | Type | Label | Description |
---|---|---|---|
namespace | string | ||
driver | common.ContainerDriver | driver might be default “containerd” or “cri” |
StatsResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Stats | repeated |
StopRequest
Field | Type | Label | Description |
---|---|---|---|
id | string |
StopResponse
Field | Type | Label | Description |
---|---|---|---|
resp | string |
SystemStat
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
boot_time | uint64 | ||
cpu_total | CPUStat | ||
cpu | CPUStat | repeated | |
irq_total | uint64 | ||
irq | uint64 | repeated | |
context_switches | uint64 | ||
process_created | uint64 | ||
process_running | uint64 | ||
process_blocked | uint64 | ||
soft_irq_total | uint64 | ||
soft_irq | SoftIRQStat |
SystemStatResponse
Field | Type | Label | Description |
---|---|---|---|
messages | SystemStat | repeated |
TaskEvent
Field | Type | Label | Description |
---|---|---|---|
task | string | ||
action | TaskEvent.Action |
Upgrade
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
ack | string |
UpgradeRequest
rpc upgrade
Field | Type | Label | Description |
---|---|---|---|
image | string | ||
preserve | bool |
UpgradeResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Upgrade | repeated |
Version
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
version | VersionInfo | ||
platform | PlatformInfo |
VersionInfo
Field | Type | Label | Description |
---|---|---|---|
tag | string | ||
sha | string | ||
built | string | ||
go_version | string | ||
os | string | ||
arch | string |
VersionResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Version | repeated |
PhaseEvent.Action
Name | Number | Description |
---|---|---|
START | 0 | |
STOP | 1 |
RecoverRequest.Source
Name | Number | Description |
---|---|---|
ETCD | 0 | |
APISERVER | 1 |
SequenceEvent.Action
Name | Number | Description |
---|---|---|
NOOP | 0 | |
START | 1 | |
STOP | 2 |
ServiceStateEvent.Action
Name | Number | Description |
---|---|---|
INITIALIZED | 0 | |
PREPARING | 1 | |
WAITING | 2 | |
RUNNING | 3 | |
STOPPING | 4 | |
FINISHED | 5 | |
FAILED | 6 | |
SKIPPED | 7 |
TaskEvent.Action
Name | Number | Description |
---|---|---|
START | 0 | |
STOP | 1 |
MachineService
The machine service definition.
MaintenanceService
Method Name | Request Type | Response Type | Description |
---|---|---|---|
ApplyConfiguration | ApplyConfigurationRequest | ApplyConfigurationResponse |
network/network.proto
Interface
Interface represents a net.Interface
Field | Type | Label | Description |
---|---|---|---|
index | uint32 | ||
mtu | uint32 | ||
name | string | ||
hardwareaddr | string | ||
flags | InterfaceFlags | ||
ipaddress | string | repeated |
Interfaces
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
interfaces | Interface | repeated |
InterfacesResponse
Field | Type | Label | Description |
---|---|---|---|
messages | Interfaces | repeated |
Route
The messages message containing a route.
Field | Type | Label | Description |
---|---|---|---|
interface | string | Interface is the interface over which traffic to this destination should be sent | |
destination | string | Destination is the network prefix CIDR which this route provides | |
gateway | string | Gateway is the gateway address to which traffic to this destination should be sent | |
metric | uint32 | Metric is the priority of the route, where lower metrics have higher priorities | |
scope | uint32 | Scope desribes the scope of this route | |
source | string | Source is the source prefix CIDR for the route, if one is defined | |
family | AddressFamily | Family is the address family of the route. Currently, the only options are AF_INET (IPV4) and AF_INET6 (IPV6). | |
protocol | RouteProtocol | Protocol is the protocol by which this route came to be in place | |
flags | uint32 | Flags indicate any special flags on the route |
Routes
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
routes | Route | repeated |
RoutesResponse
The messages message containing the routes.
Field | Type | Label | Description |
---|---|---|---|
messages | Routes | repeated |
AddressFamily
Name | Number | Description |
---|---|---|
AF_UNSPEC | 0 | |
AF_INET | 2 | |
IPV4 | 2 | |
AF_INET6 | 10 | |
IPV6 | 10 |
InterfaceFlags
Name | Number | Description |
---|---|---|
FLAG_UNKNOWN | 0 | |
FLAG_UP | 1 | |
FLAG_BROADCAST | 2 | |
FLAG_LOOPBACK | 3 | |
FLAG_POINT_TO_POINT | 4 | |
FLAG_MULTICAST | 5 |
RouteProtocol
Name | Number | Description |
---|---|---|
RTPROT_UNSPEC | 0 | |
RTPROT_REDIRECT | 1 | Route installed by ICMP redirects |
RTPROT_KERNEL | 2 | Route installed by kernel |
RTPROT_BOOT | 3 | Route installed during boot |
RTPROT_STATIC | 4 | Route installed by administrator |
RTPROT_GATED | 8 | Route installed by gated |
RTPROT_RA | 9 | Route installed by router advertisement |
RTPROT_MRT | 10 | Route installed by Merit MRT |
RTPROT_ZEBRA | 11 | Route installed by Zebra/Quagga |
RTPROT_BIRD | 12 | Route installed by Bird |
RTPROT_DNROUTED | 13 | Route installed by DECnet routing daemon |
RTPROT_XORP | 14 | Route installed by XORP |
RTPROT_NTK | 15 | Route installed by Netsukuku |
RTPROT_DHCP | 16 | Route installed by DHCP |
RTPROT_MROUTED | 17 | Route installed by Multicast daemon |
RTPROT_BABEL | 42 | Route installed by Babel daemon |
NetworkService
The network service definition.
Method Name | Request Type | Response Type | Description |
---|---|---|---|
Routes | .google.protobuf.Empty | RoutesResponse | |
Interfaces | .google.protobuf.Empty | InterfacesResponse |
os/os.proto
OSService
The OS service definition.
Deprecated: this API is deprecated and merged into Machine API.
Method Name | Request Type | Response Type | Description |
---|---|---|---|
Containers | .machine.ContainersRequest | .machine.ContainersResponse | |
Dmesg | .machine.DmesgRequest | .common.Data stream | |
Memory | .google.protobuf.Empty | .machine.MemoryResponse | |
Processes | .google.protobuf.Empty | .machine.ProcessesResponse | |
Restart | .machine.RestartRequest | .machine.RestartResponse | |
Stats | .machine.StatsRequest | .machine.StatsResponse |
security/security.proto
CertificateRequest
The request message containing the process name.
Field | Type | Label | Description |
---|---|---|---|
csr | bytes |
CertificateResponse
The response message containing the requested logs.
Field | Type | Label | Description |
---|---|---|---|
ca | bytes | ||
crt | bytes |
ReadFileRequest
The request message for reading a file on disk.
Field | Type | Label | Description |
---|---|---|---|
path | string |
ReadFileResponse
The response message for reading a file on disk.
Field | Type | Label | Description |
---|---|---|---|
data | bytes |
WriteFileRequest
The request message containing the process name.
Field | Type | Label | Description |
---|---|---|---|
path | string | ||
data | bytes | ||
perm | int32 |
WriteFileResponse
The response message containing the requested logs.
SecurityService
The security service definition.
Method Name | Request Type | Response Type | Description |
---|---|---|---|
Certificate | CertificateRequest | CertificateResponse | |
ReadFile | ReadFileRequest | ReadFileResponse | |
WriteFile | WriteFileRequest | WriteFileResponse |
time/time.proto
Time
Field | Type | Label | Description |
---|---|---|---|
metadata | common.Metadata | ||
server | string | ||
localtime | google.protobuf.Timestamp | ||
remotetime | google.protobuf.Timestamp |
TimeRequest
The response message containing the ntp server
Field | Type | Label | Description |
---|---|---|---|
server | string |
TimeResponse
The response message containing the ntp server, time, and offset
Field | Type | Label | Description |
---|---|---|---|
messages | Time | repeated |
TimeService
The time service definition.
Method Name | Request Type | Response Type | Description |
---|---|---|---|
Time | .google.protobuf.Empty | TimeResponse | |
TimeCheck | TimeRequest | TimeResponse |
Scalar Value Types
.proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby |
---|---|---|---|---|---|---|---|---|
double | double | double | float | float64 | double | float | Float | |
float | float | float | float | float32 | float | float | Float | |
int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum |
uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) |
uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) |
sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum |
fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) |
fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum |
sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum |
bool | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | |
string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) |
bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |
2 - CLI
talosctl apply-config
Apply a new configuration to a node
talosctl apply-config [flags]
Options
-f, --file string the filename of the updated configuration
-h, --help help for apply-config
-i, --insecure apply the config using the insecure (encrypted with no auth) maintenance service
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl bootstrap
Bootstrap the cluster
talosctl bootstrap [flags]
Options
-h, --help help for bootstrap
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl cluster create
Creates a local docker-based or QEMU-based kubernetes cluster
talosctl cluster create [flags]
Options
--arch string cluster architecture (default "amd64")
--cidr string CIDR of the cluster network (default "10.5.0.0/24")
--cni-bin-path strings search path for CNI binaries (VM only) (default [/home/user/.talos/cni/bin])
--cni-bundle-url string URL to download CNI bundle from (VM only) (default "https://github.com/siderolabs/talos/releases/download/v0.7.0/talosctl-cni-bundle-${ARCH}.tar.gz")
--cni-cache-dir string CNI cache directory path (VM only) (default "/home/user/.talos/cni/cache")
--cni-conf-dir string CNI config directory path (VM only) (default "/home/user/.talos/cni/conf.d")
--cpus string the share of CPUs as fraction (each container/VM) (default "2.0")
--crashdump print debug crashdump to stderr when cluster startup fails
--custom-cni-url string install custom CNI from the URL (Talos cluster)
--disk int default limit on disk size in MB (each VM) (default 6144)
--dns-domain string the dns domain to use for cluster (default "cluster.local")
--docker-host-ip string Host IP to forward exposed ports to (Docker provisioner only) (default "0.0.0.0")
--endpoint string use endpoint instead of provider defaults
-p, --exposed-ports string Comma-separated list of ports/protocols to expose on init node. Ex -p <hostPort>:<containerPort>/<protocol (tcp or udp)> (Docker provisioner only)
-h, --help help for create
--image string the image to use (default "ghcr.io/talos-systems/talos:latest")
--init-node-as-endpoint use init node as endpoint instead of any load balancer endpoint
--initrd-path string the uncompressed kernel image to use (default "_out/initramfs-${ARCH}.xz")
-i, --input-dir string location of pre-generated config files
--install-image string the installer image to use (default "ghcr.io/talos-systems/installer:latest")
--kubernetes-version string desired kubernetes version to run (default "1.19.4")
--masters int the number of masters to create (default 1)
--memory int the limit on memory usage in MB (each container/VM) (default 2048)
--mtu int MTU of the cluster network (default 1500)
--nameservers strings list of nameservers to use (default [8.8.8.8,1.1.1.1])
--registry-insecure-skip-verify strings list of registry hostnames to skip TLS verification for
--registry-mirror strings list of registry mirrors to use in format: <registry host>=<mirror URL>
--skip-injecting-config skip injecting config from embedded metadata server, write config files to current directory
--skip-kubeconfig skip merging kubeconfig from the created cluster
--user-disk strings list of disks to create for each VM in format: <mount_point1>:<size1>:<mount_point2>:<size2>
--vmlinuz-path string the compressed kernel image to use (default "_out/vmlinuz-${ARCH}")
--wait wait for the cluster to be ready before returning (default true)
--wait-timeout duration timeout to wait for the cluster to be ready (default 20m0s)
--with-bootloader enable bootloader to load kernel and initramfs from disk image after install (default true)
--with-debug enable debug in Talos config to send service logs to the console
--with-init-node create the cluster with an init node
--with-uefi enable UEFI on x86_64 architecture (always enabled for arm64)
--workers int the number of workers to create (default 1)
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
--name string the name of the cluster (default "talos-default")
-n, --nodes strings target the specified nodes
--provisioner string Talos cluster provisioner to use (default "docker")
--state string directory path to store cluster state (default "/home/user/.talos/clusters")
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl cluster - A collection of commands for managing local docker-based or firecracker-based clusters
talosctl cluster destroy
Destroys a local docker-based or firecracker-based kubernetes cluster
talosctl cluster destroy [flags]
Options
-h, --help help for destroy
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
--name string the name of the cluster (default "talos-default")
-n, --nodes strings target the specified nodes
--provisioner string Talos cluster provisioner to use (default "docker")
--state string directory path to store cluster state (default "/home/user/.talos/clusters")
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl cluster - A collection of commands for managing local docker-based or firecracker-based clusters
talosctl cluster show
Shows info about a local provisioned kubernetes cluster
talosctl cluster show [flags]
Options
-h, --help help for show
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
--name string the name of the cluster (default "talos-default")
-n, --nodes strings target the specified nodes
--provisioner string Talos cluster provisioner to use (default "docker")
--state string directory path to store cluster state (default "/home/user/.talos/clusters")
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl cluster - A collection of commands for managing local docker-based or firecracker-based clusters
talosctl cluster
A collection of commands for managing local docker-based or firecracker-based clusters
Options
-h, --help help for cluster
--name string the name of the cluster (default "talos-default")
--provisioner string Talos cluster provisioner to use (default "docker")
--state string directory path to store cluster state (default "/home/user/.talos/clusters")
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
- talosctl cluster create - Creates a local docker-based or QEMU-based kubernetes cluster
- talosctl cluster destroy - Destroys a local docker-based or firecracker-based kubernetes cluster
- talosctl cluster show - Shows info about a local provisioned kubernetes cluster
talosctl completion
Output shell completion code for the specified shell (bash or zsh)
Synopsis
Output shell completion code for the specified shell (bash or zsh). The shell code must be evaluated to provide interactive completion of talosctl commands. This can be done by sourcing it from the .bash_profile.
Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2
talosctl completion SHELL [flags]
Examples
# Installing bash completion on macOS using homebrew
## If running Bash 3.2 included with macOS
brew install bash-completion
## or, if running Bash 4.1+
brew install bash-completion@2
## If talosctl is installed via homebrew, this should start working immediately.
## If you've installed via other means, you may need add the completion to your completion directory
talosctl completion bash > $(brew --prefix)/etc/bash_completion.d/talosctl
# Installing bash completion on Linux
## If bash-completion is not installed on Linux, please install the 'bash-completion' package
## via your distribution's package manager.
## Load the talosctl completion code for bash into the current shell
source <(talosctl completion bash)
## Write bash completion code to a file and source if from .bash_profile
talosctl completion bash > ~/.talos/completion.bash.inc
printf "
# talosctl shell completion
source '$HOME/.talos/completion.bash.inc'
" >> $HOME/.bash_profile
source $HOME/.bash_profile
# Load the talosctl completion code for zsh[1] into the current shell
source <(talosctl completion zsh)
# Set the talosctl completion code for zsh[1] to autoload on startup
talosctl completion zsh > "${fpath[1]}/_osctl"
Options
-h, --help help for completion
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl config add
Add a new context
talosctl config add <context> [flags]
Options
--ca string the path to the CA certificate
--crt string the path to the certificate
-h, --help help for add
--key string the path to the key
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl config - Manage the client configuration
talosctl config context
Set the current context
talosctl config context <context> [flags]
Options
-h, --help help for context
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl config - Manage the client configuration
talosctl config endpoint
Set the endpoint(s) for the current context
talosctl config endpoint <endpoint>... [flags]
Options
-h, --help help for endpoint
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl config - Manage the client configuration
talosctl config node
Set the node(s) for the current context
talosctl config node <endpoint>... [flags]
Options
-h, --help help for node
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl config - Manage the client configuration
talosctl config
Manage the client configuration
Options
-h, --help help for config
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
- talosctl config add - Add a new context
- talosctl config context - Set the current context
- talosctl config endpoint - Set the endpoint(s) for the current context
- talosctl config node - Set the node(s) for the current context
talosctl containers
List containers
talosctl containers [flags]
Options
-h, --help help for containers
-k, --kubernetes use the k8s.io containerd namespace
-c, --use-cri use the CRI driver
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl copy
Copy data out from the node
Synopsis
Creates an .tar.gz archive at the node starting at
If ‘-’ is given for
talosctl copy <src-path> -|<local-path> [flags]
Options
-h, --help help for copy
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl crashdump
Dump debug information about the cluster
talosctl crashdump [flags]
Options
--control-plane-nodes strings specify IPs of control plane nodes
-h, --help help for crashdump
--init-node string specify IPs of init node
--worker-nodes strings specify IPs of worker nodes
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl dashboard
Cluster dashboard with real-time metrics
Synopsis
Provide quick UI to navigate through node real-time metrics.
Keyboard shortcuts:
- h,
: switch one node to the left - l,
: switch one node to the right - j,
: scroll process list down - k,
: scroll process list up : scroll process list half page down : scroll process list half page up : scroll process list one page down : scroll process list one page up
talosctl dashboard [flags]
Options
-h, --help help for dashboard
-d, --update-interval duration interval between updates (default 3s)
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl dmesg
Retrieve kernel logs
talosctl dmesg [flags]
Options
-f, --follow specify if the kernel log should be streamed
-h, --help help for dmesg
--tail specify if only new messages should be sent (makes sense only when combined with --follow)
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl events
Stream runtime events
talosctl events [flags]
Options
--duration duration show events for the past duration interval (one second resolution, default is to show no history)
-h, --help help for events
--since string show events after the specified event ID (default is to show no history)
--tail int32 show specified number of past events (use -1 to show full history, default is to show no history)
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl gen ca
Generates a self-signed X.509 certificate authority
talosctl gen ca [flags]
Options
-h, --help help for ca
--hours int the hours from now on which the certificate validity period ends (default 87600)
--organization string X.509 distinguished name for the Organization
--rsa generate in RSA format
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl gen - Generate CAs, certificates, and private keys
talosctl gen config
Generates a set of configuration files for Talos cluster
Synopsis
The cluster endpoint is the URL for the Kubernetes API. If you decide to use a control plane node, common in a single node control plane setup, use port 6443 as this is the port that the API server binds to on every control plane node. For an HA setup, usually involving a load balancer, use the IP and port of the load balancer.
talosctl gen config <cluster name> <cluster endpoint> [flags]
Options
--additional-sans strings additional Subject-Alt-Names for the APIServer certificate
--arch string the architecture of the cluster (default "amd64")
--dns-domain string the dns domain to use for cluster (default "cluster.local")
-h, --help help for config
--install-disk string the disk to install to (default "/dev/sda")
--install-image string the image used to perform an installation (default "ghcr.io/talos-systems/installer:latest")
--kubernetes-version string desired kubernetes version to run (default "1.19.4")
-o, --output-dir string destination to output generated files
-p, --persist the desired persist value for configs (default true)
--registry-mirror strings list of registry mirrors to use in format: <registry host>=<mirror URL>
--version string the desired machine config version to generate (default "v1alpha1")
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl gen - Generate CAs, certificates, and private keys
talosctl gen crt
Generates an X.509 Ed25519 certificate
talosctl gen crt [flags]
Options
--ca string path to the PEM encoded CERTIFICATE
--csr string path to the PEM encoded CERTIFICATE REQUEST
-h, --help help for crt
--hours int the hours from now on which the certificate validity period ends (default 24)
--name string the basename of the generated file
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl gen - Generate CAs, certificates, and private keys
talosctl gen csr
Generates a CSR using an Ed25519 private key
talosctl gen csr [flags]
Options
-h, --help help for csr
--ip string generate the certificate for this IP address
--key string path to the PEM encoded EC or RSA PRIVATE KEY
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl gen - Generate CAs, certificates, and private keys
talosctl gen key
Generates an Ed25519 private key
talosctl gen key [flags]
Options
-h, --help help for key
--name string the basename of the generated file
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl gen - Generate CAs, certificates, and private keys
talosctl gen keypair
Generates an X.509 Ed25519 key pair
talosctl gen keypair [flags]
Options
-h, --help help for keypair
--ip string generate the certificate for this IP address
--organization string X.509 distinguished name for the Organization
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl gen - Generate CAs, certificates, and private keys
talosctl gen
Generate CAs, certificates, and private keys
Options
-h, --help help for gen
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
- talosctl gen ca - Generates a self-signed X.509 certificate authority
- talosctl gen config - Generates a set of configuration files for Talos cluster
- talosctl gen crt - Generates an X.509 Ed25519 certificate
- talosctl gen csr - Generates a CSR using an Ed25519 private key
- talosctl gen key - Generates an Ed25519 private key
- talosctl gen keypair - Generates an X.509 Ed25519 key pair
talosctl health
Check cluster health
talosctl health [flags]
Options
--control-plane-nodes strings specify IPs of control plane nodes
-h, --help help for health
--init-node string specify IPs of init node
--k8s-endpoint string use endpoint instead of kubeconfig default
--run-e2e run Kubernetes e2e test
--server run server-side check (default true)
--wait-timeout duration timeout to wait for the cluster to be ready (default 20m0s)
--worker-nodes strings specify IPs of worker nodes
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl images
List the default images used by Talos
talosctl images [flags]
Options
-h, --help help for images
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl interfaces
List network interfaces
talosctl interfaces [flags]
Options
-h, --help help for interfaces
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl kubeconfig
Download the admin kubeconfig from the node
Synopsis
Download the admin kubeconfig from the node. If merge flag is defined, config will be merged with ~/.kube/config or [local-path] if specified. Otherwise kubeconfig will be written to PWD or [local-path] if specified.
talosctl kubeconfig [local-path] [flags]
Options
-f, --force Force overwrite of kubeconfig if already present, force overwrite on kubeconfig merge
--force-context-name string Force context name for kubeconfig merge
-h, --help help for kubeconfig
-m, --merge Merge with existing kubeconfig (default true)
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl list
Retrieve a directory listing
talosctl list [path] [flags]
Options
-d, --depth int32 maximum recursion depth
-h, --help help for list
-H, --humanize humanize size and time in the output
-l, --long display additional file details
-r, --recurse recurse into subdirectories
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl logs
Retrieve logs for a service
talosctl logs <service name> [flags]
Options
-f, --follow specify if the logs should be streamed
-h, --help help for logs
-k, --kubernetes use the k8s.io containerd namespace
--tail int32 lines of log file to display (default is to show from the beginning) (default -1)
-c, --use-cri use the CRI driver
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl memory
Show memory usage
talosctl memory [flags]
Options
-h, --help help for memory
-v, --verbose display extended memory statistics
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl mounts
List mounts
talosctl mounts [flags]
Options
-h, --help help for mounts
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl processes
List running processes
talosctl processes [flags]
Options
-h, --help help for processes
-s, --sort string Column to sort output by. [rss|cpu] (default "rss")
-w, --watch Stream running processes
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl read
Read a file on the machine
talosctl read <path> [flags]
Options
-h, --help help for read
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl reboot
Reboot a node
talosctl reboot [flags]
Options
-h, --help help for reboot
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl recover
Recover a control plane
talosctl recover [flags]
Options
-h, --help help for recover
-s, --source string The data source for restoring the control plane manifests from (valid options are "apiserver" and "etcd") (default "apiserver")
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl reset
Reset a node
talosctl reset [flags]
Options
--graceful if true, attempt to cordon/drain node and leave etcd (if applicable) (default true)
-h, --help help for reset
--reboot if true, reboot the node after resetting instead of shutting down
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl restart
Restart a process
talosctl restart <id> [flags]
Options
-h, --help help for restart
-k, --kubernetes use the k8s.io containerd namespace
-c, --use-cri use the CRI driver
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl rollback
Rollback a node to the previous installation
talosctl rollback [flags]
Options
-h, --help help for rollback
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl routes
List network routes
talosctl routes [flags]
Options
-h, --help help for routes
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl service
Retrieve the state of a service (or all services), control service state
Synopsis
Service control command. If run without arguments, lists all the services and their state. If service ID is specified, default action ‘status’ is executed which shows status of a single list service. With actions ‘start’, ‘stop’, ‘restart’, service state is updated respectively.
talosctl service [<id> [start|stop|restart|status]] [flags]
Options
-h, --help help for service
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl shutdown
Shutdown a node
talosctl shutdown [flags]
Options
-h, --help help for shutdown
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl stats
Get container stats
talosctl stats [flags]
Options
-h, --help help for stats
-k, --kubernetes use the k8s.io containerd namespace
-c, --use-cri use the CRI driver
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl time
Gets current server time
talosctl time [--check server] [flags]
Options
--check string checks server time against specified ntp server (default "c")
-h, --help help for time
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl upgrade
Upgrade Talos on the target node
talosctl upgrade [flags]
Options
-h, --help help for upgrade
-i, --image string the container image to use for performing the install
-p, --preserve preserve data
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl upgrade-k8s
Upgrade Kubernetes control plane in the Talos cluster.
Synopsis
Command runs upgrade of Kubernetes control plane components between specified versions. Pod-checkpointer is handled in a special way to speed up kube-apisever upgrades.
talosctl upgrade-k8s [flags]
Options
--arch string the cluster architecture (default "amd64")
--from string the Kubernetes control plane version to upgrade from
-h, --help help for upgrade-k8s
--to string the Kubernetes control plane version to upgrade to (default "1.19.4")
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl usage
Retrieve a disk usage
talosctl usage [path1] [path2] ... [pathN] [flags]
Options
-a, --all write counts for all files, not just directories
-d, --depth int32 maximum recursion depth
-h, --help help for usage
-H, --humanize humanize size and time in the output
-t, --threshold int threshold exclude entries smaller than SIZE if positive, or entries greater than SIZE if negative
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl validate
Validate config
talosctl validate [flags]
Options
-c, --config string the path of the config file
-h, --help help for validate
-m, --mode string the mode to validate the config for
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl version
Prints the version
talosctl version [flags]
Options
--client Print client version only
-h, --help help for version
--short Print the short version
Options inherited from parent commands
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
talosctl
A CLI for out-of-band management of Kubernetes nodes created by Talos
Options
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
-h, --help help for talosctl
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
SEE ALSO
- talosctl apply-config - Apply a new configuration to a node
- talosctl bootstrap - Bootstrap the cluster
- talosctl cluster - A collection of commands for managing local docker-based or firecracker-based clusters
- talosctl completion - Output shell completion code for the specified shell (bash or zsh)
- talosctl config - Manage the client configuration
- talosctl containers - List containers
- talosctl copy - Copy data out from the node
- talosctl crashdump - Dump debug information about the cluster
- talosctl dashboard - Cluster dashboard with real-time metrics
- talosctl dmesg - Retrieve kernel logs
- talosctl events - Stream runtime events
- talosctl gen - Generate CAs, certificates, and private keys
- talosctl health - Check cluster health
- talosctl images - List the default images used by Talos
- talosctl interfaces - List network interfaces
- talosctl kubeconfig - Download the admin kubeconfig from the node
- talosctl list - Retrieve a directory listing
- talosctl logs - Retrieve logs for a service
- talosctl memory - Show memory usage
- talosctl mounts - List mounts
- talosctl processes - List running processes
- talosctl read - Read a file on the machine
- talosctl reboot - Reboot a node
- talosctl recover - Recover a control plane
- talosctl reset - Reset a node
- talosctl restart - Restart a process
- talosctl rollback - Rollback a node to the previous installation
- talosctl routes - List network routes
- talosctl service - Retrieve the state of a service (or all services), control service state
- talosctl shutdown - Shutdown a node
- talosctl stats - Get container stats
- talosctl time - Gets current server time
- talosctl upgrade - Upgrade Talos on the target node
- talosctl upgrade-k8s - Upgrade Kubernetes control plane in the Talos cluster.
- talosctl usage - Retrieve a disk usage
- talosctl validate - Validate config
- talosctl version - Prints the version
3 - Configuration
Package v1alpha1 configuration file contains all the options available for configuring a machine.
To generate a set of basic configuration files, run:
talosctl gen config --version v1alpha1 <cluster name> <cluster endpoint>
This will generate a machine config for each node type, and a talosconfig for the CLI.
Config
Config defines the v1alpha1 configuration file.
version: v1alpha1
persist: true
machine: # ...
cluster: # ...
version
string
Indicates the schema used to decode the contents.
Valid values:
v1alpha1
debug
bool
Enable verbose logging to the console.
Valid values:
true
yes
false
no
persist
bool
Indicates whether to pull the machine config upon every boot.
Valid values:
true
yes
false
no
machine
MachineConfig
Provides machine specific configuration options.
cluster
ClusterConfig
Provides cluster specific configuration options.
MachineConfig
MachineConfig represents the machine-specific config values.
Appears in:
Config.machine
type: controlplane
# InstallConfig represents the installation options for preparing a node.
install:
disk: /dev/sda # The disk used for installations.
# Allows for supplying extra kernel args via the bootloader.
extraKernelArgs:
- console=ttyS1
- panic=10
image: ghcr.io/talos-systems/installer:latest # Allows for supplying the image used to perform the installation.
bootloader: true # Indicates if a bootloader should be installed.
wipe: false # Indicates if the installation disk should be wiped at installation time.
type
string
Defines the role of the machine within the cluster.
Init
Init node type designates the first control plane node to come up. You can think of it like a bootstrap node. This node will perform the initial steps to bootstrap the cluster – generation of TLS assets, starting of the control plane, etc.
Control Plane
Control Plane node type designates the node as a control plane member. This means it will host etcd along with the Kubernetes master components such as API Server, Controller Manager, Scheduler.
Worker
Worker node type designates the node as a worker node. This means it will be an available compute node for scheduling workloads.
Valid values:
init
controlplane
join
token
string
The token
is used by a machine to join the PKI of the cluster.
Using this token, a machine will create a certificate signing request (CSR), and request a certificate that will be used as its’ identity.
Warning: It is important to ensure that this token is correct since a machine’s certificate has a short TTL by default.
Examples:
token: 328hom.uqjzh6jnn2eie9oi
ca
PEMEncodedCertificateAndKey
The root certificate authority of the PKI.
It is composed of a base64 encoded crt
and key
.
Examples:
ca:
crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
certSANs
[]string
Extra certificate subject alternative names for the machine’s certificate. By default, all non-loopback interface IPs are automatically added to the certificate’s SANs.
Examples:
certSANs:
- 10.0.0.10
- 172.16.0.10
- 192.168.0.10
kubelet
KubeletConfig
Used to provide additional options to the kubelet.
Examples:
kubelet:
image: ghcr.io/talos-systems/kubelet:v1.19.4 # The `image` field is an optional reference to an alternative kubelet image.
# The `extraArgs` field is used to provide additional flags to the kubelet.
extraArgs:
--feature-gates: ServerSideApply=true
# # The `extraMounts` field is used to add additional mounts to the kubelet container.
# extraMounts:
# - destination: /var/lib/example
# type: bind
# source: /var/lib/example
# options:
# - rshared
# - rw
network
NetworkConfig
Provides machine specific network configuration options.
Examples:
network:
hostname: worker-1 # Used to statically set the hostname for the machine.
# `interfaces` is used to define the network interface configuration.
interfaces:
- interface: eth0 # The interface name.
cidr: 192.168.2.0/24 # Assigns a static IP address to the interface.
# A list of routes associated with the interface.
routes:
- network: 0.0.0.0/0 # The route's network.
gateway: 192.168.2.1 # The route's gateway.
metric: 1024 # The optional metric for the route.
mtu: 1500 # The interface's MTU.
# # Bond specific options.
# bond:
# # The interfaces that make up the bond.
# interfaces:
# - eth0
# - eth1
# mode: 802.3ad # A bond option.
# lacpRate: fast # A bond option.
# # Indicates if DHCP should be used to configure the interface.
# dhcp: true
# # DHCP specific options.
# dhcpOptions:
# routeMetric: 1024 # The priority of all routes received via DHCP.
# Used to statically set the nameservers for the machine.
nameservers:
- 9.8.7.6
- 8.7.6.5
# # Allows for extra entries to be added to the `/etc/hosts` file
# extraHostEntries:
# - ip: 192.168.1.100 # The IP of the host.
# # The host alias.
# aliases:
# - example
# - example.domain.tld
disks
[]MachineDisk
Used to partition, format and mount additional disks.
Since the rootfs is read only with the exception of /var
, mounts are only valid if they are under /var
.
Note that the partitioning and formating is done only once, if and only if no existing partitions are found.
If size:
is omitted, the partition is sized to occupy the full disk.
Note:
size
is in units of bytes.
Examples:
disks:
- device: /dev/sdb # The name of the disk to use.
# A list of partitions to create on the disk.
partitions:
- mountpoint: /var/mnt/extra # Where to mount the partition.
# # The size of partition: either bytes or human readable representation. Setting this to <code>0</code> will cause the parititon to take up the rest of the disk.
# # Human readable representation.
# size: 100 MB
# # Precise value in bytes.
# size: 1073741824
install
InstallConfig
Used to provide instructions for installations.
Examples:
install:
disk: /dev/sda # The disk used for installations.
# Allows for supplying extra kernel args via the bootloader.
extraKernelArgs:
- console=ttyS1
- panic=10
image: ghcr.io/talos-systems/installer:latest # Allows for supplying the image used to perform the installation.
bootloader: true # Indicates if a bootloader should be installed.
wipe: false # Indicates if the installation disk should be wiped at installation time.
files
[]MachineFile
Allows the addition of user specified files.
The value of op
can be create
, overwrite
, or append
.
In the case of create
, path
must not exist.
In the case of overwrite
, and append
, path
must be a valid file.
If an op
value of append
is used, the existing file will be appended.
Note that the file contents are not required to be base64 encoded.
Note: The specified
path
is relative to/var
.
Examples:
files:
- content: '...' # The contents of the file.
permissions: 0o666 # The file's permissions in octal.
path: /tmp/file.txt # The path of the file.
op: append # The operation to use
env
Env
The env
field allows for the addition of environment variables.
All environment variables are set on PID 1 in addition to every service.
Valid values:
GRPC_GO_LOG_VERBOSITY_LEVEL
GRPC_GO_LOG_SEVERITY_LEVEL
http_proxy
https_proxy
no_proxy
Examples:
env:
GRPC_GO_LOG_SEVERITY_LEVEL: info
GRPC_GO_LOG_VERBOSITY_LEVEL: "99"
https_proxy: http://SERVER:PORT/
env:
GRPC_GO_LOG_SEVERITY_LEVEL: error
https_proxy: https://USERNAME:PASSWORD@SERVER:PORT/
env:
https_proxy: http://DOMAIN\USERNAME:PASSWORD@SERVER:PORT/
time
TimeConfig
Used to configure the machine’s time settings.
Examples:
time:
disabled: false # Indicates if the time service is disabled for the machine.
# Specifies time (NTP) servers to use for setting the system time.
servers:
- time.cloudflare.com
sysctls
map[string]string
Used to configure the machine’s sysctls.
Examples:
sysctls:
kernel.domainname: talos.dev
net.ipv4.ip_forward: "0"
registries
RegistriesConfig
Used to configure the machine’s container image registry mirrors.
Automatically generates matching CRI configuration for registry mirrors.
The mirrors
section allows to redirect requests for images to non-default registry,
which might be local registry or caching mirror.
The config
section provides a way to authenticate to the registry with TLS client
identity, provide registry CA, or authentication information.
Authentication information has same meaning with the corresponding field in .docker/config.json
.
See also matching configuration for CRI containerd plugin.
Examples:
registries:
# Specifies mirror configuration for each registry.
mirrors:
docker.io:
# List of endpoints (URLs) for registry mirrors to use.
endpoints:
- https://registry.local
# Specifies TLS & auth configuration for HTTPS image registries.
config:
registry.local:
# The TLS configuration for the registry.
tls:
# Enable mutual TLS authentication with the registry.
clientIdentity:
crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
# The auth configuration for this registry.
auth:
username: username # Optional registry authentication.
password: password # Optional registry authentication.
ClusterConfig
ClusterConfig represents the cluster-wide config values.
Appears in:
Config.cluster
# ControlPlaneConfig represents the control plane configuration options.
controlPlane:
endpoint: https://1.2.3.4 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.
localAPIServerPort: 443 # The port that the API server listens on internally.
clusterName: talos.local
# ClusterNetworkConfig represents kube networking configuration options.
network:
# The CNI used.
cni:
name: flannel # Name of CNI to use.
dnsDomain: cluster.local # The domain used by Kubernetes DNS.
# The pod subnet CIDR.
podSubnets:
- 10.244.0.0/16
# The service subnet CIDR.
serviceSubnets:
- 10.96.0.0/12
controlPlane
ControlPlaneConfig
Provides control plane specific configuration options.
Examples:
controlPlane:
endpoint: https://1.2.3.4 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.
localAPIServerPort: 443 # The port that the API server listens on internally.
clusterName
string
Configures the cluster’s name.
network
ClusterNetworkConfig
Provides cluster specific network configuration options.
Examples:
network:
# The CNI used.
cni:
name: flannel # Name of CNI to use.
dnsDomain: cluster.local # The domain used by Kubernetes DNS.
# The pod subnet CIDR.
podSubnets:
- 10.244.0.0/16
# The service subnet CIDR.
serviceSubnets:
- 10.96.0.0/12
token
string
aescbcEncryptionSecret
string
The key used for the encryption of secret data at rest.
Examples:
aescbcEncryptionSecret: z01mye6j16bspJYtTB/5SFX8j7Ph4JXxM2Xuu4vsBPM=
ca
PEMEncodedCertificateAndKey
The base64 encoded root certificate authority used by Kubernetes.
Examples:
ca:
crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
apiServer
APIServerConfig
API server specific configuration options.
Examples:
apiServer:
image: k8s.gcr.io/kube-apiserver-amd64:v1.19.4 # The container image used in the API server manifest.
# Extra arguments to supply to the API server.
extraArgs:
--feature-gates: ServerSideApply=true
--http2-max-streams-per-connection: "32"
# Extra certificate subject alternative names for the API server's certificate.
certSANs:
- 1.2.3.4
- 4.5.6.7
controllerManager
ControllerManagerConfig
Controller manager server specific configuration options.
Examples:
controllerManager:
image: k8s.gcr.io/kube-controller-manager-amd64:v1.19.4 # The container image used in the controller manager manifest.
# Extra arguments to supply to the controller manager.
extraArgs:
--feature-gates: ServerSideApply=true
proxy
ProxyConfig
Kube-proxy server-specific configuration options
Examples:
proxy:
image: k8s.gcr.io/kube-proxy-amd64:v1.19.4 # The container image used in the kube-proxy manifest.
mode: ipvs # proxy mode of kube-proxy.
# Extra arguments to supply to kube-proxy.
extraArgs:
--proxy-mode: iptables
scheduler
SchedulerConfig
Scheduler server specific configuration options.
Examples:
scheduler:
image: k8s.gcr.io/kube-scheduler-amd64:v1.19.4 # The container image used in the scheduler manifest.
# Extra arguments to supply to the scheduler.
extraArgs:
--feature-gates: AllBeta=true
etcd
EtcdConfig
Etcd specific configuration options.
Examples:
etcd:
image: gcr.io/etcd-development/etcd:v3.4.12 # The container image used to create the etcd service.
# The `ca` is the root certificate authority of the PKI.
ca:
crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
# Extra arguments to supply to etcd.
extraArgs:
--election-timeout: "5000"
podCheckpointer
PodCheckpointer
Pod Checkpointer specific configuration options.
Examples:
podCheckpointer:
image: '...' # The `image` field is an override to the default pod-checkpointer image.
coreDNS
CoreDNS
Core DNS specific configuration options.
Examples:
coreDNS:
image: k8s.gcr.io/coredns:1.7.0 # The `image` field is an override to the default coredns image.
extraManifests
[]string
A list of urls that point to additional manifests. These will get automatically deployed by bootkube.
Examples:
extraManifests:
- https://www.example.com/manifest1.yaml
- https://www.example.com/manifest2.yaml
extraManifestHeaders
map[string]string
A map of key value pairs that will be added while fetching the ExtraManifests.
Examples:
extraManifestHeaders:
Token: "1234567"
X-ExtraInfo: info
adminKubeconfig
AdminKubeconfigConfig
Settings for admin kubeconfig generation. Certificate lifetime can be configured.
Examples:
adminKubeconfig:
certLifetime: 1h0m0s # Admin kubeconfig certificate lifetime (default is 1 year).
allowSchedulingOnMasters
bool
Indicates if master nodes are schedulable.
Valid values:
true
yes
false
no
KubeletConfig
KubeletConfig represents the kubelet config values.
Appears in:
MachineConfig.kubelet
image: ghcr.io/talos-systems/kubelet:v1.19.4 # The `image` field is an optional reference to an alternative kubelet image.
# The `extraArgs` field is used to provide additional flags to the kubelet.
extraArgs:
--feature-gates: ServerSideApply=true
# # The `extraMounts` field is used to add additional mounts to the kubelet container.
# extraMounts:
# - destination: /var/lib/example
# type: bind
# source: /var/lib/example
# options:
# - rshared
# - rw
image
string
The image
field is an optional reference to an alternative kubelet image.
Examples:
image: ghcr.io/talos-systems/kubelet:v1.19.4
extraArgs
map[string]string
The extraArgs
field is used to provide additional flags to the kubelet.
Examples:
extraArgs:
key: value
extraMounts
[]Mount
The extraMounts
field is used to add additional mounts to the kubelet container.
Examples:
extraMounts:
- destination: /var/lib/example
type: bind
source: /var/lib/example
options:
- rshared
- rw
NetworkConfig
NetworkConfig represents the machine’s networking config values.
Appears in:
MachineConfig.network
hostname: worker-1 # Used to statically set the hostname for the machine.
# `interfaces` is used to define the network interface configuration.
interfaces:
- interface: eth0 # The interface name.
cidr: 192.168.2.0/24 # Assigns a static IP address to the interface.
# A list of routes associated with the interface.
routes:
- network: 0.0.0.0/0 # The route's network.
gateway: 192.168.2.1 # The route's gateway.
metric: 1024 # The optional metric for the route.
mtu: 1500 # The interface's MTU.
# # Bond specific options.
# bond:
# # The interfaces that make up the bond.
# interfaces:
# - eth0
# - eth1
# mode: 802.3ad # A bond option.
# lacpRate: fast # A bond option.
# # Indicates if DHCP should be used to configure the interface.
# dhcp: true
# # DHCP specific options.
# dhcpOptions:
# routeMetric: 1024 # The priority of all routes received via DHCP.
# Used to statically set the nameservers for the machine.
nameservers:
- 9.8.7.6
- 8.7.6.5
# # Allows for extra entries to be added to the `/etc/hosts` file
# extraHostEntries:
# - ip: 192.168.1.100 # The IP of the host.
# # The host alias.
# aliases:
# - example
# - example.domain.tld
hostname
string
Used to statically set the hostname for the machine.
interfaces
[]Device
interfaces
is used to define the network interface configuration.
By default all network interfaces will attempt a DHCP discovery.
This can be further tuned through this configuration parameter.
Examples:
interfaces:
- interface: eth0 # The interface name.
cidr: 192.168.2.0/24 # Assigns a static IP address to the interface.
# A list of routes associated with the interface.
routes:
- network: 0.0.0.0/0 # The route's network.
gateway: 192.168.2.1 # The route's gateway.
metric: 1024 # The optional metric for the route.
mtu: 1500 # The interface's MTU.
# # Bond specific options.
# bond:
# # The interfaces that make up the bond.
# interfaces:
# - eth0
# - eth1
# mode: 802.3ad # A bond option.
# lacpRate: fast # A bond option.
# # Indicates if DHCP should be used to configure the interface.
# dhcp: true
# # DHCP specific options.
# dhcpOptions:
# routeMetric: 1024 # The priority of all routes received via DHCP.
nameservers
[]string
Used to statically set the nameservers for the machine.
Defaults to 1.1.1.1
and 8.8.8.8
Examples:
nameservers:
- 8.8.8.8
- 1.1.1.1
extraHostEntries
[]ExtraHost
Allows for extra entries to be added to the /etc/hosts
file
Examples:
extraHostEntries:
- ip: 192.168.1.100 # The IP of the host.
# The host alias.
aliases:
- example
- example.domain.tld
InstallConfig
InstallConfig represents the installation options for preparing a node.
Appears in:
MachineConfig.install
disk: /dev/sda # The disk used for installations.
# Allows for supplying extra kernel args via the bootloader.
extraKernelArgs:
- console=ttyS1
- panic=10
image: ghcr.io/talos-systems/installer:latest # Allows for supplying the image used to perform the installation.
bootloader: true # Indicates if a bootloader should be installed.
wipe: false # Indicates if the installation disk should be wiped at installation time.
disk
string
The disk used for installations.
Examples:
disk: /dev/sda
disk: /dev/nvme0
extraKernelArgs
[]string
Allows for supplying extra kernel args via the bootloader.
Examples:
extraKernelArgs:
- talos.platform=metal
- reboot=k
image
string
Allows for supplying the image used to perform the installation. Image reference for each Talos release can be found on GitHub releases page.
Examples:
image: ghcr.io/talos-systems/installer:latest
bootloader
bool
Indicates if a bootloader should be installed.
Valid values:
true
yes
false
no
wipe
bool
Indicates if the installation disk should be wiped at installation time.
Defaults to true
.
Valid values:
true
yes
false
no
TimeConfig
TimeConfig represents the options for configuring time on a machine.
Appears in:
MachineConfig.time
disabled: false # Indicates if the time service is disabled for the machine.
# Specifies time (NTP) servers to use for setting the system time.
servers:
- time.cloudflare.com
disabled
bool
Indicates if the time service is disabled for the machine.
Defaults to false
.
servers
[]string
Specifies time (NTP) servers to use for setting the system time.
Defaults to pool.ntp.org
This parameter only supports a single time server.
RegistriesConfig
RegistriesConfig represents the image pull options.
Appears in:
MachineConfig.registries
# Specifies mirror configuration for each registry.
mirrors:
docker.io:
# List of endpoints (URLs) for registry mirrors to use.
endpoints:
- https://registry.local
# Specifies TLS & auth configuration for HTTPS image registries.
config:
registry.local:
# The TLS configuration for the registry.
tls:
# Enable mutual TLS authentication with the registry.
clientIdentity:
crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
# The auth configuration for this registry.
auth:
username: username # Optional registry authentication.
password: password # Optional registry authentication.
mirrors
map[string]RegistryMirrorConfig
Specifies mirror configuration for each registry. This setting allows to use local pull-through caching registires, air-gapped installations, etc.
Registry name is the first segment of image identifier, with ‘docker.io’ being default one. To catch any registry names not specified explicitly, use ‘*’.
Examples:
mirrors:
ghcr.io:
# List of endpoints (URLs) for registry mirrors to use.
endpoints:
- https://registry.insecure
- https://ghcr.io/v2/
config
map[string]RegistryConfig
Specifies TLS & auth configuration for HTTPS image registries. Mutual TLS can be enabled with ‘clientIdentity’ option.
TLS configuration can be skipped if registry has trusted server certificate.
Examples:
config:
registry.insecure:
# The TLS configuration for the registry.
tls:
insecureSkipVerify: true # Skip TLS server certificate verification (not recommended).
# # Enable mutual TLS authentication with the registry.
# clientIdentity:
# crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
# key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
# # The auth configuration for this registry.
# auth:
# username: username # Optional registry authentication.
# password: password # Optional registry authentication.
PodCheckpointer
PodCheckpointer represents the pod-checkpointer config values.
Appears in:
ClusterConfig.podCheckpointer
image: '...' # The `image` field is an override to the default pod-checkpointer image.
image
string
The image
field is an override to the default pod-checkpointer image.
CoreDNS
CoreDNS represents the CoreDNS config values.
Appears in:
ClusterConfig.coreDNS
image: k8s.gcr.io/coredns:1.7.0 # The `image` field is an override to the default coredns image.
image
string
The image
field is an override to the default coredns image.
Endpoint
Endpoint represents the endpoint URL parsed out of the machine config.
Appears in:
ControlPlaneConfig.endpoint
https://1.2.3.4:6443
https://cluster1.internal:6443
ControlPlaneConfig
ControlPlaneConfig represents the control plane configuration options.
Appears in:
ClusterConfig.controlPlane
endpoint: https://1.2.3.4 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.
localAPIServerPort: 443 # The port that the API server listens on internally.
endpoint
Endpoint
Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname. It is single-valued, and may optionally include a port number.
Examples:
endpoint: https://1.2.3.4:6443
endpoint: https://cluster1.internal:6443
localAPIServerPort
int
The port that the API server listens on internally.
This may be different than the port portion listed in the endpoint field above.
The default is 6443
.
APIServerConfig
APIServerConfig represents the kube apiserver configuration options.
Appears in:
ClusterConfig.apiServer
image: k8s.gcr.io/kube-apiserver-amd64:v1.19.4 # The container image used in the API server manifest.
# Extra arguments to supply to the API server.
extraArgs:
--feature-gates: ServerSideApply=true
--http2-max-streams-per-connection: "32"
# Extra certificate subject alternative names for the API server's certificate.
certSANs:
- 1.2.3.4
- 4.5.6.7
image
string
The container image used in the API server manifest.
extraArgs
map[string]string
Extra arguments to supply to the API server.
certSANs
[]string
Extra certificate subject alternative names for the API server’s certificate.
ControllerManagerConfig
ControllerManagerConfig represents the kube controller manager configuration options.
Appears in:
ClusterConfig.controllerManager
image: k8s.gcr.io/kube-controller-manager-amd64:v1.19.4 # The container image used in the controller manager manifest.
# Extra arguments to supply to the controller manager.
extraArgs:
--feature-gates: ServerSideApply=true
image
string
The container image used in the controller manager manifest.
extraArgs
map[string]string
Extra arguments to supply to the controller manager.
ProxyConfig
ProxyConfig represents the kube proxy configuration options.
Appears in:
ClusterConfig.proxy
image: k8s.gcr.io/kube-proxy-amd64:v1.19.4 # The container image used in the kube-proxy manifest.
mode: ipvs # proxy mode of kube-proxy.
# Extra arguments to supply to kube-proxy.
extraArgs:
--proxy-mode: iptables
image
string
The container image used in the kube-proxy manifest.
mode
string
proxy mode of kube-proxy. The default is ‘iptables’.
extraArgs
map[string]string
Extra arguments to supply to kube-proxy.
SchedulerConfig
SchedulerConfig represents the kube scheduler configuration options.
Appears in:
ClusterConfig.scheduler
image: k8s.gcr.io/kube-scheduler-amd64:v1.19.4 # The container image used in the scheduler manifest.
# Extra arguments to supply to the scheduler.
extraArgs:
--feature-gates: AllBeta=true
image
string
The container image used in the scheduler manifest.
extraArgs
map[string]string
Extra arguments to supply to the scheduler.
EtcdConfig
EtcdConfig represents the etcd configuration options.
Appears in:
ClusterConfig.etcd
image: gcr.io/etcd-development/etcd:v3.4.12 # The container image used to create the etcd service.
# The `ca` is the root certificate authority of the PKI.
ca:
crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
# Extra arguments to supply to etcd.
extraArgs:
--election-timeout: "5000"
image
string
The container image used to create the etcd service.
ca
PEMEncodedCertificateAndKey
The ca
is the root certificate authority of the PKI.
It is composed of a base64 encoded crt
and key
.
Examples:
ca:
crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
extraArgs
map[string]string
Extra arguments to supply to etcd. Note that the following args are not allowed:
name
data-dir
initial-cluster-state
listen-peer-urls
listen-client-urls
cert-file
key-file
trusted-ca-file
peer-client-cert-auth
peer-cert-file
peer-trusted-ca-file
peer-key-file
ClusterNetworkConfig
ClusterNetworkConfig represents kube networking configuration options.
Appears in:
ClusterConfig.network
# The CNI used.
cni:
name: flannel # Name of CNI to use.
dnsDomain: cluster.local # The domain used by Kubernetes DNS.
# The pod subnet CIDR.
podSubnets:
- 10.244.0.0/16
# The service subnet CIDR.
serviceSubnets:
- 10.96.0.0/12
cni
CNIConfig
The CNI used. Composed of “name” and “url”. The “name” key only supports options of “flannel” or “custom”. URLs is only used if name is equal to “custom”. URLs should point to the set of YAML files to be deployed. An empty struct or any other name will default to bootkube’s flannel.
Examples:
cni:
name: custom # Name of CNI to use.
# URLs containing manifests to apply for the CNI.
urls:
- https://raw.githubusercontent.com/cilium/cilium/v1.8/install/kubernetes/quick-install.yaml
dnsDomain
string
The domain used by Kubernetes DNS.
The default is cluster.local
Examples:
dnsDomain: cluser.local
podSubnets
[]string
The pod subnet CIDR.
Examples:
podSubnets:
- 10.244.0.0/16
serviceSubnets
[]string
The service subnet CIDR.
Examples:
serviceSubnets:
- 10.96.0.0/12
CNIConfig
CNIConfig represents the CNI configuration options.
Appears in:
name: custom # Name of CNI to use.
# URLs containing manifests to apply for the CNI.
urls:
- https://raw.githubusercontent.com/cilium/cilium/v1.8/install/kubernetes/quick-install.yaml
name
string
Name of CNI to use.
urls
[]string
URLs containing manifests to apply for the CNI.
AdminKubeconfigConfig
AdminKubeconfigConfig contains admin kubeconfig settings.
Appears in:
ClusterConfig.adminKubeconfig
certLifetime: 1h0m0s # Admin kubeconfig certificate lifetime (default is 1 year).
certLifetime
Duration
Admin kubeconfig certificate lifetime (default is 1 year). Field format accepts any Go time.Duration format (‘1h’ for one hour, ‘10m’ for ten minutes).
MachineDisk
MachineDisk represents the options available for partitioning, formatting, and mounting extra disks.
Appears in:
MachineConfig.disks
- device: /dev/sdb # The name of the disk to use.
# A list of partitions to create on the disk.
partitions:
- mountpoint: /var/mnt/extra # Where to mount the partition.
# # This size of partition: either bytes or human readable representation.
# # Human readable representation.
# size: 100 MB
# # Precise value in bytes.
# size: 1073741824
device
string
The name of the disk to use.
partitions
[]DiskPartition
A list of partitions to create on the disk.
DiskPartition
DiskPartition represents the options for a disk partition.
Appears in:
MachineDisk.partitions
size
DiskSize
The size of partition: either bytes or human readable representation. If size:
is omitted, the partition is sized to occupy the full disk.
Examples:
size: 100 MB
size: 1073741824
mountpoint
string
Where to mount the partition.
MachineFile
MachineFile represents a file to write to disk.
Appears in:
MachineConfig.files
- content: '...' # The contents of the file.
permissions: 0o666 # The file's permissions in octal.
path: /tmp/file.txt # The path of the file.
op: append # The operation to use
content
string
The contents of the file.
permissions
FileMode
The file’s permissions in octal.
path
string
The path of the file.
op
string
The operation to use
Valid values:
create
append
overwrite
ExtraHost
ExtraHost represents a host entry in /etc/hosts.
Appears in:
NetworkConfig.extraHostEntries
- ip: 192.168.1.100 # The IP of the host.
# The host alias.
aliases:
- example
- example.domain.tld
ip
string
The IP of the host.
aliases
[]string
The host alias.
Device
Device represents a network interface.
Appears in:
NetworkConfig.interfaces
- interface: eth0 # The interface name.
cidr: 192.168.2.0/24 # Assigns a static IP address to the interface.
# A list of routes associated with the interface.
routes:
- network: 0.0.0.0/0 # The route's network.
gateway: 192.168.2.1 # The route's gateway.
metric: 1024 # The optional metric for the route.
mtu: 1500 # The interface's MTU.
# # Bond specific options.
# bond:
# # The interfaces that make up the bond.
# interfaces:
# - eth0
# - eth1
# mode: 802.3ad # A bond option.
# lacpRate: fast # A bond option.
# # Indicates if DHCP should be used to configure the interface.
# dhcp: true
# # DHCP specific options.
# dhcpOptions:
# routeMetric: 1024 # The priority of all routes received via DHCP.
interface
string
The interface name.
Examples:
interface: eth0
cidr
string
Assigns a static IP address to the interface. This should be in proper CIDR notation.
Note: This option is mutually exclusive with DHCP option.
Examples:
cidr: 10.5.0.0/16
routes
[]Route
A list of routes associated with the interface. If used in combination with DHCP, these routes will be appended to routes returned by DHCP server.
Examples:
routes:
- network: 0.0.0.0/0 # The route's network.
gateway: 10.5.0.1 # The route's gateway.
- network: 10.2.0.0/16 # The route's network.
gateway: 10.2.0.1 # The route's gateway.
bond
Bond
Bond specific options.
Examples:
bond:
# The interfaces that make up the bond.
interfaces:
- eth0
- eth1
mode: 802.3ad # A bond option.
lacpRate: fast # A bond option.
vlans
[]Vlan
VLAN specific options.
mtu
int
The interface’s MTU. If used in combination with DHCP, this will override any MTU settings returned from DHCP server.
dhcp
bool
Indicates if DHCP should be used to configure the interface. The following DHCP options are supported:
OptionClasslessStaticRoute
OptionDomainNameServer
OptionDNSDomainSearchList
OptionHostName
Note: This option is mutually exclusive with CIDR.
Note: To configure an interface with only IPv6 SLAAC addressing, CIDR should be set to "" and DHCP to false in order for Talos to skip configuration of addresses. All other options will still apply.
Examples:
dhcp: true
ignore
bool
Indicates if the interface should be ignored (skips configuration).
dummy
bool
Indicates if the interface is a dummy interface.
dummy
is used to specify that this interface should be a virtual-only, dummy interface.
dhcpOptions
DHCPOptions
DHCP specific options.
dhcp
must be set to true for these to take effect.
Examples:
dhcpOptions:
routeMetric: 1024 # The priority of all routes received via DHCP.
DHCPOptions
DHCPOptions contains options for configuring the DHCP settings for a given interface.
Appears in:
Device.dhcpOptions
routeMetric: 1024 # The priority of all routes received via DHCP.
routeMetric
uint32
The priority of all routes received via DHCP.
Bond
Bond contains the various options for configuring a bonded interface.
Appears in:
Device.bond
# The interfaces that make up the bond.
interfaces:
- eth0
- eth1
mode: 802.3ad # A bond option.
lacpRate: fast # A bond option.
interfaces
[]string
The interfaces that make up the bond.
arpIPTarget
[]string
A bond option. Please see the official kernel documentation.
mode
string
A bond option. Please see the official kernel documentation.
xmitHashPolicy
string
A bond option. Please see the official kernel documentation.
lacpRate
string
A bond option. Please see the official kernel documentation.
adActorSystem
string
A bond option. Please see the official kernel documentation.
arpValidate
string
A bond option. Please see the official kernel documentation.
arpAllTargets
string
A bond option. Please see the official kernel documentation.
primary
string
A bond option. Please see the official kernel documentation.
primaryReselect
string
A bond option. Please see the official kernel documentation.
failOverMac
string
A bond option. Please see the official kernel documentation.
adSelect
string
A bond option. Please see the official kernel documentation.
miimon
uint32
A bond option. Please see the official kernel documentation.
updelay
uint32
A bond option. Please see the official kernel documentation.
downdelay
uint32
A bond option. Please see the official kernel documentation.
arpInterval
uint32
A bond option. Please see the official kernel documentation.
resendIgmp
uint32
A bond option. Please see the official kernel documentation.
minLinks
uint32
A bond option. Please see the official kernel documentation.
lpInterval
uint32
A bond option. Please see the official kernel documentation.
packetsPerSlave
uint32
A bond option. Please see the official kernel documentation.
numPeerNotif
uint8
A bond option. Please see the official kernel documentation.
tlbDynamicLb
uint8
A bond option. Please see the official kernel documentation.
allSlavesActive
uint8
A bond option. Please see the official kernel documentation.
useCarrier
bool
A bond option. Please see the official kernel documentation.
adActorSysPrio
uint16
A bond option. Please see the official kernel documentation.
adUserPortKey
uint16
A bond option. Please see the official kernel documentation.
peerNotifyDelay
uint32
A bond option. Please see the official kernel documentation.
Vlan
Vlan represents vlan settings for a device.
Appears in:
Device.vlans
cidr
string
The CIDR to use.
routes
[]Route
A list of routes associated with the VLAN.
dhcp
bool
Indicates if DHCP should be used.
vlanId
uint16
The VLAN’s ID.
Route
Route represents a network route.
Appears in:
- network: 0.0.0.0/0 # The route's network.
gateway: 10.5.0.1 # The route's gateway.
- network: 10.2.0.0/16 # The route's network.
gateway: 10.2.0.1 # The route's gateway.
network
string
The route’s network.
gateway
string
The route’s gateway.
metric
uint32
The optional metric for the route.
RegistryMirrorConfig
RegistryMirrorConfig represents mirror configuration for a registry.
Appears in:
RegistriesConfig.mirrors
ghcr.io:
# List of endpoints (URLs) for registry mirrors to use.
endpoints:
- https://registry.insecure
- https://ghcr.io/v2/
endpoints
[]string
List of endpoints (URLs) for registry mirrors to use.
Endpoint configures HTTP/HTTPS access mode, host name,
port and path (if path is not set, it defaults to /v2
).
RegistryConfig
RegistryConfig specifies auth & TLS config per registry.
Appears in:
RegistriesConfig.config
registry.insecure:
# The TLS configuration for the registry.
tls:
insecureSkipVerify: true # Skip TLS server certificate verification (not recommended).
# # Enable mutual TLS authentication with the registry.
# clientIdentity:
# crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
# key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
# # The auth configuration for this registry.
# auth:
# username: username # Optional registry authentication.
# password: password # Optional registry authentication.
The TLS configuration for the registry.
Examples:
tls:
# Enable mutual TLS authentication with the registry.
clientIdentity:
crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
tls:
insecureSkipVerify: true # Skip TLS server certificate verification (not recommended).
# # Enable mutual TLS authentication with the registry.
# clientIdentity:
# crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
# key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
auth
RegistryAuthConfig
The auth configuration for this registry.
Examples:
auth:
username: username # Optional registry authentication.
password: password # Optional registry authentication.
RegistryAuthConfig
RegistryAuthConfig specifies authentication configuration for a registry.
Appears in:
RegistryConfig.auth
username: username # Optional registry authentication.
password: password # Optional registry authentication.
username
string
Optional registry authentication. The meaning of each field is the same with the corresponding field in .docker/config.json.
password
string
Optional registry authentication. The meaning of each field is the same with the corresponding field in .docker/config.json.
auth
string
Optional registry authentication. The meaning of each field is the same with the corresponding field in .docker/config.json.
identityToken
string
Optional registry authentication. The meaning of each field is the same with the corresponding field in .docker/config.json.
RegistryTLSConfig
RegistryTLSConfig specifies TLS config for HTTPS registries.
Appears in:
RegistryConfig.tls
# Enable mutual TLS authentication with the registry.
clientIdentity:
crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
insecureSkipVerify: true # Skip TLS server certificate verification (not recommended).
# # Enable mutual TLS authentication with the registry.
# clientIdentity:
# crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
# key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
clientIdentity
PEMEncodedCertificateAndKey
Enable mutual TLS authentication with the registry. Client certificate and key should be base64-encoded.
Examples:
clientIdentity:
crt: TFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSklla05DTUhGLi4u
key: TFMwdExTMUNSVWRKVGlCRlJESTFOVEU1SUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLVFVNLi4u
ca
Base64Bytes
CA registry certificate to add the list of trusted certificates. Certificate should be base64-encoded.
insecureSkipVerify
bool
Skip TLS server certificate verification (not recommended).
4 - Platform
Metal
Below is a image to visualize the process of bootstrapping nodes.