Skip to content

Commit

Permalink
E2E: cleanup legacy kubernetes (Azure#2275)
Browse files Browse the repository at this point in the history
* add e2e hybrid definition

also remove tiller explicit config from windows api model

* removing windows + hybrid from legacy e2e

* removing tests from legacy e2e that are elsewhere

* add rescheduler, remove more from legacy e2e

* add debug for service URL content mismatch
  • Loading branch information
jackfrancis authored and Terje Torkelsen committed Mar 15, 2018
1 parent 8aa7f9d commit 933f0c7
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"config": {
"max-history": "5"
}
},
{
"name": "rescheduler",
"enabled" : true
}
]
}
Expand All @@ -32,7 +36,7 @@
"vmSize": "Standard_D2_v2",
"OSDiskSizeGB": 200,
"storageProfile" : "ManagedDisks",
"diskSizesGB": [128],
"diskSizesGB": [128, 128, 128, 128],
"availabilityProfile": "AvailabilitySet",
"vnetSubnetId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/virtualNetworks/VNET_NAME/subnets/SUBNET_NAME"
},
Expand Down
13 changes: 1 addition & 12 deletions examples/e2e-tests/kubernetes/windows/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,7 @@
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"kubernetesConfig": {
"addons": [
{
"name": "tiller",
"enabled" : true,
"config": {
"max-history": "5"
}
}
]
}
"orchestratorType": "Kubernetes"
},
"masterProfile": {
"count": 3,
Expand Down
46 changes: 46 additions & 0 deletions examples/e2e-tests/kubernetes/windows/hybrid/definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "linuxpool1",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentwin",
"count": 2,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet",
"osType": "Windows"
}
],
"windowsProfile": {
"adminUsername": "azureuser",
"adminPassword": "replacepassword1234$"
},
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": ""
}
]
}
},
"servicePrincipalProfile": {
"clientId": "",
"secret": ""
}
}
}
52 changes: 0 additions & 52 deletions test/acse-conf/acse-regression.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"deployments": [
{
"cluster_definition": "windows/kubernetes-hybrid.json",
"category": "windows"
},
{
"cluster_definition": "windows/kubernetes.json",
"category": "windows"
},
{
"cluster_definition": "dcos-releases/dcos1.9.json",
"category": "version"
Expand All @@ -20,14 +12,6 @@
"cluster_definition": "disks-managed/dcos-vmss.json",
"category": "managed-disk"
},
{
"cluster_definition": "disks-managed/kubernetes-preAttachedDisks-vmas.json",
"category": "managed-disk"
},
{
"cluster_definition": "disks-managed/kubernetes-vmas.json",
"category": "managed-disk"
},
{
"cluster_definition": "disks-managed/swarm-preAttachedDisks-vmss.json",
"category": "managed-disk"
Expand All @@ -44,10 +28,6 @@
"cluster_definition": "disks-storageaccount/dcos.json",
"category": "managed-disk"
},
{
"cluster_definition": "disks-storageaccount/kubernetes.json",
"category": "sa-disk"
},
{
"cluster_definition": "disks-storageaccount/swarmmode.json",
"category": "sa-disk"
Expand All @@ -57,38 +37,10 @@
"category": "keyvault",
"location": "westus"
},
{
"cluster_definition": "kubernetes-releases/kubernetes1.8.json",
"category": "version"
},
{
"cluster_definition": "networkpolicy/kubernetes-calico.json",
"category": "network"
},
{
"cluster_definition": "networkpolicy/kubernetes-azure.json",
"category": "network"
},
{
"cluster_definition": "kubernetes-config/kubernetes-clustersubnet.json",
"category": "network"
},
{
"cluster_definition": "kubernetes-config/kubernetes-no-dashboard.json",
"category": "config"
},
{
"cluster_definition": "kubernetes-config/kubernetes-rescheduler.json",
"category": "config"
},
{
"cluster_definition": "multiple-masters/kubernetes-3-masters.json",
"category": "multimaster"
},
{
"cluster_definition": "multiple-masters/kubernetes-5-masters.json",
"category": "multimaster"
},
{
"cluster_definition": "v20170131/swarmmode.json",
"category": "version"
Expand All @@ -97,10 +49,6 @@
"cluster_definition": "vnet/dcosvnet.json",
"category": "network"
},
{
"cluster_definition": "vnet/kubernetesvnet-azure-cni.json",
"category": "network"
},
{
"cluster_definition": "vnet/kubernetesvnet.json",
"category": "network"
Expand Down
1 change: 1 addition & 0 deletions test/e2e/kubernetes/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func (s *Service) Validate(check string, attempts int, sleep time.Duration) bool
if matched == true {
return true
}
log.Printf("Got unexpected URL body, expected to find %s, got:\n%s\n", check, string(body))
}
time.Sleep(sleep)
}
Expand Down

0 comments on commit 933f0c7

Please sign in to comment.