Skip to main content

KubernetesVolume

Resource KubernetesVolume in pulumi-portainer.
2 min read

Resource KubernetesVolume in pulumi-portainer.

Pulumi type: portainer:index/kubernetesVolume:KubernetesVolume.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
endpointIdnumberyesIdentifier of the Portainer Kubernetes endpoint where the volume resource is managed.
kubernetesVolumeIdstringno
manifeststringyesYAML or JSON manifest describing the Kubernetes volume resource to deploy.
namespacestringnoKubernetes namespace for namespaced volume resources (required for persistent-volume-claim).
typestringyesType of Kubernetes volume resource: persistent-volume-claim, persistent-volume, or volume-attachment.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
endpointIdnumbernoIdentifier of the Portainer Kubernetes endpoint where the volume resource is managed.
kubernetesVolumeIdstringno
manifeststringnoYAML or JSON manifest describing the Kubernetes volume resource to deploy.
namespacestringnoKubernetes namespace for namespaced volume resources (required for persistent-volume-claim).
typestringnoType of Kubernetes volume resource: persistent-volume-claim, persistent-volume, or volume-attachment.