Skip to content

Commit

Permalink
KubeVirt small cleanup: Flavor and PodAffinity (#1494)
Browse files Browse the repository at this point in the history
Signed-off-by: Helene Durand <[email protected]>

Signed-off-by: Helene Durand <[email protected]>
  • Loading branch information
hdurand0710 authored Nov 23, 2022
1 parent 40cb0e4 commit 68b11ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions examples/kubevirt-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ spec:
preference:
name: "sockets-advantage"
kind: "VirtualMachinePreference" # Allowed values: "VirtualMachinePreference"/"VirtualMachineClusterPreference"
# will be deprecated: in favor instancetype and preference
flavor:
name: "kubermatic-standard"
template:
cpus: "1"
memory: "2048M"
Expand All @@ -49,10 +46,6 @@ spec:
size: "10Gi"
storageClassName: kubermatic-fast
affinity:
# Deprecated: Use topologySpreadConstraints instead.
podAffinityPreset: "" # Allowed values: "", "soft", "hard"
# Deprecated: Use topologySpreadConstraints instead.
podAntiAffinityPreset: "" # Allowed values: "", "soft", "hard"
nodeAffinityPreset:
type: "" # Allowed values: "", "soft", "hard"
key: "foo"
Expand All @@ -62,7 +55,6 @@ spec:
- maxSkew: "1"
topologyKey: "kubernetes.io/hostname"
whenUnsatisfiable: "" # Allowed values: "DoNotSchedule", "ScheduleAnyway"

# Can also be `centos`, must align with he configured registryImage above
operatingSystem: "ubuntu"
operatingSystemSpec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,6 @@ spec:
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

0 comments on commit 68b11ac

Please sign in to comment.