Resource Type: kubernetes_rbd_volume_source
- Defined in:
- lib/puppet/type/kubernetes_rbd_volume_source.rb
- Providers:
-
swagger
Overview
Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
fs_type
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: ‘ext4’, ‘xfs’, ‘ntfs’. Implicitly inferred to be ‘ext4’ if unspecified. More info: kubernetes.io/docs/concepts/storage/volumes#rbd
-
image
The rados image name. More info: releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
-
keyring
Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
-
monitors
A collection of Ceph monitors. More info: releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
-
pool
The rados pool name. Default is rbd. More info: releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
-
read_only
ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
-
secret_ref
SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
-
user
The rados user name. Default is admin. More info: releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
Parameters
-
name (namevar)
Name of the rbd_volume_source.
-
provider
The specific backend to use for this ‘kubernetes_rbd_volume_source` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.