次の方法で共有


Pod Class

Definition

Represents a Kubernetes Pod resource in the v1 API version.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class Pod : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
[<YamlDotNet.Serialization.YamlSerializable>]
type Pod = class
    inherit BaseKubernetesResource
Public NotInheritable Class Pod
Inherits BaseKubernetesResource
Inheritance
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

A Pod is the smallest and simplest Kubernetes resource that serves as a unit of deployment in the cluster. It encapsulates an application container or multiple containers, along with storage resources, networking, and configuration options to manage the execution of the containerized application. Pods are the foundational building blocks of Kubernetes workloads and are managed by controllers like Deployments, ReplicaSets, and Jobs.

Constructors

Pod()

Represents a Kubernetes Pod resource in the v1 API version.

Properties

ApiVersion

Gets or sets the API version for the Kubernetes resource.

(Inherited from BaseKubernetesObject)
Kind

Gets or sets the kind of the Kubernetes resource.

(Inherited from BaseKubernetesObject)
Metadata

Gets or sets the metadata for the Kubernetes resource.

(Inherited from BaseKubernetesResource)
Spec

Represents the specification for the Kubernetes Pod resource. Contains detailed configuration for the behavior and lifecycle management of the Kubernetes Pod. This property is of type PodSpecV1.

Applies to