Commit Graph

2492 Commits (435010a3fc229496afa028fbce89beff9a290a08)

Author SHA1 Message Date
tstromberg b97124207c Move addon enablement to addons module + lint fixes 2020-01-30 17:46:25 -08:00
Medya Gh e7fa3e0448 remove duplicate profile names 2020-01-30 17:11:11 -08:00
Medya Gh 5b055d7ff8 add comment 2020-01-30 16:57:53 -08:00
Medya Gh 58b637b05f delete all cleans up stale kic profiles 2020-01-30 16:42:14 -08:00
Medya Gh 8e0ffdf1cf resolve conflict 2020-01-30 16:20:55 -08:00
tstromberg d5a83c7b24 Add addon enablement to start 2020-01-30 15:54:04 -08:00
Medya Ghazizadeh 4bf3fc422a
Add docker run-time for kic driver (#6436)
* Add docker container run time for kic
2020-01-30 14:30:04 -08:00
Thomas Strömberg eeb867f387
Merge pull request #6243 from afbjorklund/coredns-arch
Do not use an arch suffix for the coredns name
2020-01-30 14:23:40 -08:00
Thomas Strömberg 50c32d2d08
Merge pull request #6380 from akshaysu12/UpdateRegistryCredsCreateSecret
Prevent registry-creds configure from failing when a secret does not exist.
2020-01-30 14:07:27 -08:00
tstromberg a1d291fd0d Handle cert symlinks that point to a nonexistent file 2020-01-30 11:59:47 -08:00
Thomas Strömberg 775186b3ef
Add a 2-second timeout to driver detection commands (#6422) 2020-01-29 16:12:18 -08:00
Medya Ghazizadeh e725104e2f
improve checking modprob netfilter (#6427) 2020-01-29 14:47:23 -08:00
Medya Ghazizadeh d99007f201
Merge pull request #6322 from chancez/metrics_listen_addrs
Configure etcd and kube-proxy metrics to listen on minikube node IP
2020-01-28 20:33:02 -08:00
akshay 2ba3116254 Update create secret in service so registry creds add on does not fail when a secret does not exist. 2020-01-28 07:15:38 -08:00
Medya Gh b3404a70e6 patch node refactor for kic 2020-01-24 19:03:50 -08:00
Sharif Elgamal de0573784e
ok it builds again 2020-01-24 16:01:14 -08:00
Sharif Elgamal 9a49c587d5
Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-24 15:54:04 -08:00
Thomas Strömberg 892cfb8514
Merge pull request #6385 from tstromberg/faster-docker
Batch file manipulation calls to reduce number of redundant commands
2020-01-24 15:47:44 -08:00
Thomas Strömberg d8a5714b00
Merge pull request #6392 from tstromberg/v1.17.2-simple-bump
Update DefaultKubernetesVersion to v1.17.2
2020-01-24 15:46:21 -08:00
Thomas Strömberg 82e096a7a1
Merge pull request #6390 from medyagh/kic_bindip
kic driver: add multiple profiles and ssh
2020-01-24 15:45:51 -08:00
Sharif Elgamal 5c906d33f3
fix unit tests 2020-01-24 15:03:27 -08:00
Medya Gh 7cf8ed1edc lint 2020-01-24 14:52:27 -08:00
Medya Gh ba3965b076 specify SSH username 2020-01-24 14:42:28 -08:00
Medya Gh 83dd9fc4ff Bump kic base image for ssh 2020-01-24 14:20:49 -08:00
Medya Gh c6c0046c57 let docker/podman choose hostbind port 2020-01-24 14:15:48 -08:00
tstromberg 9aeae2df65 Fix tests 2020-01-24 13:57:07 -08:00
Sharif Elgamal 58ba813a9c
controlplane and worker are bools now magiiiiic 2020-01-24 13:54:41 -08:00
Sharif Elgamal 0b460e6cb7
master is no longer a thing 2020-01-24 13:24:38 -08:00
tstromberg dd4a089fa1 Merge branch 'faster-docker' of github.com:tstromberg/minikube into faster-docker 2020-01-24 13:21:04 -08:00
Thomas Stromberg 41709d2bb8 Merge branch 'master' into faster-docker 2020-01-24 13:20:33 -08:00
tstromberg 2e24d7a123 Combine error conditions 2020-01-24 13:08:26 -08:00
tstromberg 817da0e884 Merge branch 'master' into faster-docker 2020-01-24 11:59:26 -08:00
tstromberg c43aea690d Update DefaultKubernetesVersion to v1.17.2 2020-01-24 11:58:23 -08:00
Sharif Elgamal 0681830be4
io.ReadSeeker for all the Assets readers 2020-01-24 11:55:59 -08:00
Sharif Elgamal 9953cc2250
GetMasterNode -> MasterNode 2020-01-24 11:14:55 -08:00
Sharif Elgamal 77d838d3d2
Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-24 10:50:57 -08:00
tstromberg 35f1e58583 Merge conflict 2020-01-24 10:40:26 -08:00
Medya Gh 2bd169f508 add config fields for kic SSH and API ports 2020-01-23 23:51:41 -08:00
Medya Gh ca0f4c7e20 generate ssh keys for kic container 2020-01-23 19:20:44 -08:00
Medya Gh 09d9d05c6b generate ssh certs for kic during creation 2020-01-23 18:43:26 -08:00
Medya Gh 3d5c9ae870 implement SSHPortName for kic 2020-01-23 18:28:32 -08:00
Medya Gh 1e05b11703 Add ssh to kic image 2020-01-23 18:24:51 -08:00
Medya Gh 773510b9c1 Add ssh to kic container image 2020-01-23 17:45:50 -08:00
Medya Gh 5191659ff2 bind ip use const instead of string 2020-01-23 17:28:30 -08:00
Thomas Stromberg a9bc13b403 Address pause code review feedback 2020-01-23 15:44:30 -08:00
Thomas Stromberg a8d3ef580b Merge branch 'pause' of github.com:tstromberg/minikube into pause 2020-01-23 15:06:37 -08:00
Sharif Elgamal fa4322e89a remove all references to MachineConfig.ContainerRuntime 2020-01-23 13:50:31 -08:00
Sharif Elgamal 6a01d6b25b prefer getting master node over calling Nodes[0] 2020-01-23 13:26:50 -08:00
Sharif Elgamal de3caceccb Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-23 13:21:38 -08:00
Sharif Elgamal 791f28ff4c things work now 2020-01-23 13:21:21 -08:00
Thomas Stromberg e9f6aa106f test fixing 2020-01-23 12:53:33 -08:00
Thomas Stromberg 412e78e54c minimize the number of commands executed 2020-01-23 11:11:28 -08:00
Thomas Stromberg a20942ff2d Merge branch 'master' into pause 2020-01-23 07:46:44 -08:00
Sharif Elgamal d7ea60d610 fix up tests for new config format 2020-01-22 18:49:58 -08:00
Sharif Elgamal 8b2a05a565 Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-22 17:18:30 -08:00
Thomas Strömberg 5fa7935571
Merge pull request #6376 from priyawadhwa/fix-dashboard
Fix dashboard by using kubectl apply/delete instead of prune for addons
2020-01-22 16:03:18 -08:00
tstromberg 1a13055d00 Add integration tests 2020-01-22 15:50:09 -08:00
Priya Wadhwa 49b0cb1c9c create dashboard ns first so that everything else can be created after 2020-01-22 15:16:56 -08:00
Priya Wadhwa 8d8ea98378 check cmd.Remove error for linting 2020-01-22 15:11:33 -08:00
tstromberg 22de8c110a Return the number of containers paused 2020-01-22 15:07:44 -08:00
tstromberg b81960e37c Fix none driver 2020-01-22 14:28:18 -08:00
Priya Wadhwa 15a5209841 Update unit tests 2020-01-22 14:23:32 -08:00
tstromberg dccc41748b Merge branch 'master' into pause 2020-01-22 14:18:32 -08:00
Priya Wadhwa 7247a7dee6 Switched to using kubectl apply and kubectl delete for addons
kubectl apply with --prune wasn't working because it requires the
--namespace flag to be passed in and we have multiple namespaces for
addons.

We tried to split up addons within /etc/kubernetes/addons by
namespace, but this didn't work when disabling dashboard addon because
there were no files left in the kubernetes-dashboard subdirectory. So,
kubectl apply complained when trying to prune dashboard because no files
were being passed in.

So, I ended up removing all dependencies on prune and instead running
`kubectl apply` when enabling an addon and running `kubectl delete` when
disabling an addon.
2020-01-22 14:18:20 -08:00
tstromberg c83ee09417 Update Kubernetes libraries to v1.17.2 2020-01-22 14:10:53 -08:00
tstromberg 50cd0dbfba First stab at freezer checks 2020-01-22 13:55:01 -08:00
Medya Ghazizadeh 98ff78a762
Merge pull request #6266 from sshukun/improve-doc
Fix typo and improve documents
2020-01-22 13:15:51 -08:00
Priya Wadhwa de4ecb9706 Rebased on master 2020-01-22 13:10:50 -08:00
Priya Wadhwa 180b23f2c8 Save addons in subdirectories, separated by namespace
This way we can pass the correct --namespace flag into 'kubectl apply'
such that it works with '--prune' for kubectl >=v.17.0
2020-01-22 13:09:37 -08:00
Thomas Strömberg 1af9d83cd1
Merge pull request #6369 from priyawadhwa/refactor-crio
Remove unnecessary crio restart to improve start latency
2020-01-22 12:19:30 -08:00
Thomas Strömberg 6753c71b37
Merge pull request #6334 from priyawadhwa/remove-addon-manager
Remove addon manager
2020-01-22 12:19:17 -08:00
Medya Ghazizadeh abfcf79dfd
Merge pull request #6236 from tstromberg/image-panic
Check for nil ref and img before passing them into go-containerregistry
2020-01-22 12:06:36 -08:00
Priya Wadhwa 43259cc363 Reorganize buildroot.go by container runtime and remove unnecessary "sudo systemctl restart crio" to save time on 'minikube start' 2020-01-22 11:00:10 -08:00
Thomas Stromberg 5f0420f72e Merge branch 'master' into pause 2020-01-22 09:48:26 -08:00
Thomas Stromberg e6999caea3 Add paused state to apiserver status 2020-01-22 09:48:16 -08:00
Thomas Strömberg 8562d1c82d
Merge pull request #6362 from medyagh/kic_del
implement remove file for kic runner
2020-01-22 06:04:21 -08:00
Thomas Stromberg 09b2780fb2 Add support for pausing/unpausing specific namespaces 2020-01-21 22:06:05 -08:00
Medya Ghazizadeh 875c4b2d76
Merge pull request #6338 from medyagh/unify_boots
unify bootstrappers for both VM and contianer
2020-01-21 20:34:17 -08:00
Thomas Stromberg 0f40eef9a7 Merge conflicts 2020-01-21 20:06:03 -08:00
Thomas Stromberg a4add4ccbc Merge conflicts 2020-01-21 20:02:38 -08:00
Thomas Stromberg 7e2e9eb15b Merge conflicts 2020-01-21 20:00:21 -08:00
Thomas Stromberg be65e4c2ad Merge upstream 2020-01-21 19:46:42 -08:00
Thomas Stromberg 7fe786aca4 Merge upstream 2020-01-21 19:46:05 -08:00
Medya Gh 6ca7b74f8a implement reomve file for kic runner 2020-01-21 17:39:06 -08:00
Medya Gh 5a3c13815e network overlay only for kic 2020-01-21 15:14:51 -08:00
Medya Gh 7d07d0d61b ignore iptables for kic 2020-01-17 15:44:22 -08:00
Medya Gh 0b2d8051bb remove kicbs 2020-01-17 15:44:22 -08:00
Anders F Björklund 1c3e309c7a Merge branch 'master' into crio-conf 2020-01-17 23:46:48 +01:00
Medya Gh b63212eacf patch cgroup pr 2020-01-17 14:04:48 -08:00
Priya Wadhwa 28148c5f3d Remove addon manager 2020-01-16 11:47:01 -08:00
Sharif Elgamal e520566ec7 Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-16 11:39:56 -08:00
priyawadhwa d310331b9d
Merge pull request #6046 from priyawadhwa/remove-addon-manager
Remove polling from addon manager
2020-01-16 11:32:30 -08:00
Sharif Elgamal b225e8ec86
Merge pull request #6326 from sharifelgamal/exp
add the ability to mark drivers as experimental
2020-01-15 17:29:13 -08:00
Sharif Elgamal d0fb749842
add displaysupporteddrivers func 2020-01-15 16:03:37 -08:00
Sharif Elgamal a13ea9bea0
add the ability to mark drivers as experimental and mark the docker driver as such 2020-01-15 15:21:47 -08:00
Medya Ghazizadeh 6c45d66d84
Merge pull request #6287 from afbjorklund/cgroup-driver
Use CGroupDriver function from cruntime for kubelet
2020-01-15 14:46:31 -08:00
Chance Zibolski ca007f414b pkg/minikube: Update test fixtures to contain updated metrics listen addresses 2020-01-15 14:02:28 -08:00
Chance Zibolski 44c7c48d3e pkg/minikube: Configure etcd and kube-proxy metrics to listen on minikube node IP 2020-01-15 11:52:43 -08:00
Sharif Elgamal 804ee14a95 removing node surface stuff for a different PR 2020-01-15 11:36:36 -08:00
Sharif Elgamal f0372edff6
ok at least things build now 2020-01-15 10:59:30 -08:00