KubernetesPublisherOptions 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.
Options which control generation of Kubernetes artifacts.
public sealed class KubernetesPublisherOptions : Aspire.Hosting.Publishing.PublishingOptions
type KubernetesPublisherOptions = class
inherit PublishingOptions
Public NotInheritable Class KubernetesPublisherOptions
Inherits PublishingOptions
- Inheritance
Constructors
KubernetesPublisherOptions() |
Fields
Publishing |
The name of the publishing configuration section in the appsettings.json file. (Inherited from PublishingOptions) |
Properties
HelmChartDescription |
Gets or sets the description of the Helm chart being generated. |
HelmChartName |
Gets or sets the name of the Helm chart to be generated. |
HelmChartVersion |
Gets or sets the version of the Helm chart to be generated. This property specifies the version number that will be assigned to the Helm chart, typically following semantic versioning conventions. |
ImagePullPolicy |
Gets or sets the policy that determines how Docker images are pulled during deployment. Possible values are: "Always" - Always attempt to pull the image from the registry. "IfNotPresent" - Pull the image only if it is not already present locally. "Never" - Never pull the image, use only the local image. The default value is "IfNotPresent". |
OutputPath |
Gets or sets the path to the directory where the published output will be written. (Inherited from PublishingOptions) |
Publisher |
Gets or sets the name of the publisher responsible for publishing the application. (Inherited from PublishingOptions) |
ServiceType |
Gets or sets the Kubernetes service type to be used when generating artifacts. |
StorageClassName |
Specifies the name of the storage class to be used for persistent volume claims in Kubernetes. This property allows customization of the storage class for specifying storage requirements such as performance, retention policies, and provisioning parameters. If set to null, the default storage class for the cluster will be used. |
StorageReadWritePolicy |
Gets or sets the default access policy for reading and writing to the storage. |
StorageSize |
Gets or sets the default storage size for persistent volumes. |
StorageType |
Specifies the type of storage used for Kubernetes deployments. |