Parcourir la source

add options for spot instances to form

Alexander Belanger il y a 4 ans
Parent
commit
c9e3b2763e
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      api/server/handlers/infra/forms.go

+ 5 - 0
api/server/handlers/infra/forms.go

@@ -379,6 +379,11 @@ tabs:
       required: true
       placeholder: my-cluster
       variable: cluster_name
+    - type: checkbox
+      variable: spot_instances_enabled
+      label: Enable spot instances for this cluster.
+      settings:
+        default: false
 `
 
 const gcrForm = `name: GCR