Documentation
¶
Overview ¶
Package kubernetes contains functions to obtain standard and recommended deployment artifacts for Kubernetes. These artifacts can be used by automation tools that want to deploy Ceph-CSI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSIProvisionerRBAC ¶
type CSIProvisionerRBAC interface {
GetServiceAccount() *corev1.ServiceAccount
GetClusterRole() *rbacv1.ClusterRole
GetClusterRoleBinding() *rbacv1.ClusterRoleBinding
GetRole() *rbacv1.Role
GetRoleBinding() *rbacv1.RoleBinding
}
CSIProvisionerRBAC describes the interface that is provided by different provisioner backends to get details about the required RBAC.
type CSIProvisionerRBACValues ¶
CSIProvisionerRBACValues contains values that can be passed to NewCSIProvisionerRBAC() functions for different provisioner backends.
type CephFS ¶
type CephFS struct {
// symlink filepath for the network namespace where we need to execute commands.
NetNamespaceFilePath string `json:"netNamespaceFilePath"`
// SubvolumeGroup contains the name of the SubvolumeGroup for CSI volumes
SubvolumeGroup string `json:"subvolumeGroup"`
// RadosNamespace is a rados namespace in the filesystem metadata pool
RadosNamespace string `json:"radosNamespace"`
// KernelMountOptions contains the kernel mount options for CephFS volumes
KernelMountOptions string `json:"kernelMountOptions"`
// FuseMountOptions contains the fuse mount options for CephFS volumes
FuseMountOptions string `json:"fuseMountOptions"`
// ControllerPublishSecretRef contains the secret reference for controller
// publish operations.
ControllerPublishSecretRef corev1.SecretReference `json:"controllerPublishSecretRef"`
}
type ClusterInfo ¶
type ClusterInfo struct {
// ClusterID is used for unique identification
ClusterID string `json:"clusterID"`
// Monitors is monitor list for corresponding cluster ID
Monitors []string `json:"monitors"`
// CephFS contains CephFS specific options
CephFS CephFS `json:"cephFS"`
// RBD Contains RBD specific options
RBD RBD `json:"rbd"`
// NFS contains NFS specific options
NFS NFS `json:"nfs"`
// Read affinity map options
ReadAffinity ReadAffinity `json:"readAffinity"`
}
type NFS ¶
type NFS struct {
// symlink filepath for the network namespace where we need to execute commands.
NetNamespaceFilePath string `json:"netNamespaceFilePath"`
}
type RBD ¶
type RBD struct {
// symlink filepath for the network namespace where we need to execute commands.
NetNamespaceFilePath string `json:"netNamespaceFilePath"`
// RadosNamespace is a rados namespace in the pool
RadosNamespace string `json:"radosNamespace"`
// RBD mirror daemons running in the ceph cluster.
MirrorDaemonCount int `json:"mirrorDaemonCount"`
// ControllerPublishSecretRef contains the secret reference for controller
// publish operations.
ControllerPublishSecretRef corev1.SecretReference `json:"controllerPublishSecretRef"`
}
type ReadAffinity ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cephfs contains functions to obtain standard and recommended deployment artifacts for the CephFS CSI-driver on Kubernetes.
|
Package cephfs contains functions to obtain standard and recommended deployment artifacts for the CephFS CSI-driver on Kubernetes. |
|
Package nfs contains functions to obtain standard and recommended deployment artifacts for the NFS CSI-driver on Kubernetes.
|
Package nfs contains functions to obtain standard and recommended deployment artifacts for the NFS CSI-driver on Kubernetes. |
|
Package rbd contains functions to obtain standard and recommended deployment artifacts for the RBD CSI-driver on Kubernetes.
|
Package rbd contains functions to obtain standard and recommended deployment artifacts for the RBD CSI-driver on Kubernetes. |
Click to show internal directories.
Click to hide internal directories.