Show / Hide Table of Contents

Class V1RBDVolumeSource

Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.

Inheritance
object
V1RBDVolumeSource
Implements
IEquatable<V1RBDVolumeSource>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1RBDVolumeSource : IEquatable<V1RBDVolumeSource>

Constructors

View Source

V1RBDVolumeSource()

Declaration
public V1RBDVolumeSource()
View Source

V1RBDVolumeSource(V1RBDVolumeSource)

Declaration
protected V1RBDVolumeSource(V1RBDVolumeSource original)
Parameters
Type Name Description
V1RBDVolumeSource original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

FsType

fsType is the 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: https://kubernetes.io/docs/concepts/storage/volumes#rbd

Declaration
[JsonPropertyName("fsType")]
public string FsType { get; set; }
Property Value
Type Description
string
View Source

Image

image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

Declaration
[JsonPropertyName("image")]
public string Image { get; set; }
Property Value
Type Description
string
View Source

Keyring

keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

Declaration
[JsonPropertyName("keyring")]
public string Keyring { get; set; }
Property Value
Type Description
string
View Source

Monitors

monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

Declaration
[JsonPropertyName("monitors")]
public IList<string> Monitors { get; set; }
Property Value
Type Description
IList<string>
View Source

Pool

pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

Declaration
[JsonPropertyName("pool")]
public string Pool { get; set; }
Property Value
Type Description
string
View Source

ReadOnlyProperty

readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

Declaration
[JsonPropertyName("readOnly")]
public bool? ReadOnlyProperty { get; set; }
Property Value
Type Description
bool?
View Source

SecretRef

secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

Declaration
[JsonPropertyName("secretRef")]
public V1LocalObjectReference SecretRef { get; set; }
Property Value
Type Description
V1LocalObjectReference
View Source

User

user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

Declaration
[JsonPropertyName("user")]
public string User { get; set; }
Property Value
Type Description
string

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1RBDVolumeSource?)

Declaration
public virtual bool Equals(V1RBDVolumeSource? other)
Parameters
Type Name Description
V1RBDVolumeSource other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1RBDVolumeSource?, V1RBDVolumeSource?)

Declaration
public static bool operator ==(V1RBDVolumeSource? left, V1RBDVolumeSource? right)
Parameters
Type Name Description
V1RBDVolumeSource left
V1RBDVolumeSource right
Returns
Type Description
bool
View Source

operator !=(V1RBDVolumeSource?, V1RBDVolumeSource?)

Declaration
public static bool operator !=(V1RBDVolumeSource? left, V1RBDVolumeSource? right)
Parameters
Type Name Description
V1RBDVolumeSource left
V1RBDVolumeSource right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX