Documentation ¶
Index ¶
Constants ¶
View Source
const ( SkipTranslationAnnotation = "vcluster.loft.sh/skip-translate" SyncResourceAnnotation = "vcluster.loft.sh/force-sync" PausedAnnotation = "loft.sh/paused" PausedReplicasAnnotation = "loft.sh/paused-replicas" PausedDateAnnotation = "loft.sh/paused-date" // NodeSuffix is the dns suffix for our nodes NodeSuffix = "nodes.vcluster.com" // KubeletPort is the port we pretend the kubelet is running under KubeletPort = int32(10250) )
View Source
const ( IndexByPhysicalName = "IndexByPhysicalName" IndexByVirtualName = "IndexByVirtualName" IndexByAssigned = "IndexByAssigned" IndexByStorageClass = "IndexByStorageClass" IndexByIngressSecret = "IndexByIngressSecret" IndexByPodSecret = "IndexByPodSecret" IndexByConfigMap = "IndexByConfigMap" // IndexByHostName is used to map rewritten hostnames(advertised as node addresses) to nodenames IndexByHostName = "IndexByHostName" IndexByClusterIP = "IndexByClusterIP" )
View Source
const (
ContainerManifestsFolder = "/manifests"
)
View Source
const DefaultCacheSyncTimeout = time.Minute * 15
View Source
const (
FieldManager = "vcluster"
)
Variables ¶
View Source
var CoreDNSVersionMap = map[string]string{
"1.27": "coredns/coredns:1.10.1",
"1.25": "coredns/coredns:1.9.3",
"1.24": "coredns/coredns:1.8.7",
"1.23": "coredns/coredns:1.8.6",
"1.22": "coredns/coredns:1.8.4",
"1.21": "coredns/coredns:1.8.3",
"1.20": "coredns/coredns:1.8.0",
"1.19": "coredns/coredns:1.6.9",
"1.18": "coredns/coredns:1.6.9",
"1.17": "coredns/coredns:1.6.9",
"1.16": "coredns/coredns:1.6.3",
}
Functions ¶
func GetVclusterUserAgent ¶ added in v0.15.1
func GetVclusterUserAgent() string
returns vcluster user agent with a constant name part used by the API server for FieldManager
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.