todd-dsm / mac-ops

QnD Automation to build a MacBook Pro for DevOps
MIT License
11 stars 7 forks source link

fix minikube defaults #104

Open todd-dsm opened 3 months ago

todd-dsm commented 3 months ago

Executed on an AS/MBP; likely still works on an Intel/MBP:

    minikube set defaults

+ minikube config set cpus 2
! These changes will take effect upon a minikube delete and then a minikube start
+ minikube config set memory 4096
! These changes will take effect upon a minikube delete and then a minikube start
+ minikube config set driver hyperkit

X Exiting due to MK_CONFIG_SET: Set failed: run validations for "driver" with value of "hyperkit": [driver "hyperkit" is not supported]
* 
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                           │
│    * If the above advice does not help, please let us know:                                                               │
│      https://github.com/kubernetes/minikube/issues/new/choose                                                             │
│                                                                                                                           │
│    * Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue.                                  │
│    * Please also attach the following file to the GitHub issue:                                                           │
│    * - /var/folders/pz/bh03fybx41sbwybsnsw2735h0000gn/T/minikube_config_0091b6972d863929303991761306ff6c38a3eb2b_0.log    │
│                                                                                                                           │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

+ minikube config set WantVirtualBoxDriverWarning false
+ printInfo 'minikube get defaults'
+ theInfo='minikube get defaults'
+ printf '%s\n' '
    minikube get defaults
'

    minikube get defaults

+ cat /Users/thomas/.minikube/config/config.json
{
    "WantVirtualBoxDriverWarning": false,
    "cpus": "2",
    "memory": "4096"
}+