Commit Graph

3775 Commits (d89d40c37454e66856a49784239a50c59b7e3437)

Author SHA1 Message Date
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
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
Priya Wadhwa 8ac42815aa Restart kubelet if soft start 2020-05-07 13:40:26 -07:00
Priya Wadhwa 163ab88408 Restart kubelet in a function that is called on soft start 2020-05-07 13:22:09 -07:00
Priya Wadhwa a353d564dd Add comments 2020-05-07 13:03:07 -07:00
Priya Wadhwa c037a97392 Restart kubeadm on soft `minikube start`
This should resolve a race condition in which the expected node IP and the ip passed into kubelet are different.

This should fix the embed-certs integration test which has been flaky for a while.
2020-05-07 12:59:55 -07:00
Thomas Stromberg 68cd6f96db Merge branch 'master' into quiet-ssh2 2020-05-07 11:30:31 -07:00
Medya Ghazizadeh 269b938945
Merge pull request #8022 from tstromberg/better-restart
restart: validate configs with new hostname, add logging
2020-05-07 18:12:52 +00:00
Thomas Stromberg 32e4e64bc4 Quiet initial ssh timeout message 2020-05-06 17:58:21 -07:00
Giacomo Mr. Wolf Furlan 9c43c47b06 Podman: disable selinux labels when extracting the tarball to prevent permission errors 2020-05-07 02:09:09 +02:00
Thomas Stromberg e9eabf1bda Log an error if we can't read the response body 2020-05-06 15:55:49 -07:00
Thomas Stromberg 7de8ae3f54 Log existing configuration files, fix validateStartNoReset test 2020-05-06 15:25:27 -07:00
Thomas Stromberg 55cbbd3e4c Remove test panic 2020-05-06 14:47:56 -07:00
Thomas Stromberg d31a4bd561 Fix cluster reconfiguration issues, improve behavior 2020-05-06 14:39:15 -07:00
Sharif Elgamal 464d4259ce assign proper internal IPs for nodes 2020-05-06 09:35:48 -07:00
Priya Wadhwa ec74a37e9c Add env variable to configure force-systemd
Also add an integration test for the env variable
2020-05-05 12:10:03 -07:00
Medya Ghazizadeh ca5353742e
Merge pull request #7943 from medyagh/kicbase_gh_package
docker/podman: add alternative image repo for base image to fallback
2020-05-04 23:12:28 +00:00
Medya Gh 041a452a16 add todo comment 2020-05-04 15:22:50 -07:00
Thomas Strömberg 250594d83d
Merge pull request #7998 from tstromberg/no-ssh-test
Remove sshutil_test - it offers no value
2020-05-04 14:43:08 -07:00
Thomas Strömberg d363ca9dd7
Merge pull request #7999 from tstromberg/addon-retry-more
addons: fix initial retry delay, double maximum limit
2020-05-04 14:36:40 -07:00
Medya Gh 0189b10624 improve log 2020-05-04 13:47:07 -07:00
Medya Gh 7654c1b058 address review comments 2020-05-04 13:22:48 -07:00
Medya Gh 1ee8cabd6f add TODO with issue link 2020-05-04 13:12:50 -07:00
Medya Gh 7914d057d1 fall back to github if gcr.io is not available 2020-05-04 13:12:50 -07:00
Medya Ghazizadeh 6eeb929b3d
Merge pull request #7962 from afbjorklund/podman-gateway
Get the gateway by inspecting container network
2020-05-04 20:05:56 +00:00
Medya Ghazizadeh 1da92a1c84
Merge pull request #7961 from afbjorklund/podman-preload
Use the correct binary for unpacking the preload
2020-05-04 20:04:19 +00:00
Medya Ghazizadeh e0685c8f5d
Merge pull request #7984 from medyagh/detect_windows_container
Detect windows container and exit with instructions
2020-05-04 20:01:17 +00:00
Thomas Stromberg 6969200dd7 addons: fix initial retry delay, double maximum limit 2020-05-04 12:44:30 -07:00
Thomas Stromberg 4eef342690 Remove sshutil_test - it offers no value 2020-05-04 12:31:15 -07:00
Anders F Björklund cc6506d2c9 Remove logging statement from containerGateway 2020-05-03 09:42:32 +02:00
Medya Gh 85aa9709da lint 2020-05-02 20:30:50 -07:00
Medya Gh f68f45a30a flip debug if 2020-05-02 20:20:58 -07:00