-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Description
The documentation indicates that the number of cpus can be configured. When inspecting the docker container created, it seems this is not being respected.
Here's a simple resource example to reproduce
resource "minikube_cluster" "docker" {
driver = "docker"
nodes = 1
cni = "bridge"
cpus = 2
memory = "2GB"
cluster_name = "test-cluster"
addons = [
"dashboard",
"default-storageclass",
"metrics-server",
"storage-provisioner"
]
}
Once this is deployed, you can run docker inspect test-cluster -f '{{ .HostConfig.NanoCpus }}' and see that it is set to 0. Both docker stats and docker inspect test-cluster -f '{{ .HostConfig.Memory }}' is configured appropriately to 2GB.
Versions
Provider version: v0.3.10
Terraform: 1.8.4
OS: Ubuntu 22.04
scott-the-programmer
Metadata
Metadata
Assignees
Labels
No labels