Documentation ¶
Index ¶
Constants ¶
const ( APIServerPort = 8443 APIServerName = "minikubeCA" ClusterDNSDomain = "cluster.local" )
APIServerPort is the port that the API server should listen on.
const ( DefaultKeepContext = false ShaSuffix = ".sha256" DefaultMemory = 2048 DefaultCPUS = 2 DefaultDiskSize = "20g" MinimumDiskSizeMB = 2000 DefaultVMDriver = "virtualbox" DefaultStatusFormat = "minikube: {{.MinikubeStatus}}\n" + "localkube: {{.LocalkubeStatus}}\n" + "kubectl: {{.KubeconfigStatus}}\n" DefaultAddonListFormat = "- {{.AddonName}}: {{.AddonStatus}}\n" DefaultConfigViewFormat = "- {{.ConfigKey}}: {{.ConfigValue}}\n" GithubMinikubeReleasesURL = "https://storage.googleapis.com/minikube/releases.json" KubernetesVersionGCSURL = "https://storage.googleapis.com/minikube/k8s_releases.json" )
const ( RemoteLocalKubeErrPath = "/var/lib/localkube/localkube.err" RemoteLocalKubeOutPath = "/var/lib/localkube/localkube.out" LocalkubePIDPath = "/var/run/localkube.pid" )
const ( LocalkubeServicePath = "/usr/lib/systemd/system/localkube.service" LocalkubeRunning = "active" LocalkubeStopped = "inactive" )
const ( DefaultUfsPort = "5640" DefaultUfsDebugLvl = 0 DefaultMountEndpoint = "/minikube-host" )
const AddonsPath = "/etc/kubernetes/addons"
const DefaultMachineName = "minikube"
DefaultMachineName is the default name for the VM
const DefaultStorageClassProvisioner = "standard"
The name of the default storage class provisioner
const DockerAPIVersion = "1.23"
DockerAPIVersion is the API version implemented by Docker running in the minikube VM.
const IsMinikubeChildProcess = "IS_MINIKUBE_CHILD_PROCESS"
const MinikubeContext = "minikube"
MinikubeContext is the kubeconfig context name used for minikube
const MinikubeEnvPrefix = "MINIKUBE"
MinikubeEnvPrefix is the prefix for the environmental variables
const MinikubeHome = "MINIKUBE_HOME"
const ReportingURL = "" /* 130-byte string literal not displayed */
Variables ¶
var ConfigFile = MakeMiniPath("config", "config.json")
var ConfigFilePath = MakeMiniPath("config")
var DefaultIsoShaUrl = DefaultIsoUrl + ShaSuffix
var DefaultIsoUrl = fmt.Sprintf("https://storage.googleapis.com/%s/minikube-%s.iso", minikubeVersion.GetIsoPath(), minikubeVersion.GetIsoVersion())
var DefaultKubernetesVersion = version.Get().GitVersion
var DefaultMinipath = filepath.Join(homedir.HomeDir(), ".minikube")
var DefaultMountDir = homedir.HomeDir()
var KubeconfigEnvVar = clientcmd.RecommendedConfigPathEnvVar
KubeconfigEnvVar is the env var to check for the Kubernetes client config
var KubeconfigPath = clientcmd.RecommendedHomeFile
KubeconfigPath is the path to the Kubernetes client config
var LocalkubeDownloadURLPrefix = "https://storage.googleapis.com/minikube/k8sReleases/"
var LocalkubeLinuxFilename = "localkube-linux-amd64"
var LogFlags = [...]string{
"v",
"vmodule",
}
Only pass along these flags to localkube.
var MountProcessFileName = ".mount-process"
var SupportedVMDrivers = [...]string{
"virtualbox",
"kvm",
"none",
}
Functions ¶
func GetMinipath ¶ added in v0.17.0
func GetMinipath() string
Minipath is the path to the user's minikube dir
func MakeMiniPath ¶
MakeMiniPath is a utility to calculate a relative path to our directory.
Types ¶
This section is empty.