Skip to content

Commit

Permalink
Merge pull request #1795 from jsturtevant/fix-windows-dockershim
Browse files Browse the repository at this point in the history
Use same env variables as Containerd solution
  • Loading branch information
k8s-ci-robot authored Oct 27, 2021
2 parents a2a39e5 + 3f58306 commit 909f3a0
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 18 deletions.
10 changes: 4 additions & 6 deletions templates/test/ci/cluster-template-prow-ci-version-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,8 @@ metadata:
namespace: default
spec:
clusterName: ${CLUSTER_NAME}
replicas: ${LINUX_WORKER_MACHINE_COUNT:-1}
selector:
matchLabels: null
replicas: ${WORKER_MACHINE_COUNT:-1}
selector: {}
template:
spec:
bootstrap:
Expand Down Expand Up @@ -403,9 +402,8 @@ metadata:
namespace: default
spec:
clusterName: ${CLUSTER_NAME}
replicas: ${WORKER_MACHINE_COUNT}
selector:
matchLabels: null
replicas: ${WINDOWS_WORKER_MACHINE_COUNT:-2}
selector: {}
template:
spec:
bootstrap:
Expand Down
10 changes: 4 additions & 6 deletions templates/test/ci/cluster-template-prow-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,8 @@ metadata:
namespace: default
spec:
clusterName: ${CLUSTER_NAME}
replicas: ${LINUX_WORKER_MACHINE_COUNT:-1}
selector:
matchLabels: null
replicas: ${WORKER_MACHINE_COUNT:-1}
selector: {}
template:
spec:
bootstrap:
Expand Down Expand Up @@ -257,9 +256,8 @@ metadata:
namespace: default
spec:
clusterName: ${CLUSTER_NAME}
replicas: ${WORKER_MACHINE_COUNT}
selector:
matchLabels: null
replicas: ${WINDOWS_WORKER_MACHINE_COUNT:-2}
selector: {}
template:
spec:
bootstrap:
Expand Down
1 change: 1 addition & 0 deletions templates/test/ci/prow-windows/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ patchesStrategicMerge:
- ../patches/tags.yaml
- ../patches/cluster-cni-windows.yaml
- ../patches/controller-manager.yaml
- patches/machine-deployment-worker-counts.yaml
patches:
- target:
group: bootstrap.cluster.x-k8s.io
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
metadata:
name: "${CLUSTER_NAME}-md-win"
spec:
replicas: ${WINDOWS_WORKER_MACHINE_COUNT:-2}
---
apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
metadata:
name: "${CLUSTER_NAME}-md-0"
spec:
clusterName: "${CLUSTER_NAME}"
replicas: ${WORKER_MACHINE_COUNT:-1}
10 changes: 4 additions & 6 deletions templates/test/dev/cluster-template-custom-builds-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,8 @@ metadata:
namespace: default
spec:
clusterName: ${CLUSTER_NAME}
replicas: ${LINUX_WORKER_MACHINE_COUNT:-1}
selector:
matchLabels: null
replicas: ${WORKER_MACHINE_COUNT:-1}
selector: {}
template:
spec:
bootstrap:
Expand Down Expand Up @@ -346,9 +345,8 @@ metadata:
namespace: default
spec:
clusterName: ${CLUSTER_NAME}
replicas: ${WORKER_MACHINE_COUNT}
selector:
matchLabels: null
replicas: ${WINDOWS_WORKER_MACHINE_COUNT:-2}
selector: {}
template:
spec:
bootstrap:
Expand Down

0 comments on commit 909f3a0

Please sign in to comment.