Skip to content

Commit e613b90

Browse files
authored
ui: set default cpu, memory value for k8s version (#7513)
By default, use mincpunumber=2 and minmemory=2048 as these are k8s minimum required spec. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent a582b2a commit e613b90

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui/src/views/image/AddKubernetesSupportedVersion.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,10 @@ export default {
141141
methods: {
142142
initForm () {
143143
this.formRef = ref()
144-
this.form = reactive({})
144+
this.form = reactive({
145+
mincpunumber: 2,
146+
minmemory: 2048
147+
})
145148
this.rules = reactive({
146149
semanticversion: [{ required: true, message: this.$t('message.error.kuberversion') }],
147150
zoneid: [{

0 commit comments

Comments
 (0)