constants

package
v0.15.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

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"

	// 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"
)
View Source
const (
	ContainerManifestsFolder = "/manifests"
)

Variables

View Source
var CoreDNSVersionMap = map[string]string{
	"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

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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