Skip to content

Commit dd3eb7e

Browse files
regenerate schema
1 parent 664a9da commit dd3eb7e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

minikube/schema_cluster.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,13 @@ var (
191191
},
192192

193193
"cpus": {
194-
Type: schema.TypeInt,
195-
Description: "Amount of CPUs to allocate to Kubernetes",
194+
Type: schema.TypeString,
195+
Description: "Number of CPUs allocated to Kubernetes. Use "max" to use the maximum number of CPUs. Use "no-limit" to not specify a limit (Docker/Podman only)",
196196

197197
Optional: true,
198198
ForceNew: true,
199199

200-
Default: 2,
200+
Default: "2",
201201
},
202202

203203
"cri_socket": {
@@ -668,14 +668,12 @@ var (
668668

669669
"memory": {
670670
Type: schema.TypeString,
671-
Description: "Amount of RAM to allocate to Kubernetes (format: <number>[<unit>(case-insensitive)], where unit = b, k, kb, m, mb, g or gb)",
671+
Description: "Amount of RAM to allocate to Kubernetes (format: <number>[<unit>], where unit = b, k, m or g). Use "max" to use the maximum amount of memory. Use "no-limit" to not specify a limit (Docker/Podman only))",
672672

673673
Optional: true,
674674
ForceNew: true,
675675

676676
Default: "4g",
677-
StateFunc: state_utils.ResourceSizeConverter(),
678-
ValidateDiagFunc: state_utils.ResourceSizeValidator(),
679677
},
680678

681679
"mount": {

0 commit comments

Comments
 (0)