Skip to content

Commit

Permalink
[release/v1.54] Adjust kubevirt image repo and vsphere datastore (#1589)
Browse files Browse the repository at this point in the history
* update vsphere datastore

* Adjust kubevirt image repo

* more adjustments to vsphere and kubevirt e2e

* adjust VPC to the new one after we recently switched AWS accounts (#1591)

* adjust VPC to the new one after we recently switched AWS accounts

* fix misleading documentation

---------

Signed-off-by: Waleed Malik <[email protected]>
Co-authored-by: Christoph Mewes <[email protected]>
Co-authored-by: Waleed Malik <[email protected]>
  • Loading branch information
3 people authored Mar 28, 2023
1 parent 1866aa7 commit 49b3632
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 24 deletions.
12 changes: 2 additions & 10 deletions test/e2e/provisioning/testdata/machinedeployment-kubevirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,13 @@ spec:
cpus: "1"
memory: "4096M"
primaryDisk:
osImage: http://image-repo.kube-system.svc.cluster.local/images/<< KUBEVIRT_OS_IMAGE >>.img
osImage: http://image-repo.kube-system.svc/images/<< KUBEVIRT_OS_IMAGE >>.img
size: "25Gi"
storageClassName: longhorn
storageClassName: px-csi-db
dnsPolicy: "None"
dnsConfig:
nameservers:
- 8.8.8.8
affinity:
podAffinityPreset: "" # Allowed values: "", "soft", "hard"
podAntiAffinityPreset: "" # Allowed values: "", "soft", "hard"
nodeAffinityPreset:
type: "" # Allowed values: "", "soft", "hard"
key: "foo"
values:
- bar
operatingSystem: "<< OS_NAME >>"
operatingSystemSpec:
distUpgradeOnBoot: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
username: '<< VSPHERE_USERNAME >>'
vsphereURL: '<< VSPHERE_ADDRESS >>'
datacenter: 'Hamburg'
folder: '/Hamburg/vm/Kubermatic-dev'
folder: '/Hamburg/vm/Kubermatic-ci'
password: << VSPHERE_PASSWORD >>
# example: 'https://your-vcenter:8443'. '/sdk' gets appended automatically
datastoreCluster: 'dsc-1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ spec:
username: '<< VSPHERE_USERNAME >>'
vsphereURL: '<< VSPHERE_ADDRESS >>'
datacenter: 'Hamburg'
folder: '/Hamburg/vm/Kubermatic-dev'
folder: '/Hamburg/vm/Kubermatic-ci'
password: << VSPHERE_PASSWORD >>
datastoreCluster: 'dsc-1'
datastore: 'vsan'
resourcePool: 'e2e-resource-pool'
cpus: 2
MemoryMB: 2048
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@ spec:
username: '<< VSPHERE_USERNAME >>'
vsphereURL: '<< VSPHERE_ADDRESS >>'
datacenter: 'Hamburg'
folder: '/Hamburg/vm/Kubermatic-dev'
folder: '/Hamburg/vm/Kubermatic-ci'
password: << VSPHERE_PASSWORD >>
# example: 'https://your-vcenter:8443'. '/sdk' gets appended automatically
datastore: ceph-vm
allowInsecure: true
datastore: vsan
cpus: 2
MemoryMB: 2048
allowInsecure: true
operatingSystem: "<< OS_NAME >>"
operatingSystemSpec:
distUpgradeOnBoot: false
disableAutoUpdate: true
rhsmOfflineToken: "<< REDHAT_SUBSCRIPTIONS_OFFLINE_TOKEN >>"
network:
cidr: "192.168.44.<< IP_OCTET >>/20"
gateway: "192.168.32.1"
dns:
servers:
- "192.168.32.1"
- "8.8.8.8"
cidr: "192.168.44.<< IP_OCTET >>/20"
gateway: "192.168.32.1"
dns:
servers:
- "192.168.32.1"
- "8.8.8.8"
versions:
kubelet: "<< KUBERNETES_VERSION >>"
4 changes: 2 additions & 2 deletions test/e2e/provisioning/testdata/machinedeployment-vsphere.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ spec:
username: '<< VSPHERE_USERNAME >>'
vsphereURL: '<< VSPHERE_ADDRESS >>'
datacenter: 'Hamburg'
folder: '/Hamburg/vm/Kubermatic-dev'
folder: '/Hamburg/vm/Kubermatic-ci'
password: << VSPHERE_PASSWORD >>
# example: 'https://your-vcenter:8443'. '/sdk' gets appended automatically
datastore: ceph-vm
datastore: vsan
cpus: 2
MemoryMB: 4096
diskSizeGB: << DISK_SIZE >>
Expand Down

0 comments on commit 49b3632

Please sign in to comment.