Documentation
¶
Index ¶
Constants ¶
View Source
const ( // LabelAnnotationPrefix is the prefix of every labels and annotations added by the controller. LabelAnnotationPrefix = "data.fluid.io/" // The format is data.fluid.io/storage-{runtime_type}-{data_set_name} LabelAnnotationStorageCapacityPrefix = LabelAnnotationPrefix + "storage-" // The dataset annotation LabelAnnotationDataset = LabelAnnotationPrefix + "dataset" )
View Source
const ( ErrorProcessDatasetReason = "ErrorProcessDataset" ErrorProcessRuntimeReason = "ErrorProcessRuntime" ErrorHelmInstall = "ErrorHelmInstall" TargetDatasetNotFound = "TargetDatasetNotFound" TargetDatasetNotReady = "TargetDatasetNotReady" DataLoadCollision = "DataLoadCollision" RuntimeNotReady = "RuntimeNotReady" DataLoadJobStarted = "DataLoadJobStarted" DataLoadJobFailed = "DataLoadJobFailed" DataLoadJobComplete = "DataLoadJobComplete" )
Reason for Pillar events
View Source
const ( ALLUXIO_RUNTIME = "alluxio" ALLUXIO_NAMESPACE = "alluxio-system" ALLUXIO_CHART = ALLUXIO_RUNTIME ALLUXIO_DATA_LOADER_IMAGE_ENV = "AlluxioDataLoaderImage" DEFAULT_ALLUXIO_DATA_LOADER_IMAGE = "registry.cn-huhehaote.aliyuncs.com/alluxio/alluxio-data-loader:v2.2.0" ALLUXIO_INIT_IMAGE_ENV = "ALLUXIO_INIT_IMAGE_ENV" DEFAULT_ALLUXIO_INIT_IMAGE = "registry.cn-hangzhou.aliyuncs.com/fluid/init-users:v0.3.0-1467caa" )
Runtime for Alluxio
View Source
const RecommendedKubeConfigPathEnv = "KUBECONFIG"
Variables ¶
This section is empty.
Functions ¶
func GetDefaultTieredStoreOrder ¶
func GetDefaultTieredStoreOrder(MediumType MediumType) (order int)
Types ¶
type CacheStateList ¶
type CacheStateList map[CacheStateName]string
ResourceList is a set of (resource name, quantity) pairs.
type CacheStateName ¶
type CacheStateName string
CacheStateName is the name identifying various cacheStateName in a CacheStateNameList.
const ( // Cached in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024) Cached CacheStateName = "cached" // Memory, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024) // Cacheable CacheStateName = "cacheable" LowWaterMark CacheStateName = "lowWaterMark" // Memory, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024) HighWaterMark CacheStateName = "highWaterMark" // NonCacheable size, in bytes (e,g. 5Gi = 5GiB = 5 * 1024 * 1024 * 1024) NonCacheable CacheStateName = "nonCacheable" // Percentage represents the cache percentage over the total data in the underlayer filesystem. // 1.5 = 1500m CachedPercentage CacheStateName = "cachedPercentage" CacheCapacity CacheStateName = "cacheCapacity" )
CacheStateName names must be not more than 63 characters, consisting of upper- or lower-case alphanumeric characters, with the -, _, and . characters allowed anywhere, except the first or last character. The default convention, matching that for annotations, is to use lower-case names, with dashes, rather than camel case, separating compound words. Fully-qualified resource typenames are constructed from a DNS-style subdomain, followed by a slash `/` and a name.
type CacheStoreType ¶
type CacheStoreType string
const ( DiskCacheStore CacheStoreType = "Disk" MemoryCacheStore CacheStoreType = "Memory" NoneCacheStore CacheStoreType = "" )
type MediumType ¶
type MediumType string
const ( Memory MediumType = "MEM" SSD MediumType = "SSD" HDD MediumType = "HDD" )
type ResourceList ¶
type ResourceList map[corev1.ResourceName]string
type Resources ¶
type Resources struct {
Requests ResourceList `yaml:"requests,omitempty"`
Limits ResourceList `yaml:"limits,omitempty"`
}
type RuntimeRole ¶
type RuntimeRole string
Click to show internal directories.
Click to hide internal directories.