Commit Graph

3805 Commits (ca77d16f0c4e00a4b0143ff493afbb387447901a)

Author SHA1 Message Date
Anders F Björklund a4d872faee Fix some minor gofmt and golint issues
So that "make gofmt" and "make golint" go green again
2020-05-14 07:50:29 +02:00
Medya Gh 9de7f4630a dont change oldest 2020-05-12 19:33:16 -07:00
Medya Gh 5e17545c19 fix a comment 2020-05-12 17:55:15 -07:00
Medya Ghazizadeh 3c84c3cf31
Merge pull request #8099 from medyagh/update_kube_ver
update Kubernetes version to v1.18.2
2020-05-13 00:46:20 +00:00
Medya Ghazizadeh 522c746df4
Merge pull request #8106 from sharifelgamal/vbox
fix virtualbox IP address retrieval
2020-05-13 00:08:36 +00:00
Sharif Elgamal 50a3266a8a fix virtualbox IP address retrieval 2020-05-12 16:48:21 -07:00
Medya Ghazizadeh 8a4e2610f9
Merge pull request #8104 from medyagh/unit_test_machine
make deleting orphaned kics optional
2020-05-12 23:36:17 +00:00
Medya Gh bb2607aab8 fix unit test 2020-05-12 16:25:46 -07:00
Medya Gh 97d5251b02 update oldest support version patch 2020-05-12 16:11:05 -07:00
Medya Gh 2de9f442bb update oldest kuberentes version to latest minior 12.9.10 2020-05-12 16:10:54 -07:00
Medya Gh e457618d71 make deleting orphaned kics optional 2020-05-12 16:00:02 -07:00
Sharif Elgamal e65486a017 retrieve virtual switch name from driver object directly 2020-05-12 15:45:18 -07:00
Medya Gh 05cd86925e update newest 2020-05-12 15:22:01 -07:00
Medya Gh 7dbbbc66cf update kuberentes version to v1.18.2 2020-05-12 15:17:55 -07:00
Sharif Elgamal d7813e9199 ControlPaneEndpoint -> ControlPlaneEndpoint 2020-05-12 12:01:42 -07:00
Medya Ghazizadeh afab7c87c6
Merge pull request #7959 from afbjorklund/podman-prompt
Use noninteractive sudo when running podman
2020-05-11 21:02:22 +00:00
Anders F Björklund e892829155 Missing period character in the error template 2020-05-11 22:38:36 +02:00
Medya Ghazizadeh 12122f7dc6
Merge pull request #8053 from medyagh/arm64_docker_solution
docker/podman solution message for non-amd64 archs
2020-05-11 19:41:31 +00:00
Medya Gh 5a4d3279be address review comments 2020-05-11 12:28:48 -07:00
Medya Ghazizadeh d2ae2b35a0
Merge pull request #8057 from afbjorklund/podman-tar
Don't run the extraction tar container for podman
2020-05-11 19:22:48 +00:00
Medya Ghazizadeh 6b97ee8ee2
Merge pull request #8001 from afbjorklund/podman-start
podman: Wrap the start command with cgroup manager too
2020-05-11 17:59:39 +00:00
Medya Ghazizadeh d89d40c374
Merge pull request #8060 from afbjorklund/podman-cp
The podman cp command is not in podman-remote
2020-05-11 17:55:38 +00:00
Anders F Björklund 16af75ed24 Add fix warning for active podman-env as well 2020-05-11 12:15:22 +02:00
Anders F Björklund c578a7aa1e Add a PointToHost function for podman as well
And add an active variable, similiar to docker
2020-05-10 23:07:12 +02:00
Anders F Björklund 541fb9cf98 The podman cp command is not in podman-remote
So use podman exec stdin/stdout as a workaround.
2020-05-10 18:35:41 +02:00
Medya Ghazizadeh 7e3da0f8b0
Merge pull request #8017 from elegos/podman-volumes-extract-tarball-to-volume
Podman: disable selinux labels when extracting the tarball (permissions error)
2020-05-09 21:35:43 +00:00
Anders F Björklund cac41495cf Don't run the extraction tar container for podman
The preloaded images will be extracted anyway, using ssh.

But if creating them on the volume before the container is
booted, means that /var will not be fully copied over to it.
And without /var/lib/dpkg and others, kicbase will not boot.
So skip the parallel extraction for podman, do it afterwards.

Probably shouldn't mount all of /var, but just a sub-set...
2020-05-09 18:36:56 +02:00
Anders F Björklund 46025eccf5 Use the runCmd wrapper for start to not miss error 2020-05-09 14:07:18 +02:00
Anders F Björklund ac01e92012 Add comment about why podman looks at runtime.GOOS 2020-05-09 14:05:57 +02:00
Anders F Björklund a7a5148ff6 Don't add cgroup manager param for podman-remote
Since it doesn't work for either "run" or "start"

	Error: unknown flag: --cgroup-manager
2020-05-09 14:04:04 +02:00
Anders F Björklund 85fae62d4a Wrap the start command with cgroup manager too
When running with podman, to match the run cmd
2020-05-09 14:04:04 +02:00
Anders F Björklund 1bd56a40cf Don't use cached credentials for sudo podman
We want to verify that "NOPASSWD" has been set up properly

Otherwise the sudo timestamp might time out (after 15 mins)
2020-05-09 13:52:58 +02:00
Anders F Björklund 934ad06a82 Use noninteractive sudo when running podman
To avoid asking for a password in the middle of minikube commands.

The setup process is supposed to involve adding podman to sudoers...
2020-05-09 13:23:46 +02:00
Medya Gh 45acf71459 lint 2020-05-08 19:57:45 -07:00
Medya Gh 24971a5ff5 docker/podman fail on non-amd64 systems 2020-05-08 19:56:38 -07:00
Priya Wadhwa bfef99b63d Copy files directly now that we control kubeadm 2020-05-08 14:12:13 -07:00
Priya Wadhwa 753dc44706 Remove unnecessary function 2020-05-08 13:57:11 -07:00
Priya Wadhwa 6d1d07c857 Remove unnecessary restart 2020-05-08 13:55:30 -07:00
Priya Wadhwa cb4dc30bab Add unit test 2020-05-08 12:49:54 -07:00
Priya Wadhwa ba267702af Merge branch 'master' of https://github.com/kubernetes/minikube into embed-certs 2020-05-08 12:38:02 -07:00
Priya Wadhwa f574852125 make it impossible to enable the kubelet service 2020-05-08 12:37:28 -07:00
Priya Wadhwa 0fa24990c9 Remove Enable(kubelet) from unpause
This way, we won't ever enable kubelet to start when systemd starts, preventing a race condition with `/etc/hosts`
2020-05-08 12:33:45 -07:00
Priya Wadhwa 826fb2bbf3 Restart kubelet after updating config files
This makes sure the kubelet picks up the correct IP
2020-05-08 12:32:27 -07:00
Priya Wadhwa 73d15fc275 Start kubelet after host aliases have been set in /etc/hosts
kubelet manages the value of `/etc/hosts` within running containers (e.g. kube-controller-manager). It takes this file from the host, but this causes a race condition between:

1. Us updating /etc/hosts with aliases on IP changes
1. kubelet starting k8s with current value of /etc/hosts

This change removes automatically starting kubelet when systemd comes up. Instead, we start it immediately after making our updates to `/etc/hosts`
2020-05-08 12:30:06 -07:00
Medya Ghazizadeh 34e833511b
Merge pull request #8027 from tstromberg/quiet-ssh2
virtualbox: Quiet initial ssh timeout warning
2020-05-08 00:00:39 +00:00
Priya Wadhwa 9348667351 Add host alias back after restarting kubelet 2020-05-07 17:00:37 -07:00
Thomas Stromberg 436cee2d84 Fix minikube/kubernetes capitalization, make short help consistent 2020-05-07 14:12:10 -07:00
Priya Wadhwa 80960945af move into separate function 2020-05-07 13:45:34 -07:00
Priya Wadhwa ced1914fed remove unnecessary code 2020-05-07 13:43:03 -07:00
Priya Wadhwa 69a39c100c Add kic 2020-05-07 13:41:37 -07:00