Skip to content

Commit

Permalink
Update OOT cloud-provider version and enable LB test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cecile Robert-Michon committed Apr 19, 2021
1 parent 36464d8 commit 5b805be
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 20 deletions.
4 changes: 2 additions & 2 deletions templates/cluster-template-external-cloud-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ data:
effect: NoSchedule
containers:
- name: cloud-controller-manager
image: ${AZURE_CLOUD_CONTROLLER_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager:v0.7.2}
image: ${AZURE_CLOUD_CONTROLLER_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager:v0.7.3}
imagePullPolicy: IfNotPresent
command: ["cloud-controller-manager"]
args:
Expand Down Expand Up @@ -504,7 +504,7 @@ data:
effect: NoSchedule
containers:
- name: cloud-node-manager
image: ${AZURE_CLOUD_NODE_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v0.7.2}
image: ${AZURE_CLOUD_NODE_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v0.7.3}
imagePullPolicy: IfNotPresent
command:
- cloud-node-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ spec:
effect: NoSchedule
containers:
- name: cloud-controller-manager
image: ${AZURE_CLOUD_CONTROLLER_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager:v0.7.2}
image: ${AZURE_CLOUD_CONTROLLER_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager:v0.7.3}
imagePullPolicy: IfNotPresent
command: ["cloud-controller-manager"]
args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
effect: NoSchedule
containers:
- name: cloud-node-manager
image: ${AZURE_CLOUD_NODE_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v0.7.2}
image: ${AZURE_CLOUD_NODE_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v0.7.3}
imagePullPolicy: IfNotPresent
command:
- cloud-node-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ data:
effect: NoSchedule
containers:
- name: cloud-controller-manager
image: ${AZURE_CLOUD_CONTROLLER_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager:v0.7.2}
image: ${AZURE_CLOUD_CONTROLLER_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager:v0.7.3}
imagePullPolicy: IfNotPresent
command: ["cloud-controller-manager"]
args:
Expand Down Expand Up @@ -509,7 +509,7 @@ data:
effect: NoSchedule
containers:
- name: cloud-node-manager
image: ${AZURE_CLOUD_NODE_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v0.7.2}
image: ${AZURE_CLOUD_NODE_MANAGER_IMG:=mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v0.7.3}
imagePullPolicy: IfNotPresent
command:
- cloud-node-manager
Expand Down
26 changes: 12 additions & 14 deletions test/e2e/azure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ var _ = Describe("Workload cluster creation", func() {
// ci-e2e.sh and Prow CI skip this test by default.
// To include this test, set `GINKGO_SKIP=""`.
Context("Creating a cluster that uses the external cloud provider", func() {
It("with a 3 control plane nodes and 2 worker nodes", func() {
It("with a 1 control plane nodes and 2 worker nodes", func() {
clusterctl.ApplyClusterTemplateAndWait(ctx, clusterctl.ApplyClusterTemplateAndWaitInput{
ClusterProxy: bootstrapClusterProxy,
ConfigCluster: clusterctl.ConfigClusterInput{
Expand All @@ -366,26 +366,24 @@ var _ = Describe("Workload cluster creation", func() {
Namespace: namespace.Name,
ClusterName: clusterName,
KubernetesVersion: e2eConfig.GetVariable(capi_e2e.KubernetesVersion),
ControlPlaneMachineCount: pointer.Int64Ptr(3),
ControlPlaneMachineCount: pointer.Int64Ptr(1),
WorkerMachineCount: pointer.Int64Ptr(2),
},
WaitForClusterIntervals: e2eConfig.GetIntervals(specName, "wait-cluster"),
WaitForControlPlaneIntervals: e2eConfig.GetIntervals(specName, "wait-control-plane"),
WaitForMachinePools: e2eConfig.GetIntervals(specName, "wait-machine-pool-nodes"),
}, result)

// TODO: fix and enable
//Context("Creating an accessible load balancer", func() {
// AzureLBSpec(ctx, func() AzureLBSpecInput {
// return AzureLBSpecInput{
// BootstrapClusterProxy: bootstrapClusterProxy,
// Namespace: namespace,
// ClusterName: clusterName,
// SkipCleanup: skipCleanup,
// IsVMSS: false,
// }
// })
//})
Context("Creating an accessible load balancer", func() {
AzureLBSpec(ctx, func() AzureLBSpecInput {
return AzureLBSpecInput{
BootstrapClusterProxy: bootstrapClusterProxy,
Namespace: namespace,
ClusterName: clusterName,
SkipCleanup: skipCleanup,
}
})
})
})
})

Expand Down

0 comments on commit 5b805be

Please sign in to comment.