Aspire.Hosting.Kubernetes
Official
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13 net10.0 160 types and 774 members
Aspire.Hosting (2)
Aspire.Hosting.Kubernetes (3)
class
KubernetesEnvironmentResource sealed Represents a Kubernetes environment resource that can host application resources.
class
KubernetesResource Represents a compute resource for Kubernetes.
class
KubernetesServiceCustomizationAnnotation sealed Represents an annotation for customizing a Kubernetes service.
Aspire.Hosting.Kubernetes.Resources (154)
class
AffinityV1 sealed Represents the affinity configuration for a pod, including node affinity, pod affinity, and pod anti-affinity settings. This class defines rules to influence pod scheduling based on various criteria, such as node labels or inter-pod relationships.
class
AggregationRuleV1 sealed Represents an aggregation rule for ClusterRoles in a Kubernetes environment. Aggregation rules allow defining how to aggregate multiple cluster roles for easier role-based access control (RBAC) management.
class
AllowedHostPathV1Beta1 sealed Represents an allowed host path for a PodSecurityPolicy in Kubernetes.
class
AppArmorProfileV1 sealed Represents the AppArmor profile configuration for a Kubernetes resource.
class
BaseKubernetesObject abstract Represents the base class for Kubernetes objects, providing common properties shared across Kubernetes resources.
class
BaseKubernetesResource abstract Serves as the foundational class for defining Kubernetes resources in the v1 API version.
class
CapabilitiesV1 sealed 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.
class
ClientIPConfigV1 sealed Represents the configuration settings for client IP-based session affinity in a Kubernetes resource.
class
ClusterRole sealed Represents a Kubernetes ClusterRole resource in API version v1.
class
ClusterRoleBinding sealed Represents a ClusterRoleBinding in a Kubernetes cluster.
class
ConfigMap sealed Represents a Kubernetes ConfigMap resource.
class
ConfigMapEnvSourceV1 sealed ConfigMapEnvSourceV1 represents a reference to a ConfigMap that provides key-value pair data for environment variables. The specified ConfigMap is used to populate the environment variables in a container.
class
ConfigMapKeySelectorV1 sealed ConfigMapKeySelectorV1 represents a selector for a specific key in a ConfigMap. It is used to select a named key from a ConfigMap, with an optional flag to indicate if the key or ConfigMap is optional.
class
ConfigMapVolumeSourceV1 sealed Represents a Kubernetes ConfigMap volume source configuration.
class
ContainerPortV1 sealed Represents the configuration for a container port in Kubernetes.
class
ContainerResizePolicyV1 sealed Represents a policy for resizing containers in a Kubernetes environment.
class
ContainerResourceMetricSourceV2 sealed Represents a metric source that is defined by a resource usage of a specific container. This is used for scaling purposes in a Kubernetes environment, relying on container-level metrics.
class
ContainerV1 sealed Represents a container configuration for a Kubernetes pod.
class
CrossVersionObjectReferenceV1 sealed Represents a reference to an object across different API versions in Kubernetes.
class
CrossVersionObjectReferenceV2 sealed Represents a reference to an object across different API versions in Kubernetes.
class
Deployment sealed Represents a Kubernetes Deployment resource for managing application deployments in a cluster.
class
DeploymentSpecV1 sealed Represents the specification of a Kubernetes Deployment resource.
class
DeploymentStrategyV1 sealed Describes the strategy used to replace old Pods with new ones in a Kubernetes Deployment.
class
EmptyDirVolumeSourceV1 sealed Represents an EmptyDir volume source in Kubernetes, which is an ephemeral volume that is initially empty and then acts as a shared storage space for the containers that are associated with a particular pod. The data in the EmptyDir volume is lost when the pod is removed from a node.
class
EnvFromSourceV1 sealed EnvFromSourceV1 represents an environment variable source used to populate environment variables in a container.
class
EnvVarSourceV1 sealed EnvVarSourceV1 represents a source for an environment variable value in a Kubernetes resource. It provides multiple options to derive the value of an environment variable, such as from a specific key in a ConfigMap, a field reference within the resource, a resource field (e.g., CPU or memory usage), or a specific key in a Secret.
class
EnvVarV1 sealed EnvVarV1 represents an environment variable in a Kubernetes resource. It is used to define key-value pairs or to derive values from other Kubernetes resources through a configurable source.
class
EphemeralContainerV1 sealed Represents an ephemeral container specification in a Kubernetes Pod. Ephemeral containers enable running short-lived operations or debugging within an already running Pod.
class
EphemeralVolumeSourceV1 sealed Represents an ephemeral volume source in Kubernetes. An ephemeral volume is a temporary storage resource that is created and managed along with a pod's lifecycle. This object allows you to specify a PersistentVolumeClaim template to define the properties of the ephemeral volume.
class
ExecActionV1 sealed ExecActionV1 represents an action that executes a command within a container.
class
ExternalMetricSourceV2 sealed Represents an external metric source in Kubernetes for configuring autoscaling behavior based on metrics from external components or monitoring systems.
class
FieldSelectorAttributesV1 sealed Represents the attributes used for field selection in Kubernetes resources. This class is designed to define constraints or conditions for selecting specific fields within Kubernetes resources, based on field keys and their associated values.
class
FieldSelectorRequirementV1 sealed Represents a requirement used in a field selector in Kubernetes resources. This class is used to specify a filtering condition based on certain attributes or values of a Kubernetes resource.
class
FieldsV1 sealed Represents the FieldsV1 class as part of the Kubernetes resource management utilities.
class
FsGroupStrategyOptionsV1Beta1 sealed FSGroupStrategyOptionsV1Beta1 specifies the strategy options for controlling the FSGroup security context within a Pod Security Policy. This helps define the rules and ranges applicable to the FSGroup value, which specifies a supplemental group applied to the pod's file system.
class
GrpcActionV1 sealed GRPCActionV1 represents a GRPC-based action within a Kubernetes resource.
class
HelmChart sealed Represents a Helm Chart metadata definition with properties corresponding to the chart.yaml specification.
class
HelmChartDependency sealed Represents a single dependency in a Helm Chart's dependencies section.
class
HelmChartMaintainer sealed Represents a maintainer of a Helm Chart as specified in the chart.yaml file.
class
HorizontalPodAutoscaler sealed Represents the Kubernetes HorizontalPodAutoscaler resource for managing the dynamic scaling of pods based on custom or predefined metrics.
class
HorizontalPodAutoscalerBehaviorV2 sealed Defines the scaling behavior for a Horizontal Pod Autoscaler in Kubernetes.
class
HorizontalPodAutoscalerSpecV1 sealed Specifies the desired behavior of a Horizontal Pod Autoscaler in Kubernetes for the autoscaling/v1 version.
class
HorizontalPodAutoscalerSpecV2 sealed Represents the specification for a Horizontal Pod Autoscaler (HPA) in version v2 of the Kubernetes Autoscaling API. Provides configuration settings for scaling behavior, target resource, metrics, and replica limits.
class
HorizontalPodAutoscalerV2 sealed Represents a Kubernetes resource for Horizontal Pod Autoscaling (HPA) under the autoscaling/v2 API version.
class
HostAliasV1 sealed Represents a host alias configuration which maps an IP address to a set of hostnames. This is used for specifying additional host entries in a pod's /etc/hosts file.
class
HostPathVolumeSourceV1 sealed Represents a HostPath volume source in Kubernetes. A HostPath volume mounts a directory from the host node's filesystem into a pod. This can be used for scenarios such as sharing data between containers or accessing specific host resources.
class
HostPortRangeV1Beta1 sealed Represents a range of host ports that can be used in Kubernetes deployments.
class
HpaScalingPolicyV2 sealed Represents the scaling policy configuration for Kubernetes Horizontal Pod Autoscaler (HPA) in version 2 API.
class
HpaScalingRulesV2 sealed Represents the scaling rules for Kubernetes Horizontal Pod Autoscaler (HPA) in version 2 API.
class
HttpGetActionV1 sealed HTTPGetActionV1 represents an HTTP GET request action in Kubernetes resources.
class
HttpHeaderV1 sealed Represents an HTTP header with a name and value.
class
HttpIngressPathV1 sealed Represents a path in an HTTP ingress rule for Kubernetes ingress resources.
class
HttpIngressRuleValueV1 sealed Represents the HTTP ingress rule configuration for Kubernetes resources.
class
IdRangeV1Beta1 sealed Represents a range of IDs with a minimum and maximum value. This can be used to specify a set of allowable IDs for policies or configurations requiring numeric ID ranges (e.g., supplemental groups, run-as-user configurations).
class
ImageVolumeSourceV1 sealed Represents the configuration for an image-based volume source in a Kubernetes resource.
class
Ingress sealed Represents an Ingress resource in Kubernetes (networking.k8s.io/v1).
class
IngressBackendV1 sealed Represents a backend for a Kubernetes ingress resource.
class
IngressRuleV1 sealed Represents an ingress rule for Kubernetes resources.
class
IngressServiceBackendV1 sealed Represents a backend service configuration in a Kubernetes ingress resource.
class
IngressSpecV1 sealed Represents the specification of an Ingress resource in Kubernetes (networking.k8s.io/v1).
class
IngressTLSV1 sealed Represents the TLS configuration for an Ingress resource in Kubernetes (networking.k8s.io/v1).
record
Int32OrStringV1 sealed Represents a value that can be either a 32-bit integer or a string.
class
KeyToPathV1 sealed Represents a mapping of a key from a data source (e.g., ConfigMap or Secret) to a specific file path.
class
LabelSelectorAttributesV1 sealed Represents the attributes used for label selection in Kubernetes resources.
class
LabelSelectorRequirementV1 sealed Represents a label selector requirement for Kubernetes resources. This is used to define conditions for filtering resources based on labels. Each requirement consists of a key, an operator, and a set of values that dictate how the label selector behaves.
class
LabelSelectorV1 sealed Represents a label selector for Kubernetes resources. A label selector is used to filter resources based on their labels, enabling selection of a specific set of objects in a dynamic way.
class
LifecycleHandlerV1 sealed Represents a handler for Kubernetes lifecycle events.
class
LifecycleV1 sealed Represents the lifecycle configuration for a Kubernetes Pod container.
class
LocalObjectReferenceV1 sealed Represents a reference to a Kubernetes object by name.
class
LocalVolumeSourceV1 sealed Represents a local volume source in Kubernetes. This type is used to configure a PersistentVolume that is backed by local storage.
class
ManagedFieldsEntryV1 sealed Represents an entry detailing managed fields within a Kubernetes resource metadata.
class
MetricIdentifierV2 sealed Represents a metric identifier in a Kubernetes context, primarily used to identify and specify a metric related to various Kubernetes resources or objects.
class
MetricSpecV2 sealed Represents a metric specification used for horizontal scaling in Kubernetes. Supports various types of metrics for monitoring and scaling, such as container resource metrics, external metrics, pod metrics, object metrics, and resource metrics.
class
MetricTargetV2 sealed Represents a specification of a target value for a Kubernetes metric in version 2. Defines the target type and value criteria for monitoring and scaling resources.
class
Namespace sealed Represents a Kubernetes Namespace resource in the v1 API version.
class
NamespaceSpecV1 sealed Represents the specification for a Kubernetes Namespace resource in the v1 API version.
class
NodeAffinityV1 sealed Represents node affinity scheduling configuration for Kubernetes pods. This class defines the rules to determine node selection for a pod during scheduling. Node affinity allows a pod to specify constraints that limit the set of nodes it can be scheduled onto. This includes both hard requirements (requiredDuringSchedulingIgnoredDuringExecution) and soft preferences (preferredDuringSchedulingIgnoredDuringExecution).
class
NodeSelectorRequirementV1 sealed Represents a node selector requirement used to constrain a set of nodes in Kubernetes.
class
NodeSelectorTermV1 sealed Represents a Kubernetes node selector term used to define conditions for node selection.
class
NodeSelectorV1 sealed Represents a node selector in Kubernetes scheduling configuration. The NodeSelectorV1 object contains a list of node selector terms that are used to specify node affinity. Each term specifies a set of match expressions that are evaluated to determine whether a node satisfies the scheduling constraints.
class
ObjectFieldSelectorV1 sealed ObjectFieldSelectorV1 represents a selector that identifies a specific field of an object. It is used to specify the path to a field in the resource’s object structure and optionally, an API version to interpret the specified field.
class
ObjectMetaV1 sealed Represents metadata for Kubernetes resources, encapsulating standard properties such as the resource's name, namespace, labels, annotations, and owner references.
class
ObjectMetricSourceV2 sealed Represents a source for a metric that is associated with a specific Kubernetes object.
class
ObjectReferenceV1 sealed Represents a reference to an object within a Kubernetes cluster.
class
OwnerReferenceV1 sealed Represents a reference to the owner of a Kubernetes resource. This reference is often used to establish relationships between dependent resources and ensure cascading deletion when the owner resource is removed.
class
PersistentVolume sealed Represents a PersistentVolume resource in Kubernetes.
class
PersistentVolumeClaim sealed Represents a Kubernetes PersistentVolumeClaim resource in the v1 API version.
class
PersistentVolumeClaimSpecV1 sealed Represents the specification of a Kubernetes PersistentVolumeClaim resource.
class
PersistentVolumeClaimTemplateV1 sealed Represents a template for creating a PersistentVolumeClaim (PVC) in a Kubernetes environment.
class
PersistentVolumeClaimVolumeSourceV1 sealed Represents the configuration for mounting a PersistentVolumeClaim as a volume source.
class
PersistentVolumeSpecV1 sealed Represents the specification for a Kubernetes Persistent Volume. Defines the details of storage and access configurations for a PersistentVolume resource.
class
Pod sealed Represents a Kubernetes Pod resource in the v1 API version.
class
PodAffinityTermV1 sealed Represents a term used to define pod affinity/anti-affinity requirements in Kubernetes. The PodAffinityTermV1 specifies conditions such as label selectors, namespace selectors, and topology keys that determine the placement of pods in relation to other pods in a cluster.
class
PodAffinityV1 sealed Represents pod affinity rules for Kubernetes pod scheduling. This class defines the pod affinity and anti-affinity constraints that influence the placement of pods during scheduling.
class
PodAntiAffinityV1 sealed Represents the pod anti-affinity rules used in Kubernetes scheduling policies.
class
PodDnsConfigOptionV1 sealed Represents a DNS configuration option for a Pod in Kubernetes.
class
PodDnsConfigV1 sealed Represents the DNS configuration for a Pod in Kubernetes.
class
PodOsv1 sealed Represents the operating system information for a Pod in a Kubernetes cluster.
class
PodReadinessGateV1 sealed Represents a PodReadinessGate configuration in a Kubernetes Pod specification. A readiness gate defines additional readiness conditions that a pod needs to satisfy to be considered ready. This is typically used for custom or external conditions.
class
PodResourceClaimV1 sealed Represents a resource claim specification for a Kubernetes pod.
class
PodSchedulingGateV1 sealed Represents a scheduling gate for a pod, used in conjunction with Kubernetes scheduling gates mechanism.
class
PodSecurityContextV1 sealed Represents the security context settings for a Kubernetes Pod.
class
PodsMetricSourceV2 sealed Represents a configuration for targeting metrics at the pod level in a Kubernetes environment. Provides specification for a metric associated with pod resources and the target value or criteria for monitoring and scaling purposes.
class
PodSpecV1 sealed Represents the specification of a Kubernetes Pod defined in version 1. This class is used to configure various attributes of a pod, including containers, networking, scheduling, and security settings.
class
PodTemplate sealed Represents a PodTemplate resource in Kubernetes.
class
PodTemplateSpecV1 sealed Represents the specification of a pod template in Kubernetes.
class
PolicyRuleV1 sealed Represents a Kubernetes PolicyRule resource in API version v1.
class
PreferredSchedulingTermV1 sealed Represents a preferred scheduling term used in Kubernetes node affinity configuration. Defines a preference for scheduling pods onto nodes based on specific criteria with an associated weight.
class
ProbeV1 sealed Represents a probe configuration for Kubernetes containers. A probe is used to determine the health and readiness of a container by defining checks that can consist of various actions such as HTTP requests, executing commands, GRPC actions, or assessing TCP socket connectivity.
class
ReplicaSet sealed Represents a Kubernetes ReplicaSet resource in the `apps/v1` API version.
class
ReplicaSetSpecV1 sealed Defines the specification for a Kubernetes ReplicaSet.
class
ResourceAttributesV1 sealed Represents the attributes of a resource in Kubernetes. This class facilitates the definition of resource attributes for Kubernetes objects, including identifiers like name, namespace, and resource type, as well as selectors for field and label-based filtering.
class
ResourceClaimV1 sealed Represents a resource claim for Kubernetes resource management.
class
ResourceFieldSelectorV1 sealed ResourceFieldSelectorV1 provides a means to reference a resource field's value, such as CPU or memory, from a container in a Kubernetes resource. It allows for detailed selection of the required resource and includes optional configuration to specify a container and/or a divisor for resource scaling.
class
ResourceMetricSourceV2 sealed Represents a resource metric source used for Kubernetes scaling operations in version 2. Specifies the name of the resource and its corresponding targeting criteria.
class
ResourceRequirementsV1 sealed Represents the resource requirements for a container or a pod in a Kubernetes environment.
class
Role sealed Defines a Kubernetes Role resource within the "rbac.authorization.k8s.io/v1" API group.
class
RoleBinding sealed Represents a Kubernetes RoleBinding resource, binding a Role or ClusterRole to a set of subjects (users, groups, or service accounts).
class
RoleRefV1 sealed Represents a reference to a Kubernetes Role or ClusterRole.
class
RollingUpdateDeploymentV1 sealed Represents the rolling update configuration for a Kubernetes Deployment. Defines the parameters for controlling the behavior of updating Pods in a Deployment.
class
RollingUpdateStatefulSetStrategyV1 sealed Represents the rolling update strategy configuration for a StatefulSet in Kubernetes.
class
SeccompProfileV1 sealed Represents the seccomp profile configuration for a Kubernetes resource. Seccomp profiles provide additional security by filtering system calls that interact with the Linux kernel, allowing finer control over the system-level operations accessible to the container or process.
class
Secret sealed Represents a Kubernetes Secret resource in the v1 API version.
class
SecretEnvSourceV1 sealed SecretEnvSourceV1 represents a reference to a Secret used for populating environment variables in a container.
class
SecretKeySelectorV1 sealed SecretKeySelectorV1 represents a reference to a specific key within a Secret in Kubernetes. It is used to identify and optionally retrieve the key's value from a named Secret resource.
class
SecretVolumeSourceV1 sealed Represents a volume source based on a Kubernetes Secret.
class
SecurityContextV1 sealed Represents the security context configuration for a Kubernetes container or pod.
class
SeLinuxOptionsV1 sealed Represents the SELinux options that are applied to a container or pod in Kubernetes.
class
Service sealed Represents a Kubernetes Service resource in the v1 API version.
class
ServiceBackendPortV1 sealed Represents a service backend port configuration in Kubernetes.
class
ServicePortV1 sealed Represents a port configuration for a Kubernetes Service in API version V1.
class
ServiceSpecV1 sealed Defines the specification for a Kubernetes Service resource.
class
SessionAffinityConfigV1 sealed Represents the configuration for session affinity in a Kubernetes Service resource.
class
SleepActionV1 sealed Represents an action to pause execution for a specified duration in seconds.
class
StatefulSet sealed Represents a Kubernetes StatefulSet resource in the "apps/v1" API group.
class
StatefulSetOrdinalsV1 sealed Represents the configuration of ordinals for a StatefulSet in Kubernetes.
class
StatefulSetPersistentVolumeClaimRetentionPolicyV1 sealed Represents the retention policy for PersistentVolumeClaims (PVCs) associated with a StatefulSet in Kubernetes.
class
StatefulSetSpecV1 sealed Represents the specification of a Kubernetes StatefulSet resource.
class
StatefulSetUpdateStrategyV1 sealed Represents the update strategy configuration for a Kubernetes StatefulSet resource.
class
SubjectV1 sealed Represents a subject in Kubernetes RoleBinding or ClusterRoleBinding resources.
class
SysctlV1 sealed Represents a sysctl setting in the Pod's security context in a Kubernetes environment.
class
TcpSocketActionV1 sealed 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.
class
TolerationV1 sealed Represents a toleration configuration for Kubernetes pods. Used to tolerate taints that would otherwise prevent a pod from being scheduled onto a node. Defines the behavior of tolerating taints based on key-value pairs, operators, effects, and optional toleration durations.
class
TopologySpreadConstraintV1 sealed Represents the topology spread constraints for distributing pods across a Kubernetes cluster. These constraints define policies for balancing pods across different node topologies such as zones or regions. The constraints aim to ensure high availability and resilience by spreading pods evenly based on the specified rules.
class
TypedLocalObjectReferenceV1 sealed Represents a reference to a Kubernetes object with a specific type, enabling identification of a local object within the same namespace.
class
TypedObjectReferenceV1 sealed Represents a reference to a Kubernetes object with a specified kind and API group.
class
VolumeDeviceV1 sealed Represents a raw block device that is mapped into a Kubernetes container. This class is used to define the name of a volume and the device path in which the volume is mapped on the container.
class
VolumeMountV1 sealed Represents a volume mount configuration in a Kubernetes container.
class
VolumeNodeAffinityV1 sealed Represents the volume node affinity configuration in Kubernetes. VolumeNodeAffinityV1 describes the node-specific constraints for a PersistentVolume to ensure storage resources are bound to specific nodes based on the required scheduling and node affinity rules.
class
VolumeResourceRequirementsV1 sealed Represents the resource requirements for a Kubernetes volume.
class
VolumeV1 sealed Represents a volume configuration definition within a Kubernetes pod. This class allows specifying different types of volume sources such as Image, HostPath, Persistent Volume Claim, ConfigMap, Secret, and others, enabling configuration of data storage in a pod.
class
WeightedPodAffinityTermV1 sealed Represents a weighted pod affinity term used in Kubernetes scheduling policies. WeightedPodAffinityTermV1 defines a preference for scheduling pods closer to other pods based on affinity/anti-affinity rules.
class
WindowsSecurityContextOptionsV1 sealed Represents the Windows-specific security context options for a container or pod in Kubernetes.
class
Workload abstract The base class for Kubernetes workload resources, such as StatefulSets and Deployments.
Community
Resources
Preferences
SHA — 037d613 © Microsoft