Skip to content

Commit

Permalink
Merge pull request #192 from nilo19/t-qini-add_serial-manifest
Browse files Browse the repository at this point in the history
Add config manifest for serial e2e test.
  • Loading branch information
k8s-ci-robot committed Jul 22, 2019
2 parents f787afe + 9ba5640 commit cce6391
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/utils/service_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
)

const (
serviceTimeout = 20 * time.Minute
serviceTimeout = 30 * time.Minute
)

// DeleteService deletes a service
Expand Down Expand Up @@ -99,7 +99,7 @@ func WaitUpdateServiceExposure(cs clientset.Interface, namespace string, name st
var service *v1.Service
var err error
poll := 10 * time.Second
timeout := 10 * time.Minute
timeout := 30 * time.Minute

return wait.PollImmediate(poll, timeout, func() (bool, error) {
service, err = cs.CoreV1().Services(namespace).Get(name, metav1.GetOptions{})
Expand Down
53 changes: 53 additions & 0 deletions tests/k8s-azure/manifest/linux-vmss-serial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"apiVersion": "vlabs",
"location": "",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"orchestratorRelease": "1.15",
"kubernetesConfig": {
"useCloudControllerManager": true,
"customCcmImage": "gcrio.azureedge.net/google_containers/cloud-controller-manager-amd64:v1.15.0",
"customHyperkubeImage": "gcrio.azureedge.net/google_containers/hyperkube-amd64:v1.15.0",
"networkPolicy": "none",
"cloudProviderRateLimitQPS": 6,
"cloudProviderRateLimitBucket": 20,
"controllerManagerConfig": {
"--feature-gates": "CSIInlineVolume=true,LocalStorageCapacityIsolation=true,ServiceNodeExclusion=true"
},
"apiServerConfig": {
"--enable-admission-plugins": "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,ResourceQuota,AlwaysPullImages"
}
}
},
"masterProfile": {
"count": 1,
"dnsPrefix": "{dnsPrefix}",
"vmSize": "Standard_F2"
},
"agentPoolProfiles": [
{
"name": "agentpool1",
"count": 2,
"vmSize": "Standard_F2",
"availabilityProfile": "VirtualMachineScaleSets",
"storageProfile": "ManagedDisks",
"enableVMSSNodePublicIP": true
}
],
"linuxProfile": {
"adminUsername": "k8s-ci",
"ssh": {
"publicKeys": [
{
"keyData": "{keyData}"
}
]
}
},
"servicePrincipalProfile": {
"clientID": "{servicePrincipalClientID}",
"secret": "{servicePrincipalClientSecret}"
}
}
}

0 comments on commit cce6391

Please sign in to comment.