CapabilitiesV1 Class

Definition

Represents the capabilities configuration for a Kubernetes container. Capabilities allow fine-grained control over kernel-level privileges granted to a specific container in a Pod.

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

Constructors

CapabilitiesV1()

Properties

Add

Gets a list of capabilities to add to the container.

Drop

Gets a list of capabilities to be dropped from the container's security context. Dropping capabilities reduces the container's privileges, enhancing security.

Applies to