Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DriverName to be registered CSINodeLabelKey = "app" CSINodeLabelValue = "juicefs-csi-node" PodTypeKey = "app.kubernetes.io/name" PodTypeValue = "juicefs-mount" PodUniqueIdLabelKey = "volume-id" PodJuiceHashLabelKey = "juicefs-hash" Finalizer = "juicefs.com/finalizer" JuiceFSUUID = "juicefs-uuid" UniqueId = "juicefs-uniqueid" CleanCache = "juicefs-clean-cache" MountContainerName = "jfs-mount" JobTypeValue = "juicefs-job" JfsInsideContainer = "JFS_INSIDE_CONTAINER" // CSI Secret ProvisionerSecretName = "csi.storage.k8s.io/provisioner-secret-name" ProvisionerSecretNamespace = "csi.storage.k8s.io/provisioner-secret-namespace" PublishSecretName = "csi.storage.k8s.io/node-publish-secret-name" PublishSecretNamespace = "csi.storage.k8s.io/node-publish-secret-namespace" ControllerExpandSecretName = "csi.storage.k8s.io/controller-expand-secret-name" ControllerExpandSecretNamespace = "csi.storage.k8s.io/controller-expand-secret-namespace" // webhook WebhookName = "juicefs-admission-webhook" True = "true" False = "false" InjectSidecarDone = "done" + injectSidecar InjectSidecarDisable = "disable" + injectSidecar // config in pv MountPodCpuLimitKey = "juicefs/mount-cpu-limit" MountPodMemLimitKey = "juicefs/mount-memory-limit" MountPodCpuRequestKey = "juicefs/mount-cpu-request" MountPodMemRequestKey = "juicefs/mount-memory-request" MountPodLabelKey = "juicefs/mount-labels" MountPodAnnotationKey = "juicefs/mount-annotations" MountPodServiceAccount = "juicefs/mount-service-account" MountPodImageKey = "juicefs/mount-image" DeleteDelay = "juicefs/mount-delete-delay" CleanCacheKey = "juicefs/clean-cache" CachePVC = "juicefs/mount-cache-pvc" CacheEmptyDir = "juicefs/mount-cache-emptydir" CacheInlineVolume = "juicefs/mount-cache-inline-volume" MountPodHostPath = "juicefs/host-path" // DeleteDelayTimeKey mount pod annotation DeleteDelayTimeKey = "juicefs-delete-delay" DeleteDelayAtKey = "juicefs-delete-at" // default value DefaultMountPodCpuLimit = "2000m" DefaultMountPodMemLimit = "5Gi" DefaultMountPodCpuRequest = "1000m" DefaultMountPodMemRequest = "1Gi" // secret labels JuicefsSecretLabelKey = "juicefs/secret" PodInfoName = "csi.storage.k8s.io/pod.name" PodInfoNamespace = "csi.storage.k8s.io/pod.namespace" // smooth upgrade JfsFuseFsPathInPod = "/tmp" JfsFuseFsPathInHost = "/var/run/juicefs-csi" JfsCommEnv = "JFS_SUPER_COMM" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.