forked from kubeedge/kubeedge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constant.go
63 lines (44 loc) · 1.94 KB
/
constant.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
Copyright 2019 The Kubeedge Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package common
const (
//KubeEdgeVersion sets the version of KubeEdge to be used
KubeEdgeVersion = "kubeedge-version"
//DockerVersion sets the version of Docker to be used
DockerVersion = "docker-version"
//KubernetesVersion sets the version of Kuberneted to be used
KubernetesVersion = "kubernetes-version"
//KubeConfig sets the path of kubeconfig , default is ""
KubeConfig = "kube-config"
//K8SAPIServerIPPort sets the IP:Port of Kubernetes api-server
K8SAPIServerIPPort = "k8sserverip"
//EdgeControllerIP sets the IP of KubeEdge edgecontroller cloud component
EdgeControllerIP = "edgecontrollerip"
//KubeEdge Node unique idenfitcation string
EdgeNodeID = "edgenodeid"
//CertPath sets the path of the certificates generated by the KubeEdge Cloud component
CertPath = "certPath"
//DefaultCertPath is the default certificate path in edge node
DefaultCertPath = "/etc/kubeedge/certs"
//DefaultKubeEdgeVersion is the current default version of KubeEdge
DefaultKubeEdgeVersion = "0.3.0"
//DefaultDockerVersion is the current default version of Docker
DefaultDockerVersion = "18.06.0"
//DefaultK8SVersion is the current default version of K8S
DefaultK8SVersion = "1.14.1"
// DefaultProjectID is default project id
DefaultProjectID = "e632aba927ea4ac2b575ec1603d56f10"
VendorK8sPrefix = "v1.10.9-kubeedge-"
// RuntimeType is default runtime type
RuntimeType = "runtimetype"
)