ceph

package
v0.0.0-...-7d8fbd2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2021 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusOK         = "HEALTH_OK"
	ToolBoxFilter    = "app=rook-ceph-tools"
	ToolBoxContainer = "rook-ceph-tools"
	RookNamespace    = "rook-ceph"
)
View Source
const (
	Master            = "node-role.kubernetes.io/master"
	CpuMinimum  int64 = 4
	MemMinimum  int64 = 7000 * KB
	NodeMinimum int   = 3
)
View Source
const (
	RookStorePath = "/var/ankr/rook"
	KubeConfig    = "KUBECONFIG"
)
View Source
const (
	KB
	MB
	GB
	TB
)
View Source
const ClusterCommon = `` /* 37051-byte string literal not displayed */
View Source
const ClusterInstall = `` /* 636-byte string literal not displayed */
View Source
const ClusterOperator = `` /* 4193-byte string literal not displayed */
View Source
const ClusterReplicatedPool = `` /* 154-byte string literal not displayed */
View Source
const ClusterStorageClass = `` /* 292-byte string literal not displayed */
View Source
const ClusterToolBox = `` /* 1438-byte string literal not displayed */
View Source
const Kind = "kind"
View Source
const SplitString = "---"

Variables

View Source
var (
	DirName     string
	DbMinSizeMB int = 1024 * 1024 * 1024 * MB
)

Functions

func ConfigClusterCommon

func ConfigClusterCommon(cmd *cobra.Command) error

func DelCephBlockPool

func DelCephBlockPool(cmd *cobra.Command) error

func DelClusterComm

func DelClusterComm(cmd *cobra.Command) error

func DelClusterStorageClass

func DelClusterStorageClass(cmd *cobra.Command) error

func DeleteCluster

func DeleteCluster(cmd *cobra.Command) error

func DeleteClusterOperator

func DeleteClusterOperator(cmd *cobra.Command) error

func GetUserName

func GetUserName() string

func InitEnv

func InitEnv(cmd *cobra.Command) error

func InstallCephBlockPool

func InstallCephBlockPool(cmd *cobra.Command) error

func InstallCluster

func InstallCluster(cmd *cobra.Command) error

func InstallClusterOperator

func InstallClusterOperator(cmd *cobra.Command) error

func InstallClusterStorageClass

func InstallClusterStorageClass(cmd *cobra.Command) error

func Run

func Run(cmd *cobra.Command, args []string)

func Uninstall

func Uninstall(cmd *cobra.Command, args []string)

Types

type NodeInfo

type NodeInfo struct {
	Name string
	Addr string
	User string
	CPU  int64
	Mem  int64 // Ki
}

func GetNodeInfo

func GetNodeInfo(kconfig string) []*NodeInfo

GetNodeInfo get all work node info except master

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL