Skip to content

Commit cfa5898

Browse files
fix: do not set cpu.maxSockets on UI (#674) (#685)
* fix: do not set cpu.maxSockets for ARM clusters * fix: remove maxSocket to fix bug on ARM cluster --------- (cherry picked from commit b1b1a31) Signed-off-by: Andy Lee <andy.lee@suse.com> Co-authored-by: Andy Lee <andy.lee@suse.com>
1 parent 66a8f9d commit cfa5898

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • pkg/harvester/mixins/harvester-vm

pkg/harvester/mixins/harvester-vm/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,6 @@ export default {
690690
set(this.spec.template.spec, 'domain.memory.maxGuest', this.maxMemory);
691691
set(this.spec.template.spec, 'domain.resources.limits.memory', this.maxMemory);
692692
} else {
693-
this.spec.template.spec.domain.cpu.maxSockets = 1;
694693
this.spec.template.spec.domain.cpu.sockets = 1;
695694
this.spec.template.spec.domain.cpu.cores = this.cpu;
696695
this.spec.template.spec.domain.resources.limits.cpu = this.cpu?.toString();

0 commit comments

Comments
 (0)