* Separate cached kubernetes binaries by OS on host machine
This way, all kubernetes binaries stored in ~/.minikube/cache/linux will be copied over to the VM and used for `minikube kubectl` on linux machines. kubectl will be stored in `~/.minikube/cache/{windows or darwin}` on windows/darwin so that `minikube kubectl` still works.
* Review comment
* Update integration test
* Make sure --download-only includes OS specific kubectl
Update integration test to make sure we download
OS specific kubectl on darwin/windows when using --download-only flag
* Refactor: add the docker vars after the shell vars
* Move shell handling functions to separate package
* Rename env source file to docker-env like command
* Add podman-env for connecting with podman-remote
* Remove leading Shell prefix from the shell package
* Add some documentation describing podman service
* Address some podman-env issues pointed out by lint
* Fix to kubeConfigPath could be set from env
Fix to use kubeConfigPath by using kubeconfig.PathFromEnv
function not from just $HOME/.kube/config
Co-authored-by: sopahlHong <hongsophal.hsp@gmail.com>
Co-authored-by: woohhan <woohhan@gmail.com>
Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
* Delete redundant logic to get kubeConfigPath
- change to use already present util function
to set up kubeConfigPath
Co-authored-by: sopahlHong <hongsophal.hsp@gmail.com>
Co-authored-by: woohhan <woohhan@gmail.com>
Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
Co-authored-by: SOPHAL HONG <hongsophal.hsp@gmail.com>
Co-authored-by: Woohyung Han <woohhan@gmail.com>
update the test to use exitcode as as assertion
and to print stdout for debugging easily in error
case
Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
* fix startHost in order to be able to start VM even if machine does not exist
* Update func StartHost() and its unit test no to use config.GetMachineName()
* Add handle case when the kic image isn't pulled
This commit adds CONFIG_CGROUP_BPF=y to the minikube kernel config,
which enables running eBPF cgroup programs.
An example of a producer of such programs is Cilium CNI.
Signed-off-by: Martynas Pumputis <m@lambda.lt>
* Create and manager Hyper-V switch
* Adds new flag for Hyper-V driver
* Move switch creation out of chooseSwitch
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>