Commit Graph

1515 Commits (1a01b9450cc12dbe664d89f676a441c4762635df)

Author SHA1 Message Date
Thomas Stromberg 63954700d7 Address review comments 2020-02-06 17:32:08 -08:00
Thomas Stromberg 4ba0f52f57 Add flag to toggle installation of addons 2020-02-06 17:29:19 -08:00
Thomas Stromberg 5d59e83b64 Rewrite unsetScript to fix a variety of bugs 2020-02-06 17:01:05 -08:00
Thomas Stromberg 0cac457126 Transition TestGetNodeDockerEnvIPv6 to env_test 2020-02-06 16:05:05 -08:00
Thomas Stromberg 6e19c62896 Update tests to include all current output quirks 2020-02-06 15:54:57 -08:00
Thomas Stromberg b478fbaa1a Minimize changes 2020-02-06 15:40:24 -08:00
Thomas Stromberg 32bc0ff76a Refactor docker-env for testability 2020-02-06 15:32:00 -08:00
Sharif Elgamal f6f8b503c4 fill in cmd code 2020-02-06 13:38:42 -08:00
Priya Wadhwa 6ef60c1964 Add warnings back in 2020-02-06 13:27:49 -08:00
Priya Wadhwa 59ab0ba89e Fix lint errors 2020-02-06 10:11:38 -08:00
Thomas Stromberg 9c70693e40 Revert whitespace change in docker-env output 2020-02-06 07:04:51 -08:00
Sharif Elgamal eded9a17e1
Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-02-05 17:39:54 -08:00
Sharif Elgamal 8d365fcb03
shuffling stuff around for import purposes 2020-02-05 17:39:47 -08:00
Priya Wadhwa 091db5ddb6 Remove kubeadm pull images 2020-02-05 16:23:19 -08:00
Thomas Strömberg 2ecc120b2b
Merge pull request #6503 from tstromberg/faster-dryrun
Skip driver autodetection if driver is already set
2020-02-05 13:48:42 -08:00
tstromberg 7c301ec27b Merge branch 'master' into faster-dryrun 2020-02-05 12:05:43 -08:00
Thomas Strömberg 0d29a2ac7b
Merge branch 'master' into f-fix-5144 2020-02-05 11:32:32 -08:00
Sharif Elgamal 6d59d9d7df
Merge pull request #6200 from laozc/node-name
Use profile name as cluster/node name
2020-02-05 11:27:35 -08:00
Thomas Stromberg 80c0183f3d Skip driver autodetect if driver is already set 2020-02-05 10:48:04 -08:00
Thomas Strömberg 8eb91989a9
Merge pull request #6492 from medyagh/obvious_denv
improve "docker-env" command to point to correct docker
2020-02-05 10:02:35 -08:00
Thomas Strömberg 4dda226e86
Merge pull request #6483 from karolz-ms/dev/karolz/azure-cr
Add Azure Container Registry support
2020-02-05 10:01:59 -08:00
Thomas Strömberg 5795b7f312
Merge branch 'master' into obvious_denv 2020-02-05 08:14:56 -08:00
Thomas Strömberg 0bd4099cfc
Merge pull request #5678 from priyawadhwa/compare
[mkcmp] add code to time `minikube start` for each binary
2020-02-04 20:49:59 -08:00
Thomas Strömberg 37fb10415b
Merge pull request #6237 from tstromberg/ssh-verify
Support --force for overriding the ssh check
2020-02-04 20:49:07 -08:00
Sharif Elgamal dc0be4aed6
Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-02-04 17:29:31 -08:00
Medya Gh 12e53f4d1f fix unit tests 2020-02-04 16:45:27 -08:00
Medya Gh 435010a3fc pass profilename for testability 2020-02-04 16:35:51 -08:00
Jose Donizetti eda1c76fe5 add kic tunnel (alpha) 2020-02-04 21:33:56 -03:00
Medya Gh c86b20ade2 add option to exec runner to point to host docker daemon 2020-02-04 15:33:04 -08:00
Sharif Elgamal 2d2b60f95b
fix lint 2020-02-04 15:12:55 -08:00
Sharif Elgamal f41a10a98f
Fix up some unit tests 2020-02-04 15:01:40 -08:00
Medya Gh f6c7048392 use constants instead of hardcode 2020-02-04 13:30:23 -08:00
Medya Gh 3937bae269 add new env var for docker-env command 2020-02-04 13:25:22 -08:00
Thomas Strömberg a50ebb8c03
Merge pull request #6481 from medyagh/k_nslookup
try nslookup both ways
2020-02-04 06:59:48 -08:00
Medya Gh 718ab997d5 spell 2020-02-03 17:11:35 -08:00
Priya Wadhwa 4f6deaf5dc Rebased on master 2020-02-03 16:31:11 -08:00
Thomas Strömberg 3f939af4b4
Merge branch 'master' into addons-startup2 2020-02-03 16:17:33 -08:00
Karol Zadora-Przylecki 4a4e7b7859 Add Azure Container Registry support 2020-02-03 16:10:18 -08:00
Medya Gh b4c1db6e14 change wording VM to node 2020-02-03 15:11:12 -08:00
Medya Gh 38a4a4ab8b more inclusive nslookup 2020-02-03 15:09:25 -08:00
tstromberg 04df96880e Merge branch 'master' into none-paused 2020-02-03 13:49:21 -08:00
tstromberg bcc186b908 Startup previously enabled addons 2020-02-03 10:49:40 -08:00
Zhongcheng Lao f59a2891eb
Merge remote-tracking branch 'origin/master' into node-name 2020-02-03 19:16:57 +08:00
Thomas Stromberg af2060a858 Move kubeconfig down as we cannot get an IP if host is down 2020-01-31 19:24:30 -08:00
Thomas Stromberg edbe92fb01 Re-arrange status calls to extract maximum information without being confusing 2020-01-31 19:15:58 -08:00
Thomas Stromberg 1176aa468f More status logging 2020-01-31 19:00:59 -08:00
Thomas Stromberg 6760929a72 Add logging of non-nil errors 2020-01-31 18:36:38 -08:00
Thomas Stromberg eee5788ab3 Make deletion output more terse 2020-01-31 17:08:27 -08:00
Thomas Stromberg ab93b27a70 Merge branch 'master' into none-paused 2020-01-31 16:38:00 -08:00
Thomas Strömberg e206b25da5
Merge pull request #6440 from tstromberg/addons-on-startup
Add addon enablement to start
2020-01-31 16:25:30 -08:00
Thomas Stromberg dd4ad10b83 Improve handling of paused none clusters. 2020-01-31 16:23:25 -08:00
Thomas Stromberg 40f2f7c28d Promote Infofs to errors/warnings 2020-01-31 16:23:07 -08:00
Thomas Stromberg b3149a1031 Allow 'profiles list' to work even if a profile has no control plane 2020-01-31 16:23:07 -08:00
Thomas Stromberg 7ebd01e113 Remove extra } 2020-01-31 14:55:24 -08:00
Thomas Stromberg 65fec571a5 Merge branch 'master' into ssh-verify 2020-01-31 14:53:13 -08:00
Thomas Stromberg 9b5044bfb2 Skip trySSH entirely if --force is set 2020-01-31 14:53:04 -08:00
Thomas Strömberg 15c6a8a028
Merge pull request #6450 from tstromberg/control-plane-err
Allow 'profiles list' to work even if a profile has no control plane
2020-01-31 14:43:12 -08:00
Thomas Strömberg 02902f7f4f
Merge pull request #6438 from tstromberg/nonexistent-status
status: Explicitly state that the cluster does not exist
2020-01-31 14:38:49 -08:00
Thomas Strömberg 723b074f65
Merge pull request #6409 from medyagh/plist_cr_info
add container runtime info to profile list
2020-01-31 14:38:25 -08:00
Thomas Stromberg 7d65ca31de Promote Infofs to errors/warnings 2020-01-31 14:35:03 -08:00
Thomas Stromberg 3ebbe4f1fc Allow 'profiles list' to work even if a profile has no control plane 2020-01-31 14:32:54 -08:00
Thomas Stromberg c3aafaeeb4 Add IsNotExist() method to the config package, so that we can have meaningful error messages and make them comparable 2020-01-31 14:19:08 -08:00
Priya Wadhwa d9860b1eb7 Update spacing 2020-01-31 12:58:53 -08:00
Thomas Stromberg c8f5679986 Run gofmt/goimports on cmd/ 2020-01-31 12:38:06 -08:00
Thomas Stromberg 78ed12265d Add testing for Start function, make addon enablement testable 2020-01-31 12:19:25 -08:00
Priya Wadhwa 6cd3b41bc8 Fix spacing in vm driver selection log 2020-01-31 11:43:18 -08:00
Thomas Stromberg ce68dd19b6 Merge branch 'master' into addons-on-startup 2020-01-31 08:23:21 -08:00
tstromberg b97124207c Move addon enablement to addons module + lint fixes 2020-01-30 17:46:25 -08:00
Kim Bao Long fefa13e9da Remove some redundance words
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
2020-01-31 08:25:27 +07:00
Medya Gh 41687346e3 make it less than 80 2020-01-30 16:06:27 -08:00
tstromberg d5a83c7b24 Add addon enablement to start 2020-01-30 15:54:04 -08:00
tstromberg 6bd48a86c9 Explicitly say that a cluster is nonexistent 2020-01-30 14:41:45 -08:00
Thomas Strömberg 4309de6e8e
Merge pull request #6431 from tstromberg/missing-status-test
Add missing status test
2020-01-30 13:05:39 -08:00
Thomas Stromberg d454148990 Add missing status test 2020-01-30 10:16:43 -08:00
Sharif Elgamal 3cbe879d7e
node add works 2020-01-30 09:02:01 -08:00
Sharif Elgamal 593d3fc73e moving packages around 2020-01-28 17:09:00 -08:00
Medya Gh 178a3a256f add container runtime info to profile list 2020-01-28 16:40:53 -08:00
Sharif Elgamal 317dd41138
moving node package around 2020-01-27 17:59:35 -08:00
Sharif Elgamal 8db7f59b1e
Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-01-24 16:08:22 -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 82e096a7a1
Merge pull request #6390 from medyagh/kic_bindip
kic driver: add multiple profiles and ssh
2020-01-24 15:45:51 -08:00
Medya Gh c6c0046c57 let docker/podman choose hostbind port 2020-01-24 14:15:48 -08:00
Sharif Elgamal c4e390f95c
missed one file 2020-01-24 13:57:47 -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
Sharif Elgamal ad03309ab6 Adding the initial node cmd and pkg files 2020-01-24 11:40:27 -08:00
Sharif Elgamal 9953cc2250
GetMasterNode -> MasterNode 2020-01-24 11:14:55 -08:00
Sharif Elgamal dbeac1b08c
KubernetesConfig.ContainerRuntime 2020-01-24 10:53:18 -08:00
Sharif Elgamal 77d838d3d2
Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-24 10:50:57 -08:00
Thomas Stromberg a9bc13b403 Address pause code review feedback 2020-01-23 15:44:30 -08:00
Sharif Elgamal 6a01d6b25b prefer getting master node over calling Nodes[0] 2020-01-23 13:26:50 -08:00
Sharif Elgamal 791f28ff4c things work now 2020-01-23 13:21:21 -08:00
Sharif Elgamal 8b2a05a565 Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-22 17:18:30 -08:00
tstromberg 1a13055d00 Add integration tests 2020-01-22 15:50:09 -08:00
tstromberg 22de8c110a Return the number of containers paused 2020-01-22 15:07:44 -08:00
tstromberg 62a72f44e8 Address feedback 2020-01-22 14:21:34 -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 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 7e2e9eb15b Merge conflicts 2020-01-21 20:00:21 -08:00
Thomas Stromberg 7f3351476c Merge upstream 2020-01-21 19:50:49 -08:00
Thomas Stromberg be65e4c2ad Merge upstream 2020-01-21 19:46:42 -08:00
Medya Gh 5a3c13815e network overlay only for kic 2020-01-21 15:14:51 -08:00
Medya Ghazizadeh e3bd383d64
Merge pull request #6255 from afbjorklund/kubectl-examples
Fix syntax of minikube kubectl example command
2020-01-20 19:36:05 -08:00
Medya Ghazizadeh e0a8b7dba8
Merge pull request #6325 from afbjorklund/dashboard-crash
Stop minikube dashboard from crashing at start
2020-01-20 19:34:18 -08:00
Anders F Björklund a681f1f00f Remove stray space from driver selection message 2020-01-20 21:18:34 +01:00
Zhongcheng Lao 6b0c69986f
Merge remote-tracking branch 'origin' into node-name 2020-01-18 08:09:51 +08:00
Sharif Elgamal 774bd5f174
Merge branch 'm2' of github.com:sharifelgamal/minikube into m2 2020-01-17 15:45:11 -08:00
Sharif Elgamal df3dc976b0
let's actually save the node config 2020-01-17 15:44:56 -08:00
Medya Gh 0b2d8051bb remove kicbs 2020-01-17 15:44:22 -08:00
Sharif Elgamal 01f6cefd2a
Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-17 13:28:53 -08:00
Nanik T 9b455aafc4 Customizing host path for dynamically provisioned PersistentVolumes
This fix contains few things:

* Used k8s.gcr.io/debian-base-amd64:v2.0.0 as base image to build storage-provisioner
* Modify RBAC permission used to cluster-admin
* Build storage-provisioner as static binary
2020-01-16 12:23:26 +11:00
Sharif Elgamal 010d0d4091
adding experimental string to driver detection string 2020-01-15 16:22:48 -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
Anders F Björklund b7f3ff7ead Stop minikube dashboard from crashing at start
If the profile does not exist, it cannot load
2020-01-15 21:32:40 +01:00
Sharif Elgamal 804ee14a95 removing node surface stuff for a different PR 2020-01-15 11:36:36 -08:00
Sharif Elgamal dc6c9d7d75
cfg config fun 2020-01-14 16:49:13 -08:00
Sharif Elgamal 2c301bd4ef
more node changes yay 2020-01-14 14:25:20 -08:00
Sharif Elgamal 2813cf4120
Merge branch 'master' of github.com:sharifelgamal/minikube into m2 2020-01-14 13:44:40 -08:00
Anders F Björklund 71b561e344 Add note to remember to end the minikube flags
And add some whitespace before the next section
2020-01-14 18:22:45 +01:00
Medya Gh f645850842 add example to tunnel help 2020-01-13 16:16:36 -08:00
Medya Ghazizadeh 8718a54d91
Merge pull request #6256 from tstromberg/dry-run
Add --dry-run option to start
2020-01-13 13:37:15 -08:00
Medya Ghazizadeh 2e3d3e0add
Merge pull request #6274 from medyagh/add_table
Improve "addon list" by viewing as a table
2020-01-13 12:54:51 -08:00
Medya Ghazizadeh f5ce7d9e74
Merge pull request #6292 from afbjorklund/profile-version
Handle empty k8s version in existing profile
2020-01-13 12:50:14 -08:00
Medya Ghazizadeh 13e2a3e601
Merge pull request #6276 from tstromberg/qemu-system
Pass --kvm-qemu-uri value into kvm2 health check
2020-01-13 11:16:07 -08:00
Anders F Björklund 94b03ff881 Handle empty k8s version in existing profile 2020-01-13 18:33:59 +01:00
tstromberg 1085d47a24 Pass in the value of *kvmQemuURI for behavioral consistency 2020-01-10 16:07:07 -08:00
Medya Gh 6c7cadb371 make minikube addons list tabular 2020-01-10 15:39:22 -08:00
Medya Ghazizadeh 75082b6f7e
Merge pull request #6242 from afbjorklund/platform-arch
Only print the virtualization system if it exists
2020-01-10 10:39:26 -08:00
Medya Ghazizadeh 19c8ddee9f
Merge pull request #6151 from medyagh/kic_exp
Experimental verison of kic
2020-01-10 00:42:01 -08:00
Thomas Stromberg b840d1ced0 Call goimports 2020-01-09 11:58:15 -08:00
Thomas Stromberg 7acf688f7a Merge master 2020-01-09 11:13:25 -08:00
Thomas Stromberg c5e917366f Add --dry-run option to start 2020-01-09 11:10:23 -08:00
Anders F Björklund 3207b27c11 Fix syntax of minikube kubectl example command
Need to terminate the minikube flags with --,
before starting with the kubectl command flags.
2020-01-09 19:52:58 +01:00
Zhongcheng Lao 4a1f33e282
Adds cluster name to kubenetes config
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2020-01-09 20:00:40 +08:00
Zhongcheng Lao 0512882520
Do not set host-override for kubelet by default
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2020-01-09 19:52:30 +08:00
Medya Gh 40a011c49a use api port for host binding port 2020-01-08 16:09:24 -08:00
Medya Gh cf9e6e512f fix ineffectual assignment 2020-01-08 15:21:57 -08:00
Anders F Björklund 039f53144a Only print the virtualization system if it exists
Avoids output like (/arm64), with an extra slash
2020-01-08 23:06:59 +01:00
Medya Gh ddf5ab027a add extra option fail swap for kic 2020-01-08 12:53:29 -08:00
tstromberg 5d8e9dbfc5 Support --force for overriding the ssh check 2020-01-08 11:23:15 -08:00
Zhongcheng Lao f46e11f14a
Fixes busybox nslookup does not support queryt type
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2020-01-08 22:31:45 +08:00
Zhongcheng Lao be7b52791a
Remove unused var
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2020-01-08 15:41:07 +08:00
Zhongcheng Lao 96398c73ad
Merge remote-tracking branch 'origin/master' into node-name 2020-01-08 14:45:21 +08:00
Zhongcheng Lao d3ff888743
Use profile name as the node name
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2020-01-08 14:42:17 +08:00
Medya Gh f80572bb4c code review 2020-01-07 13:59:41 -08:00
Medya Gh 618b150bcd fix setup kubeconfig for kic 2020-01-07 13:54:00 -08:00
Medya Gh d298593d8a refactor api server verification 2020-01-07 13:54:00 -08:00