Share via


TcpSocketActionV1 Class

Definition

Represents a TCP socket action configuration used in Kubernetes resources. This class is typically utilized for health or readiness probes or lifecycle handlers, allowing the definition of connectivity checks to a specified host and port via TCP.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class TcpSocketActionV1
[<YamlDotNet.Serialization.YamlSerializable>]
type TcpSocketActionV1 = class
Public NotInheritable Class TcpSocketActionV1
Inheritance
TcpSocketActionV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Constructors

TcpSocketActionV1()

Properties

Host

Specifies the hostname or IP address to be used for the TCP socket action.

Port

Gets or sets the port number to access for the TCP socket action. This property specifies the numeric port on which the TCP connection should be established.

Applies to