Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hack/kubevirt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
create-vcluster:
kubectl create namespace test || true

VCLUSTER_VERSION=v0.26.0-alpha.5 \
VCLUSTER_VERSION=v0.26.0-alpha.6 \
clusterctl generate cluster test --kubernetes-version v1.31.2 -n test --from file://$$(pwd)/template.yaml | kubectl apply -f -

.PHONY: delete-vcluster
delete-vcluster:
VCLUSTER_VERSION=v0.26.0-alpha.5 \
VCLUSTER_VERSION=v0.26.0-alpha.6 \
clusterctl generate cluster test --kubernetes-version v1.31.2 -n test --from file://$$(pwd)/template.yaml | kubectl delete --ignore-not-found -f -

.PHONY: install-capa
Expand Down
6 changes: 3 additions & 3 deletions hack/kubevirt/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
clusterNetwork:
pods:
cidrBlocks:
- 10.243.0.0/16
- 10.244.0.0/16
services:
cidrBlocks:
- 10.95.0.0/16
Expand Down Expand Up @@ -37,7 +37,7 @@ spec:
privateNodes:
enabled: true
networking:
podCIDR: 10.243.0.0/16
podCIDR: 10.244.0.0/16
serviceCIDR: 10.95.0.0/16
controlPlane:
distro:
Expand Down Expand Up @@ -122,7 +122,7 @@ metadata:
name: ${CLUSTER_NAME}
spec:
clusterName: ${CLUSTER_NAME}
replicas: 1
replicas: 2
selector:
matchLabels: null
template:
Expand Down