-
Notifications
You must be signed in to change notification settings - Fork 168
/
const.go
49 lines (36 loc) · 1.7 KB
/
const.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package common
const (
// DefaultTenant is the name of the cyclone default tenant, it's a default tenant created
// when Cyclone start.
DefaultTenant = "system"
// TenantNamespacePrefix is the prefix of namespace which related to a specific tenant
TenantNamespacePrefix = "cyclone-"
// TenantPVCPrefix is the prefix of pvc which related to a specific tenant
TenantPVCPrefix = "cyclone-pvc-"
// DefaultPVCSize is the default size of pvc
DefaultPVCSize = "5Gi"
// SceneCICD is the label value used to indicate cyclone CI/CD scenario
SceneCICD = "cicd"
// SceneAI is the label value used to indicate cyclone AI scenario
SceneAI = "ai"
// CronTimerTrigger represents the trigger of workflowruns triggered by cron timer.
CronTimerTrigger = "cron-timer"
// QuotaCPULimit represents default value of 'limits.cpu'
QuotaCPULimit = "2"
// QuotaCPURequest represents default value of 'requests.cpu'
QuotaCPURequest = "1"
// QuotaMemoryLimit represents default value of 'limits.memory'
QuotaMemoryLimit = "4Gi"
// QuotaMemoryRequest represents default value of 'requests.memory'
QuotaMemoryRequest = "2Gi"
// SecretKeyIntegration is the key of the secret dada to indicate its value is about integration information.
SecretKeyIntegration = "integration"
// CachePrefixPath is the prefix path of acceleration caches
CachePrefixPath = "caches"
// DefaultCacheVolumeName is name of the default acceleration cache PV used by all workflow stages.
DefaultCacheVolumeName = "default-cache-pv"
// CacheCleanupContainerName is container name of the pod used to cleanup acceleration cache.
CacheCleanupContainerName = "cache-cleaner"
// CycloneHome is the home folder for Cyclone.
CycloneHome = "/var/lib/cyclone"
)