CapabilitiesV1 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |