Explorar o código

Merge pull request #1909 from porter-dev/master

Add spot instance price -> staging
abelanger5 %!s(int64=4) %!d(string=hai) anos
pai
achega
8ac95b3420
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      api/server/handlers/infra/forms.go

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

@@ -384,6 +384,14 @@ tabs:
       label: Enable spot instances for this cluster.
       settings:
         default: false
+  - name: spot_instance_price
+    show_if: spot_instances_enabled
+    contents:
+    - type: string-input
+      label: Assign a bid price for the spot instance.
+      variable: spot_price
+      required: true
+      placeholder: "ex: 0.05"
 `
 
 const gcrForm = `name: GCR