CapabilitiesV1
Class sealed net10.0
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.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class CapabilitiesV1{ // ...}Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesAddgetList<string> Gets a list of capabilities to add to the container.
DropgetList<string> Gets a list of capabilities to be dropped from the container's security context. Dropping capabilities reduces the container's privileges, enhancing security.