|
3 | 3 |
|
4 | 4 | package datamodel |
5 | 5 |
|
6 | | -const ( |
7 | | - VlabsAPIVersion = "vlabs" |
8 | | -) |
9 | | - |
10 | 6 | // the orchestrators supported by vlabs |
11 | 7 | const ( |
12 | | - // Mesos is the string constant for MESOS orchestrator type |
13 | | - Mesos string = "Mesos" |
14 | | - // DCOS is the string constant for DCOS orchestrator type and defaults to DCOS188 |
15 | | - DCOS string = "DCOS" |
16 | | - // Swarm is the string constant for the Swarm orchestrator type |
17 | | - Swarm string = "Swarm" |
18 | 8 | // Kubernetes is the string constant for the Kubernetes orchestrator type |
19 | 9 | Kubernetes string = "Kubernetes" |
20 | | - // SwarmMode is the string constant for the Swarm Mode orchestrator type |
21 | | - SwarmMode string = "SwarmMode" |
22 | 10 | ) |
23 | 11 |
|
24 | 12 | const ( |
25 | | - // SwarmVersion is the Swarm orchestrator version |
26 | | - SwarmVersion = "swarm:1.1.0" |
27 | | - // SwarmDockerComposeVersion is the Docker Compose version |
28 | | - SwarmDockerComposeVersion = "1.6.2" |
29 | | - // DockerCEVersion is the DockerCE orchestrator version |
30 | | - DockerCEVersion = "17.03.*" |
31 | | - // DockerCEDockerComposeVersion is the Docker Compose version |
32 | | - DockerCEDockerComposeVersion = "1.14.0" |
33 | 13 | // KubernetesWindowsDockerVersion is the default version for docker on Windows nodes in kubernetes |
34 | 14 | KubernetesWindowsDockerVersion = "19.03.5" |
35 | 15 | // KubernetesDefaultWindowsSku is the default SKU for Windows VMs in kubernetes |
36 | 16 | KubernetesDefaultWindowsSku = "Datacenter-Core-1809-with-Containers-smalldisk" |
37 | 17 | ) |
38 | 18 |
|
39 | | -// validation values |
40 | | -const ( |
41 | | - // MinAgentCount are the minimum number of agents per agent pool |
42 | | - MinAgentCount = 1 |
43 | | - // MaxAgentCount are the maximum number of agents per agent pool |
44 | | - MaxAgentCount = 100 |
45 | | - // MinPort specifies the minimum tcp port to open |
46 | | - MinPort = 1 |
47 | | - // MaxPort specifies the maximum tcp port to open |
48 | | - MaxPort = 65535 |
49 | | - // MaxDisks specifies the maximum attached disks to add to the cluster |
50 | | - MaxDisks = 4 |
51 | | -) |
52 | | - |
53 | 19 | // Availability profiles |
54 | 20 | const ( |
55 | 21 | // AvailabilitySet means that the vms are in an availability set |
@@ -272,26 +238,6 @@ const ( |
272 | 238 | VHDDiskSizeAKS = 30 |
273 | 239 | ) |
274 | 240 |
|
275 | | -const ( |
276 | | - CloudProviderBackoffModeV2 = "v2" |
277 | | - // DefaultKubernetesCloudProviderBackoffRetries is 6, takes effect if DefaultKubernetesCloudProviderBackoff is true |
278 | | - DefaultKubernetesCloudProviderBackoffRetries = 6 |
279 | | - // DefaultKubernetesCloudProviderBackoffJitter is 1, takes effect if DefaultKubernetesCloudProviderBackoff is true |
280 | | - DefaultKubernetesCloudProviderBackoffJitter = 1.0 |
281 | | - // DefaultKubernetesCloudProviderBackoffDuration is 5, takes effect if DefaultKubernetesCloudProviderBackoff is true |
282 | | - DefaultKubernetesCloudProviderBackoffDuration = 5 |
283 | | - // DefaultKubernetesCloudProviderBackoffExponent is 1.5, takes effect if DefaultKubernetesCloudProviderBackoff is true |
284 | | - DefaultKubernetesCloudProviderBackoffExponent = 1.5 |
285 | | - // DefaultKubernetesCloudProviderRateLimitQPS is 3, takes effect if DefaultKubernetesCloudProviderRateLimit is true |
286 | | - DefaultKubernetesCloudProviderRateLimitQPS = 3.0 |
287 | | - // DefaultKubernetesCloudProviderRateLimitQPSWrite is 1, takes effect if DefaultKubernetesCloudProviderRateLimit is true |
288 | | - DefaultKubernetesCloudProviderRateLimitQPSWrite = 1.0 |
289 | | - // DefaultKubernetesCloudProviderRateLimitBucket is 10, takes effect if DefaultKubernetesCloudProviderRateLimit is true |
290 | | - DefaultKubernetesCloudProviderRateLimitBucket = 10 |
291 | | - // DefaultKubernetesCloudProviderRateLimitBucketWrite is 10, takes effect if DefaultKubernetesCloudProviderRateLimit is true |
292 | | - DefaultKubernetesCloudProviderRateLimitBucketWrite = DefaultKubernetesCloudProviderRateLimitBucket |
293 | | -) |
294 | | - |
295 | 241 | const ( |
296 | 242 | //AzureEdgeDCOSBootstrapDownloadURL is the azure edge CDN download url |
297 | 243 | AzureEdgeDCOSBootstrapDownloadURL = "https://dcosio.azureedge.net/dcos/%s/bootstrap/%s.bootstrap.tar.xz" |
|
0 commit comments