--- title: API description: Talos gRPC API reference. --- ## Table of Contents - [common/common.proto](#common/common.proto) - [Data](#common.Data) - [DataResponse](#common.DataResponse) - [Empty](#common.Empty) - [EmptyResponse](#common.EmptyResponse) - [Error](#common.Error) - [Metadata](#common.Metadata) - [Code](#common.Code) - [ContainerDriver](#common.ContainerDriver) - [inspect/inspect.proto](#inspect/inspect.proto) - [ControllerDependencyEdge](#inspect.ControllerDependencyEdge) - [ControllerRuntimeDependenciesResponse](#inspect.ControllerRuntimeDependenciesResponse) - [ControllerRuntimeDependency](#inspect.ControllerRuntimeDependency) - [DependencyEdgeType](#inspect.DependencyEdgeType) - [InspectService](#inspect.InspectService) - [machine/machine.proto](#machine/machine.proto) - [ApplyConfiguration](#machine.ApplyConfiguration) - [ApplyConfigurationRequest](#machine.ApplyConfigurationRequest) - [ApplyConfigurationResponse](#machine.ApplyConfigurationResponse) - [Bootstrap](#machine.Bootstrap) - [BootstrapRequest](#machine.BootstrapRequest) - [BootstrapResponse](#machine.BootstrapResponse) - [CNIConfig](#machine.CNIConfig) - [CPUInfo](#machine.CPUInfo) - [CPUInfoResponse](#machine.CPUInfoResponse) - [CPUStat](#machine.CPUStat) - [CPUsInfo](#machine.CPUsInfo) - [ClusterConfig](#machine.ClusterConfig) - [ClusterNetworkConfig](#machine.ClusterNetworkConfig) - [Container](#machine.Container) - [ContainerInfo](#machine.ContainerInfo) - [ContainersRequest](#machine.ContainersRequest) - [ContainersResponse](#machine.ContainersResponse) - [ControlPlaneConfig](#machine.ControlPlaneConfig) - [CopyRequest](#machine.CopyRequest) - [DHCPOptionsConfig](#machine.DHCPOptionsConfig) - [DiskStat](#machine.DiskStat) - [DiskStats](#machine.DiskStats) - [DiskStatsResponse](#machine.DiskStatsResponse) - [DiskUsageInfo](#machine.DiskUsageInfo) - [DiskUsageRequest](#machine.DiskUsageRequest) - [DmesgRequest](#machine.DmesgRequest) - [EtcdForfeitLeadership](#machine.EtcdForfeitLeadership) - [EtcdForfeitLeadershipRequest](#machine.EtcdForfeitLeadershipRequest) - [EtcdForfeitLeadershipResponse](#machine.EtcdForfeitLeadershipResponse) - [EtcdLeaveCluster](#machine.EtcdLeaveCluster) - [EtcdLeaveClusterRequest](#machine.EtcdLeaveClusterRequest) - [EtcdLeaveClusterResponse](#machine.EtcdLeaveClusterResponse) - [EtcdMember](#machine.EtcdMember) - [EtcdMemberListRequest](#machine.EtcdMemberListRequest) - [EtcdMemberListResponse](#machine.EtcdMemberListResponse) - [EtcdMembers](#machine.EtcdMembers) - [EtcdRecover](#machine.EtcdRecover) - [EtcdRecoverResponse](#machine.EtcdRecoverResponse) - [EtcdRemoveMember](#machine.EtcdRemoveMember) - [EtcdRemoveMemberRequest](#machine.EtcdRemoveMemberRequest) - [EtcdRemoveMemberResponse](#machine.EtcdRemoveMemberResponse) - [EtcdSnapshotRequest](#machine.EtcdSnapshotRequest) - [Event](#machine.Event) - [EventsRequest](#machine.EventsRequest) - [FeaturesInfo](#machine.FeaturesInfo) - [FileInfo](#machine.FileInfo) - [GenerateClientConfiguration](#machine.GenerateClientConfiguration) - [GenerateClientConfigurationRequest](#machine.GenerateClientConfigurationRequest) - [GenerateClientConfigurationResponse](#machine.GenerateClientConfigurationResponse) - [GenerateConfiguration](#machine.GenerateConfiguration) - [GenerateConfigurationRequest](#machine.GenerateConfigurationRequest) - [GenerateConfigurationResponse](#machine.GenerateConfigurationResponse) - [Hostname](#machine.Hostname) - [HostnameResponse](#machine.HostnameResponse) - [InstallConfig](#machine.InstallConfig) - [ListRequest](#machine.ListRequest) - [LoadAvg](#machine.LoadAvg) - [LoadAvgResponse](#machine.LoadAvgResponse) - [LogsRequest](#machine.LogsRequest) - [MachineConfig](#machine.MachineConfig) - [MemInfo](#machine.MemInfo) - [Memory](#machine.Memory) - [MemoryResponse](#machine.MemoryResponse) - [MountStat](#machine.MountStat) - [Mounts](#machine.Mounts) - [MountsResponse](#machine.MountsResponse) - [NetDev](#machine.NetDev) - [NetworkConfig](#machine.NetworkConfig) - [NetworkDeviceConfig](#machine.NetworkDeviceConfig) - [NetworkDeviceStats](#machine.NetworkDeviceStats) - [NetworkDeviceStatsResponse](#machine.NetworkDeviceStatsResponse) - [PhaseEvent](#machine.PhaseEvent) - [PlatformInfo](#machine.PlatformInfo) - [Process](#machine.Process) - [ProcessInfo](#machine.ProcessInfo) - [ProcessesResponse](#machine.ProcessesResponse) - [ReadRequest](#machine.ReadRequest) - [Reboot](#machine.Reboot) - [RebootResponse](#machine.RebootResponse) - [RemoveBootkubeInitializedKey](#machine.RemoveBootkubeInitializedKey) - [RemoveBootkubeInitializedKeyResponse](#machine.RemoveBootkubeInitializedKeyResponse) - [Reset](#machine.Reset) - [ResetPartitionSpec](#machine.ResetPartitionSpec) - [ResetRequest](#machine.ResetRequest) - [ResetResponse](#machine.ResetResponse) - [Restart](#machine.Restart) - [RestartEvent](#machine.RestartEvent) - [RestartRequest](#machine.RestartRequest) - [RestartResponse](#machine.RestartResponse) - [Rollback](#machine.Rollback) - [RollbackRequest](#machine.RollbackRequest) - [RollbackResponse](#machine.RollbackResponse) - [RouteConfig](#machine.RouteConfig) - [SequenceEvent](#machine.SequenceEvent) - [ServiceEvent](#machine.ServiceEvent) - [ServiceEvents](#machine.ServiceEvents) - [ServiceHealth](#machine.ServiceHealth) - [ServiceInfo](#machine.ServiceInfo) - [ServiceList](#machine.ServiceList) - [ServiceListResponse](#machine.ServiceListResponse) - [ServiceRestart](#machine.ServiceRestart) - [ServiceRestartRequest](#machine.ServiceRestartRequest) - [ServiceRestartResponse](#machine.ServiceRestartResponse) - [ServiceStart](#machine.ServiceStart) - [ServiceStartRequest](#machine.ServiceStartRequest) - [ServiceStartResponse](#machine.ServiceStartResponse) - [ServiceStateEvent](#machine.ServiceStateEvent) - [ServiceStop](#machine.ServiceStop) - [ServiceStopRequest](#machine.ServiceStopRequest) - [ServiceStopResponse](#machine.ServiceStopResponse) - [Shutdown](#machine.Shutdown) - [ShutdownResponse](#machine.ShutdownResponse) - [SoftIRQStat](#machine.SoftIRQStat) - [StartRequest](#machine.StartRequest) - [StartResponse](#machine.StartResponse) - [Stat](#machine.Stat) - [Stats](#machine.Stats) - [StatsRequest](#machine.StatsRequest) - [StatsResponse](#machine.StatsResponse) - [StopRequest](#machine.StopRequest) - [StopResponse](#machine.StopResponse) - [SystemStat](#machine.SystemStat) - [SystemStatResponse](#machine.SystemStatResponse) - [TaskEvent](#machine.TaskEvent) - [Upgrade](#machine.Upgrade) - [UpgradeRequest](#machine.UpgradeRequest) - [UpgradeResponse](#machine.UpgradeResponse) - [Version](#machine.Version) - [VersionInfo](#machine.VersionInfo) - [VersionResponse](#machine.VersionResponse) - [ListRequest.Type](#machine.ListRequest.Type) - [MachineConfig.MachineType](#machine.MachineConfig.MachineType) - [PhaseEvent.Action](#machine.PhaseEvent.Action) - [SequenceEvent.Action](#machine.SequenceEvent.Action) - [ServiceStateEvent.Action](#machine.ServiceStateEvent.Action) - [TaskEvent.Action](#machine.TaskEvent.Action) - [MachineService](#machine.MachineService) - [network/network.proto](#network/network.proto) - [Interface](#network.Interface) - [Interfaces](#network.Interfaces) - [InterfacesResponse](#network.InterfacesResponse) - [Route](#network.Route) - [Routes](#network.Routes) - [RoutesResponse](#network.RoutesResponse) - [AddressFamily](#network.AddressFamily) - [InterfaceFlags](#network.InterfaceFlags) - [RouteProtocol](#network.RouteProtocol) - [NetworkService](#network.NetworkService) - [resource/resource.proto](#resource/resource.proto) - [Get](#resource.Get) - [GetRequest](#resource.GetRequest) - [GetResponse](#resource.GetResponse) - [ListRequest](#resource.ListRequest) - [ListResponse](#resource.ListResponse) - [Metadata](#resource.Metadata) - [Resource](#resource.Resource) - [Spec](#resource.Spec) - [WatchRequest](#resource.WatchRequest) - [WatchResponse](#resource.WatchResponse) - [EventType](#resource.EventType) - [ResourceService](#resource.ResourceService) - [security/security.proto](#security/security.proto) - [CertificateRequest](#securityapi.CertificateRequest) - [CertificateResponse](#securityapi.CertificateResponse) - [SecurityService](#securityapi.SecurityService) - [storage/storage.proto](#storage/storage.proto) - [Disk](#storage.Disk) - [Disks](#storage.Disks) - [DisksResponse](#storage.DisksResponse) - [Disk.DiskType](#storage.Disk.DiskType) - [StorageService](#storage.StorageService) - [time/time.proto](#time/time.proto) - [Time](#time.Time) - [TimeRequest](#time.TimeRequest) - [TimeResponse](#time.TimeResponse) - [TimeService](#time.TimeService) - [Scalar Value Types](#scalar-value-types)
## common/common.proto ### Data | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [Metadata](#common.Metadata) | | | | bytes | [bytes](#bytes) | | | ### DataResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Data](#common.Data) | repeated | | ### Empty | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [Metadata](#common.Metadata) | | | ### EmptyResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Empty](#common.Empty) | repeated | | ### Error | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | code | [Code](#common.Code) | | | | message | [string](#string) | | | | details | [google.protobuf.Any](#google.protobuf.Any) | repeated | | ### Metadata Common metadata message nested in all reply message types | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | hostname | [string](#string) | | hostname of the server response comes from (injected by proxy) | | error | [string](#string) | | error is set if request failed to the upstream (rest of response is undefined) | | status | [google.rpc.Status](#google.rpc.Status) | | error as gRPC Status | ### Code | Name | Number | Description | | ---- | ------ | ----------- | | FATAL | 0 | | | LOCKED | 1 | | ### ContainerDriver | Name | Number | Description | | ---- | ------ | ----------- | | CONTAINERD | 0 | | | CRI | 1 | | ## inspect/inspect.proto ### ControllerDependencyEdge | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | controller_name | [string](#string) | | | | edge_type | [DependencyEdgeType](#inspect.DependencyEdgeType) | | | | resource_namespace | [string](#string) | | | | resource_type | [string](#string) | | | | resource_id | [string](#string) | | | ### ControllerRuntimeDependenciesResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [ControllerRuntimeDependency](#inspect.ControllerRuntimeDependency) | repeated | | ### ControllerRuntimeDependency The ControllerRuntimeDependency message contains the graph of controller-resource dependencies. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | edges | [ControllerDependencyEdge](#inspect.ControllerDependencyEdge) | repeated | | ### DependencyEdgeType | Name | Number | Description | | ---- | ------ | ----------- | | OUTPUT_EXCLUSIVE | 0 | | | OUTPUT_SHARED | 3 | | | INPUT_STRONG | 1 | | | INPUT_WEAK | 2 | | | INPUT_DESTROY_READY | 4 | | ### InspectService The inspect service definition. InspectService provides auxilary API to inspect OS internals. | Method Name | Request Type | Response Type | Description | | ----------- | ------------ | ------------- | ------------| | ControllerRuntimeDependencies | [.google.protobuf.Empty](#google.protobuf.Empty) | [ControllerRuntimeDependenciesResponse](#inspect.ControllerRuntimeDependenciesResponse) | | ## machine/machine.proto ### ApplyConfiguration ApplyConfigurationResponse describes the response to a configuration request. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | warnings | [string](#string) | repeated | Configuration validation warnings. | ### ApplyConfigurationRequest rpc applyConfiguration ApplyConfiguration describes a request to assert a new configuration upon a node. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | data | [bytes](#bytes) | | | | on_reboot | [bool](#bool) | | | | immediate | [bool](#bool) | | | ### ApplyConfigurationResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [ApplyConfiguration](#machine.ApplyConfiguration) | repeated | | ### Bootstrap The bootstrap message containing the bootstrap status. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | ### BootstrapRequest rpc Bootstrap | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | recover_etcd | [bool](#bool) | | Enable etcd recovery from the snapshot. Snapshot should be uploaded before this call via EtcdRecover RPC. | | recover_skip_hash_check | [bool](#bool) | | Skip hash check on the snapshot (etcd). Enable this when recovering from data directory copy to skip integrity check. | ### BootstrapResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Bootstrap](#machine.Bootstrap) | repeated | | ### CNIConfig | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | name | [string](#string) | | | | urls | [string](#string) | repeated | | ### CPUInfo | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | processor | [uint32](#uint32) | | | | vendor_id | [string](#string) | | | | cpu_family | [string](#string) | | | | model | [string](#string) | | | | model_name | [string](#string) | | | | stepping | [string](#string) | | | | microcode | [string](#string) | | | | cpu_mhz | [double](#double) | | | | cache_size | [string](#string) | | | | physical_id | [string](#string) | | | | siblings | [uint32](#uint32) | | | | core_id | [string](#string) | | | | cpu_cores | [uint32](#uint32) | | | | apic_id | [string](#string) | | | | initial_apic_id | [string](#string) | | | | fpu | [string](#string) | | | | fpu_exception | [string](#string) | | | | cpu_id_level | [uint32](#uint32) | | | | wp | [string](#string) | | | | flags | [string](#string) | repeated | | | bugs | [string](#string) | repeated | | | bogo_mips | [double](#double) | | | | cl_flush_size | [uint32](#uint32) | | | | cache_alignment | [uint32](#uint32) | | | | address_sizes | [string](#string) | | | | power_management | [string](#string) | | | ### CPUInfoResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [CPUsInfo](#machine.CPUsInfo) | repeated | | ### CPUStat | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | user | [double](#double) | | | | nice | [double](#double) | | | | system | [double](#double) | | | | idle | [double](#double) | | | | iowait | [double](#double) | | | | irq | [double](#double) | | | | soft_irq | [double](#double) | | | | steal | [double](#double) | | | | guest | [double](#double) | | | | guest_nice | [double](#double) | | | ### CPUsInfo | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | cpu_info | [CPUInfo](#machine.CPUInfo) | repeated | | ### ClusterConfig | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | name | [string](#string) | | | | control_plane | [ControlPlaneConfig](#machine.ControlPlaneConfig) | | | | cluster_network | [ClusterNetworkConfig](#machine.ClusterNetworkConfig) | | | | allow_scheduling_on_masters | [bool](#bool) | | | ### ClusterNetworkConfig | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | dns_domain | [string](#string) | | | | cni_config | [CNIConfig](#machine.CNIConfig) | | | ### Container The messages message containing the requested containers. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | containers | [ContainerInfo](#machine.ContainerInfo) | repeated | | ### ContainerInfo The messages message containing the requested containers. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [string](#string) | | | | id | [string](#string) | | | | image | [string](#string) | | | | pid | [uint32](#uint32) | | | | status | [string](#string) | | | | pod_id | [string](#string) | | | | name | [string](#string) | | | ### ContainersRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [string](#string) | | | | driver | [common.ContainerDriver](#common.ContainerDriver) | | driver might be default "containerd" or "cri" | ### ContainersResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Container](#machine.Container) | repeated | | ### ControlPlaneConfig | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | endpoint | [string](#string) | | | ### 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](#string) | | Root path to start copying data out, it might be either a file or directory | ### DHCPOptionsConfig | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | route_metric | [uint32](#uint32) | | | ### DiskStat | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | name | [string](#string) | | | | read_completed | [uint64](#uint64) | | | | read_merged | [uint64](#uint64) | | | | read_sectors | [uint64](#uint64) | | | | read_time_ms | [uint64](#uint64) | | | | write_completed | [uint64](#uint64) | | | | write_merged | [uint64](#uint64) | | | | write_sectors | [uint64](#uint64) | | | | write_time_ms | [uint64](#uint64) | | | | io_in_progress | [uint64](#uint64) | | | | io_time_ms | [uint64](#uint64) | | | | io_time_weighted_ms | [uint64](#uint64) | | | | discard_completed | [uint64](#uint64) | | | | discard_merged | [uint64](#uint64) | | | | discard_sectors | [uint64](#uint64) | | | | discard_time_ms | [uint64](#uint64) | | | ### DiskStats | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | total | [DiskStat](#machine.DiskStat) | | | | devices | [DiskStat](#machine.DiskStat) | repeated | | ### DiskStatsResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [DiskStats](#machine.DiskStats) | repeated | | ### DiskUsageInfo DiskUsageInfo describes a file or directory's information for du command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | name | [string](#string) | | Name is the name (including prefixed path) of the file or directory | | size | [int64](#int64) | | Size indicates the number of bytes contained within the file | | error | [string](#string) | | Error describes any error encountered while trying to read the file information. | | relative_name | [string](#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](#int32) | | RecursionDepth indicates how many levels of subdirectories should be recursed. The default (0) indicates that no limit should be enforced. | | all | [bool](#bool) | | All write sizes for all files, not just directories. | | threshold | [int64](#int64) | | Threshold exclude entries smaller than SIZE if positive, or entries greater than SIZE if negative. | | paths | [string](#string) | repeated | DiskUsagePaths is the list of directories to calculate disk usage for. | ### DmesgRequest dmesg | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | follow | [bool](#bool) | | | | tail | [bool](#bool) | | | ### EtcdForfeitLeadership | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | member | [string](#string) | | | ### EtcdForfeitLeadershipRequest ### EtcdForfeitLeadershipResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [EtcdForfeitLeadership](#machine.EtcdForfeitLeadership) | repeated | | ### EtcdLeaveCluster | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | ### EtcdLeaveClusterRequest ### EtcdLeaveClusterResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [EtcdLeaveCluster](#machine.EtcdLeaveCluster) | repeated | | ### EtcdMember EtcdMember describes a single etcd member. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [uint64](#uint64) | | member ID. | | hostname | [string](#string) | | human-readable name of the member. | | peer_urls | [string](#string) | repeated | the list of URLs the member exposes to clients for communication. | | client_urls | [string](#string) | repeated | the list of URLs the member exposes to the cluster for communication. | ### EtcdMemberListRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | query_local | [bool](#bool) | | | ### EtcdMemberListResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [EtcdMembers](#machine.EtcdMembers) | repeated | | ### EtcdMembers EtcdMembers contains the list of members registered on the host. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | legacy_members | [string](#string) | repeated | list of member hostnames. | | members | [EtcdMember](#machine.EtcdMember) | repeated | the list of etcd members registered on the node. | ### EtcdRecover | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | ### EtcdRecoverResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [EtcdRecover](#machine.EtcdRecover) | repeated | | ### EtcdRemoveMember | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | ### EtcdRemoveMemberRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | member | [string](#string) | | | ### EtcdRemoveMemberResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [EtcdRemoveMember](#machine.EtcdRemoveMember) | repeated | | ### EtcdSnapshotRequest ### Event | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | data | [google.protobuf.Any](#google.protobuf.Any) | | | | id | [string](#string) | | | ### EventsRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | tail_events | [int32](#int32) | | | | tail_id | [string](#string) | | | | tail_seconds | [int32](#int32) | | | ### FeaturesInfo FeaturesInfo describes individual Talos features that can be switched on or off. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | rbac | [bool](#bool) | | RBAC is true if role-based access control is enabled. | ### FileInfo FileInfo describes a file or directory's information | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | name | [string](#string) | | Name is the name (including prefixed path) of the file or directory | | size | [int64](#int64) | | Size indicates the number of bytes contained within the file | | mode | [uint32](#uint32) | | Mode is the bitmap of UNIX mode/permission flags of the file | | modified | [int64](#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](#bool) | | IsDir indicates that the file is a directory | | error | [string](#string) | | Error describes any error encountered while trying to read the file information. | | link | [string](#string) | | Link is filled with symlink target | | relative_name | [string](#string) | | RelativeName is the name of the file or directory relative to the RootPath | ### GenerateClientConfiguration | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | ca | [bytes](#bytes) | | PEM-encoded CA certificate. | | crt | [bytes](#bytes) | | PEM-encoded generated client certificate. | | key | [bytes](#bytes) | | PEM-encoded generated client key. | | talosconfig | [bytes](#bytes) | | Client configuration (talosconfig) file content. | ### GenerateClientConfigurationRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | roles | [string](#string) | repeated | Roles in the generated client certificate. | | crt_ttl | [google.protobuf.Duration](#google.protobuf.Duration) | | Client certificate TTL. | ### GenerateClientConfigurationResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [GenerateClientConfiguration](#machine.GenerateClientConfiguration) | repeated | | ### GenerateConfiguration GenerateConfiguration describes the response to a generate configuration request. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | data | [bytes](#bytes) | repeated | | | talosconfig | [bytes](#bytes) | | | ### GenerateConfigurationRequest GenerateConfigurationRequest describes a request to generate a new configuration on a node. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | config_version | [string](#string) | | | | cluster_config | [ClusterConfig](#machine.ClusterConfig) | | | | machine_config | [MachineConfig](#machine.MachineConfig) | | | | override_time | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | | ### GenerateConfigurationResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [GenerateConfiguration](#machine.GenerateConfiguration) | repeated | | ### Hostname | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | hostname | [string](#string) | | | ### HostnameResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Hostname](#machine.Hostname) | repeated | | ### InstallConfig | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | install_disk | [string](#string) | | | | install_image | [string](#string) | | | ### ListRequest ListRequest describes a request to list the contents of a directory. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | root | [string](#string) | | Root indicates the root directory for the list. If not indicated, '/' is presumed. | | recurse | [bool](#bool) | | Recurse indicates that subdirectories should be recursed. | | recursion_depth | [int32](#int32) | | RecursionDepth indicates how many levels of subdirectories should be recursed. The default (0) indicates that no limit should be enforced. | | types | [ListRequest.Type](#machine.ListRequest.Type) | repeated | Types indicates what file type should be returned. If not indicated, all files will be returned. | ### LoadAvg | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | load1 | [double](#double) | | | | load5 | [double](#double) | | | | load15 | [double](#double) | | | ### LoadAvgResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [LoadAvg](#machine.LoadAvg) | repeated | | ### LogsRequest rpc logs The request message containing the process name. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [string](#string) | | | | id | [string](#string) | | | | driver | [common.ContainerDriver](#common.ContainerDriver) | | driver might be default "containerd" or "cri" | | follow | [bool](#bool) | | | | tail_lines | [int32](#int32) | | | ### MachineConfig | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | type | [MachineConfig.MachineType](#machine.MachineConfig.MachineType) | | | | install_config | [InstallConfig](#machine.InstallConfig) | | | | network_config | [NetworkConfig](#machine.NetworkConfig) | | | | kubernetes_version | [string](#string) | | | ### MemInfo | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | memtotal | [uint64](#uint64) | | | | memfree | [uint64](#uint64) | | | | memavailable | [uint64](#uint64) | | | | buffers | [uint64](#uint64) | | | | cached | [uint64](#uint64) | | | | swapcached | [uint64](#uint64) | | | | active | [uint64](#uint64) | | | | inactive | [uint64](#uint64) | | | | activeanon | [uint64](#uint64) | | | | inactiveanon | [uint64](#uint64) | | | | activefile | [uint64](#uint64) | | | | inactivefile | [uint64](#uint64) | | | | unevictable | [uint64](#uint64) | | | | mlocked | [uint64](#uint64) | | | | swaptotal | [uint64](#uint64) | | | | swapfree | [uint64](#uint64) | | | | dirty | [uint64](#uint64) | | | | writeback | [uint64](#uint64) | | | | anonpages | [uint64](#uint64) | | | | mapped | [uint64](#uint64) | | | | shmem | [uint64](#uint64) | | | | slab | [uint64](#uint64) | | | | sreclaimable | [uint64](#uint64) | | | | sunreclaim | [uint64](#uint64) | | | | kernelstack | [uint64](#uint64) | | | | pagetables | [uint64](#uint64) | | | | nfsunstable | [uint64](#uint64) | | | | bounce | [uint64](#uint64) | | | | writebacktmp | [uint64](#uint64) | | | | commitlimit | [uint64](#uint64) | | | | committedas | [uint64](#uint64) | | | | vmalloctotal | [uint64](#uint64) | | | | vmallocused | [uint64](#uint64) | | | | vmallocchunk | [uint64](#uint64) | | | | hardwarecorrupted | [uint64](#uint64) | | | | anonhugepages | [uint64](#uint64) | | | | shmemhugepages | [uint64](#uint64) | | | | shmempmdmapped | [uint64](#uint64) | | | | cmatotal | [uint64](#uint64) | | | | cmafree | [uint64](#uint64) | | | | hugepagestotal | [uint64](#uint64) | | | | hugepagesfree | [uint64](#uint64) | | | | hugepagesrsvd | [uint64](#uint64) | | | | hugepagessurp | [uint64](#uint64) | | | | hugepagesize | [uint64](#uint64) | | | | directmap4k | [uint64](#uint64) | | | | directmap2m | [uint64](#uint64) | | | | directmap1g | [uint64](#uint64) | | | ### Memory | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | meminfo | [MemInfo](#machine.MemInfo) | | | ### MemoryResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Memory](#machine.Memory) | repeated | | ### MountStat The messages message containing the requested processes. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | filesystem | [string](#string) | | | | size | [uint64](#uint64) | | | | available | [uint64](#uint64) | | | | mounted_on | [string](#string) | | | ### Mounts The messages message containing the requested df stats. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | stats | [MountStat](#machine.MountStat) | repeated | | ### MountsResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Mounts](#machine.Mounts) | repeated | | ### NetDev | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | name | [string](#string) | | | | rx_bytes | [uint64](#uint64) | | | | rx_packets | [uint64](#uint64) | | | | rx_errors | [uint64](#uint64) | | | | rx_dropped | [uint64](#uint64) | | | | rx_fifo | [uint64](#uint64) | | | | rx_frame | [uint64](#uint64) | | | | rx_compressed | [uint64](#uint64) | | | | rx_multicast | [uint64](#uint64) | | | | tx_bytes | [uint64](#uint64) | | | | tx_packets | [uint64](#uint64) | | | | tx_errors | [uint64](#uint64) | | | | tx_dropped | [uint64](#uint64) | | | | tx_fifo | [uint64](#uint64) | | | | tx_collisions | [uint64](#uint64) | | | | tx_carrier | [uint64](#uint64) | | | | tx_compressed | [uint64](#uint64) | | | ### NetworkConfig | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | hostname | [string](#string) | | | | interfaces | [NetworkDeviceConfig](#machine.NetworkDeviceConfig) | repeated | | ### NetworkDeviceConfig | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | interface | [string](#string) | | | | cidr | [string](#string) | | | | mtu | [int32](#int32) | | | | dhcp | [bool](#bool) | | | | ignore | [bool](#bool) | | | | dhcp_options | [DHCPOptionsConfig](#machine.DHCPOptionsConfig) | | | | routes | [RouteConfig](#machine.RouteConfig) | repeated | | ### NetworkDeviceStats | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | total | [NetDev](#machine.NetDev) | | | | devices | [NetDev](#machine.NetDev) | repeated | | ### NetworkDeviceStatsResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [NetworkDeviceStats](#machine.NetworkDeviceStats) | repeated | | ### PhaseEvent | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | phase | [string](#string) | | | | action | [PhaseEvent.Action](#machine.PhaseEvent.Action) | | | ### PlatformInfo | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | name | [string](#string) | | | | mode | [string](#string) | | | ### Process | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | processes | [ProcessInfo](#machine.ProcessInfo) | repeated | | ### ProcessInfo | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | pid | [int32](#int32) | | | | ppid | [int32](#int32) | | | | state | [string](#string) | | | | threads | [int32](#int32) | | | | cpu_time | [double](#double) | | | | virtual_memory | [uint64](#uint64) | | | | resident_memory | [uint64](#uint64) | | | | command | [string](#string) | | | | executable | [string](#string) | | | | args | [string](#string) | | | ### ProcessesResponse rpc processes | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Process](#machine.Process) | repeated | | ### ReadRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | path | [string](#string) | | | ### Reboot rpc reboot The reboot message containing the reboot status. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | ### RebootResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Reboot](#machine.Reboot) | repeated | | ### RemoveBootkubeInitializedKey RemoveBootkubeInitializedKeyResponse describes the response to a RemoveBootkubeInitializedKey request. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | ### RemoveBootkubeInitializedKeyResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [RemoveBootkubeInitializedKey](#machine.RemoveBootkubeInitializedKey) | repeated | | ### Reset The reset message containing the restart status. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | ### ResetPartitionSpec rpc reset | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | label | [string](#string) | | | | wipe | [bool](#bool) | | | ### ResetRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | graceful | [bool](#bool) | | Graceful indicates whether node should leave etcd before the upgrade, it also enforces etcd checks before leaving. | | reboot | [bool](#bool) | | Reboot indicates whether node should reboot or halt after resetting. | | system_partitions_to_wipe | [ResetPartitionSpec](#machine.ResetPartitionSpec) | repeated | System_partitions_to_wipe lists specific system disk partitions to be reset (wiped). If system_partitions_to_wipe is empty, all the partitions are erased. | ### ResetResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Reset](#machine.Reset) | repeated | | ### Restart | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | ### RestartEvent | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | cmd | [int64](#int64) | | | ### RestartRequest rpc restart The request message containing the process to restart. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [string](#string) | | | | id | [string](#string) | | | | driver | [common.ContainerDriver](#common.ContainerDriver) | | driver might be default "containerd" or "cri" | ### RestartResponse The messages message containing the restart status. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Restart](#machine.Restart) | repeated | | ### Rollback | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | ### RollbackRequest rpc rollback ### RollbackResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Rollback](#machine.Rollback) | repeated | | ### RouteConfig | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | network | [string](#string) | | | | gateway | [string](#string) | | | | metric | [uint32](#uint32) | | | ### SequenceEvent rpc events | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | sequence | [string](#string) | | | | action | [SequenceEvent.Action](#machine.SequenceEvent.Action) | | | | error | [common.Error](#common.Error) | | | ### ServiceEvent | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | msg | [string](#string) | | | | state | [string](#string) | | | | ts | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | | ### ServiceEvents | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | events | [ServiceEvent](#machine.ServiceEvent) | repeated | | ### ServiceHealth | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | unknown | [bool](#bool) | | | | healthy | [bool](#bool) | | | | last_message | [string](#string) | | | | last_change | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | | ### ServiceInfo | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | | state | [string](#string) | | | | events | [ServiceEvents](#machine.ServiceEvents) | | | | health | [ServiceHealth](#machine.ServiceHealth) | | | ### ServiceList rpc servicelist | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | services | [ServiceInfo](#machine.ServiceInfo) | repeated | | ### ServiceListResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [ServiceList](#machine.ServiceList) | repeated | | ### ServiceRestart | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | resp | [string](#string) | | | ### ServiceRestartRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | ### ServiceRestartResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [ServiceRestart](#machine.ServiceRestart) | repeated | | ### ServiceStart | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | resp | [string](#string) | | | ### ServiceStartRequest rpc servicestart | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | ### ServiceStartResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [ServiceStart](#machine.ServiceStart) | repeated | | ### ServiceStateEvent | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | service | [string](#string) | | | | action | [ServiceStateEvent.Action](#machine.ServiceStateEvent.Action) | | | | message | [string](#string) | | | | health | [ServiceHealth](#machine.ServiceHealth) | | | ### ServiceStop | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | resp | [string](#string) | | | ### ServiceStopRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | ### ServiceStopResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [ServiceStop](#machine.ServiceStop) | repeated | | ### Shutdown rpc shutdown The messages message containing the shutdown status. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | ### ShutdownResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Shutdown](#machine.Shutdown) | repeated | | ### SoftIRQStat | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | hi | [uint64](#uint64) | | | | timer | [uint64](#uint64) | | | | net_tx | [uint64](#uint64) | | | | net_rx | [uint64](#uint64) | | | | block | [uint64](#uint64) | | | | block_io_poll | [uint64](#uint64) | | | | tasklet | [uint64](#uint64) | | | | sched | [uint64](#uint64) | | | | hrtimer | [uint64](#uint64) | | | | rcu | [uint64](#uint64) | | | ### StartRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | ### StartResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | resp | [string](#string) | | | ### Stat The messages message containing the requested stat. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [string](#string) | | | | id | [string](#string) | | | | memory_usage | [uint64](#uint64) | | | | cpu_usage | [uint64](#uint64) | | | | pod_id | [string](#string) | | | | name | [string](#string) | | | ### Stats The messages message containing the requested stats. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | stats | [Stat](#machine.Stat) | repeated | | ### StatsRequest The request message containing the containerd namespace. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [string](#string) | | | | driver | [common.ContainerDriver](#common.ContainerDriver) | | driver might be default "containerd" or "cri" | ### StatsResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Stats](#machine.Stats) | repeated | | ### StopRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | ### StopResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | resp | [string](#string) | | | ### SystemStat | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | boot_time | [uint64](#uint64) | | | | cpu_total | [CPUStat](#machine.CPUStat) | | | | cpu | [CPUStat](#machine.CPUStat) | repeated | | | irq_total | [uint64](#uint64) | | | | irq | [uint64](#uint64) | repeated | | | context_switches | [uint64](#uint64) | | | | process_created | [uint64](#uint64) | | | | process_running | [uint64](#uint64) | | | | process_blocked | [uint64](#uint64) | | | | soft_irq_total | [uint64](#uint64) | | | | soft_irq | [SoftIRQStat](#machine.SoftIRQStat) | | | ### SystemStatResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [SystemStat](#machine.SystemStat) | repeated | | ### TaskEvent | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | task | [string](#string) | | | | action | [TaskEvent.Action](#machine.TaskEvent.Action) | | | ### Upgrade | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | ack | [string](#string) | | | ### UpgradeRequest rpc upgrade | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | image | [string](#string) | | | | preserve | [bool](#bool) | | | | stage | [bool](#bool) | | | | force | [bool](#bool) | | | ### UpgradeResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Upgrade](#machine.Upgrade) | repeated | | ### Version | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | version | [VersionInfo](#machine.VersionInfo) | | | | platform | [PlatformInfo](#machine.PlatformInfo) | | | | features | [FeaturesInfo](#machine.FeaturesInfo) | | Features describe individual Talos features that can be switched on or off. | ### VersionInfo | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | tag | [string](#string) | | | | sha | [string](#string) | | | | built | [string](#string) | | | | go_version | [string](#string) | | | | os | [string](#string) | | | | arch | [string](#string) | | | ### VersionResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Version](#machine.Version) | repeated | | ### ListRequest.Type File type. | Name | Number | Description | | ---- | ------ | ----------- | | REGULAR | 0 | Regular file (not directory, symlink, etc). | | DIRECTORY | 1 | Directory. | | SYMLINK | 2 | Symbolic link. | ### MachineConfig.MachineType | Name | Number | Description | | ---- | ------ | ----------- | | TYPE_UNKNOWN | 0 | | | TYPE_INIT | 1 | | | TYPE_CONTROL_PLANE | 2 | | | TYPE_JOIN | 3 | | ### PhaseEvent.Action | Name | Number | Description | | ---- | ------ | ----------- | | START | 0 | | | STOP | 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. | Method Name | Request Type | Response Type | Description | | ----------- | ------------ | ------------- | ------------| | ApplyConfiguration | [ApplyConfigurationRequest](#machine.ApplyConfigurationRequest) | [ApplyConfigurationResponse](#machine.ApplyConfigurationResponse) | | | Bootstrap | [BootstrapRequest](#machine.BootstrapRequest) | [BootstrapResponse](#machine.BootstrapResponse) | | | Containers | [ContainersRequest](#machine.ContainersRequest) | [ContainersResponse](#machine.ContainersResponse) | | | Copy | [CopyRequest](#machine.CopyRequest) | [.common.Data](#common.Data) stream | | | CPUInfo | [.google.protobuf.Empty](#google.protobuf.Empty) | [CPUInfoResponse](#machine.CPUInfoResponse) | | | DiskStats | [.google.protobuf.Empty](#google.protobuf.Empty) | [DiskStatsResponse](#machine.DiskStatsResponse) | | | Dmesg | [DmesgRequest](#machine.DmesgRequest) | [.common.Data](#common.Data) stream | | | Events | [EventsRequest](#machine.EventsRequest) | [Event](#machine.Event) stream | | | EtcdMemberList | [EtcdMemberListRequest](#machine.EtcdMemberListRequest) | [EtcdMemberListResponse](#machine.EtcdMemberListResponse) | | | EtcdRemoveMember | [EtcdRemoveMemberRequest](#machine.EtcdRemoveMemberRequest) | [EtcdRemoveMemberResponse](#machine.EtcdRemoveMemberResponse) | | | EtcdLeaveCluster | [EtcdLeaveClusterRequest](#machine.EtcdLeaveClusterRequest) | [EtcdLeaveClusterResponse](#machine.EtcdLeaveClusterResponse) | | | EtcdForfeitLeadership | [EtcdForfeitLeadershipRequest](#machine.EtcdForfeitLeadershipRequest) | [EtcdForfeitLeadershipResponse](#machine.EtcdForfeitLeadershipResponse) | | | EtcdRecover | [.common.Data](#common.Data) stream | [EtcdRecoverResponse](#machine.EtcdRecoverResponse) | EtcdRecover method uploads etcd data snapshot created with EtcdSnapshot to the node. Snapshot can be later used to recover the cluster via Bootstrap method. | | EtcdSnapshot | [EtcdSnapshotRequest](#machine.EtcdSnapshotRequest) | [.common.Data](#common.Data) stream | EtcdSnapshot method creates etcd data snapshot (backup) from the local etcd instance and streams it back to the client. This method is available only on control plane nodes (which run etcd). | | GenerateConfiguration | [GenerateConfigurationRequest](#machine.GenerateConfigurationRequest) | [GenerateConfigurationResponse](#machine.GenerateConfigurationResponse) | | | Hostname | [.google.protobuf.Empty](#google.protobuf.Empty) | [HostnameResponse](#machine.HostnameResponse) | | | Kubeconfig | [.google.protobuf.Empty](#google.protobuf.Empty) | [.common.Data](#common.Data) stream | | | List | [ListRequest](#machine.ListRequest) | [FileInfo](#machine.FileInfo) stream | | | DiskUsage | [DiskUsageRequest](#machine.DiskUsageRequest) | [DiskUsageInfo](#machine.DiskUsageInfo) stream | | | LoadAvg | [.google.protobuf.Empty](#google.protobuf.Empty) | [LoadAvgResponse](#machine.LoadAvgResponse) | | | Logs | [LogsRequest](#machine.LogsRequest) | [.common.Data](#common.Data) stream | | | Memory | [.google.protobuf.Empty](#google.protobuf.Empty) | [MemoryResponse](#machine.MemoryResponse) | | | Mounts | [.google.protobuf.Empty](#google.protobuf.Empty) | [MountsResponse](#machine.MountsResponse) | | | NetworkDeviceStats | [.google.protobuf.Empty](#google.protobuf.Empty) | [NetworkDeviceStatsResponse](#machine.NetworkDeviceStatsResponse) | | | Processes | [.google.protobuf.Empty](#google.protobuf.Empty) | [ProcessesResponse](#machine.ProcessesResponse) | | | Read | [ReadRequest](#machine.ReadRequest) | [.common.Data](#common.Data) stream | | | Reboot | [.google.protobuf.Empty](#google.protobuf.Empty) | [RebootResponse](#machine.RebootResponse) | | | Restart | [RestartRequest](#machine.RestartRequest) | [RestartResponse](#machine.RestartResponse) | | | Rollback | [RollbackRequest](#machine.RollbackRequest) | [RollbackResponse](#machine.RollbackResponse) | | | Reset | [ResetRequest](#machine.ResetRequest) | [ResetResponse](#machine.ResetResponse) | | | RemoveBootkubeInitializedKey | [.google.protobuf.Empty](#google.protobuf.Empty) | [RemoveBootkubeInitializedKeyResponse](#machine.RemoveBootkubeInitializedKeyResponse) | | | ServiceList | [.google.protobuf.Empty](#google.protobuf.Empty) | [ServiceListResponse](#machine.ServiceListResponse) | | | ServiceRestart | [ServiceRestartRequest](#machine.ServiceRestartRequest) | [ServiceRestartResponse](#machine.ServiceRestartResponse) | | | ServiceStart | [ServiceStartRequest](#machine.ServiceStartRequest) | [ServiceStartResponse](#machine.ServiceStartResponse) | | | ServiceStop | [ServiceStopRequest](#machine.ServiceStopRequest) | [ServiceStopResponse](#machine.ServiceStopResponse) | | | Shutdown | [.google.protobuf.Empty](#google.protobuf.Empty) | [ShutdownResponse](#machine.ShutdownResponse) | | | Stats | [StatsRequest](#machine.StatsRequest) | [StatsResponse](#machine.StatsResponse) | | | SystemStat | [.google.protobuf.Empty](#google.protobuf.Empty) | [SystemStatResponse](#machine.SystemStatResponse) | | | Upgrade | [UpgradeRequest](#machine.UpgradeRequest) | [UpgradeResponse](#machine.UpgradeResponse) | | | Version | [.google.protobuf.Empty](#google.protobuf.Empty) | [VersionResponse](#machine.VersionResponse) | | | GenerateClientConfiguration | [GenerateClientConfigurationRequest](#machine.GenerateClientConfigurationRequest) | [GenerateClientConfigurationResponse](#machine.GenerateClientConfigurationResponse) | GenerateClientConfiguration generates talosctl client configuration (talosconfig). | ## network/network.proto ### Interface Interface represents a net.Interface | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | index | [uint32](#uint32) | | | | mtu | [uint32](#uint32) | | | | name | [string](#string) | | | | hardwareaddr | [string](#string) | | | | flags | [InterfaceFlags](#network.InterfaceFlags) | | | | ipaddress | [string](#string) | repeated | | ### Interfaces | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | interfaces | [Interface](#network.Interface) | repeated | | ### InterfacesResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Interfaces](#network.Interfaces) | repeated | | ### Route The messages message containing a route. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | interface | [string](#string) | | Interface is the interface over which traffic to this destination should be sent | | destination | [string](#string) | | Destination is the network prefix CIDR which this route provides | | gateway | [string](#string) | | Gateway is the gateway address to which traffic to this destination should be sent | | metric | [uint32](#uint32) | | Metric is the priority of the route, where lower metrics have higher priorities | | scope | [uint32](#uint32) | | Scope desribes the scope of this route | | source | [string](#string) | | Source is the source prefix CIDR for the route, if one is defined | | family | [AddressFamily](#network.AddressFamily) | | Family is the address family of the route. Currently, the only options are AF_INET (IPV4) and AF_INET6 (IPV6). | | protocol | [RouteProtocol](#network.RouteProtocol) | | Protocol is the protocol by which this route came to be in place | | flags | [uint32](#uint32) | | Flags indicate any special flags on the route | ### Routes | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | routes | [Route](#network.Route) | repeated | | ### RoutesResponse The messages message containing the routes. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Routes](#network.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](#google.protobuf.Empty) | [RoutesResponse](#network.RoutesResponse) | | | Interfaces | [.google.protobuf.Empty](#google.protobuf.Empty) | [InterfacesResponse](#network.InterfacesResponse) | | ## resource/resource.proto ### Get The GetResponse message contains the Resource returned. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | definition | [Resource](#resource.Resource) | | | | resource | [Resource](#resource.Resource) | | | ### GetRequest rpc Get | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [string](#string) | | | | type | [string](#string) | | | | id | [string](#string) | | | ### GetResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | messages | [Get](#resource.Get) | repeated | | ### ListRequest rpc List The ListResponse message contains the Resource returned. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [string](#string) | | | | type | [string](#string) | | | ### ListResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | definition | [Resource](#resource.Resource) | | | | resource | [Resource](#resource.Resource) | | | ### Metadata | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [string](#string) | | | | type | [string](#string) | | | | id | [string](#string) | | | | version | [string](#string) | | | | owner | [string](#string) | | | | phase | [string](#string) | | | | created | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | | | updated | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | | | finalizers | [string](#string) | repeated | | ### Resource | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [Metadata](#resource.Metadata) | | | | spec | [Spec](#resource.Spec) | | | ### Spec | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | yaml | [bytes](#bytes) | | | ### WatchRequest rpc Watch The WatchResponse message contains the Resource returned. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [string](#string) | | | | type | [string](#string) | | | | id | [string](#string) | | | | tail_events | [uint32](#uint32) | | | ### WatchResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | metadata | [common.Metadata](#common.Metadata) | | | | event_type | [EventType](#resource.EventType) | | | | definition | [Resource](#resource.Resource) | | | | resource | [Resource](#resource.Resource) | | | ### EventType | Name | Number | Description | | ---- | ------ | ----------- | | CREATED | 0 | | | UPDATED | 1 | | | DESTROYED | 2 | | ### ResourceService The resource service definition. ResourceService provides user-facing API for the Talos resources. | Method Name | Request Type | Response Type | Description | | ----------- | ------------ | ------------- | ------------| | Get | [GetRequest](#resource.GetRequest) | [GetResponse](#resource.GetResponse) | | | List | [ListRequest](#resource.ListRequest) | [ListResponse](#resource.ListResponse) stream | | | Watch | [WatchRequest](#resource.WatchRequest) | [WatchResponse](#resource.WatchResponse) stream | | ## security/security.proto ### CertificateRequest The request message containing the process name. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | csr | [bytes](#bytes) | | | ### CertificateResponse The response message containing the requested logs. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | ca | [bytes](#bytes) | | | | crt | [bytes](#bytes) | | | ### SecurityService The security service definition. | Method Name | Request Type | Response Type | Description | | ----------- | ------------ | ------------- | ------------| | Certificate | [CertificateRequest](#securityapi.CertificateRequest) | [CertificateResponse](#securityapi.CertificateResponse) | | ## storage/storage.proto ### Disk Disk represents a disk. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | size | [uint64](#uint64) | | Size indicates the disk size in bytes. | | model | [string](#string) | | Model idicates the disk model. | | device_name | [string](#string) | | DeviceName indicates the disk name (e.g. `sda`). | | name | [string](#string) | | Name as in `/sys/block/