Zhou Hao
ae61e56594
pkg/drivers/kic/oci: fix Status info
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2019-12-30 15:21:03 +08:00
Zhou Hao
aa52255be0
pkg/drivers/kic/oci: delete TODO info
...
When the docker exit status is 125, it is not entirely certain that it is caused by duplicate names.There may also be other errors.
e.g:
➜ minikube git:(oci-remove-todo) ✗ docker run -itzz
unknown shorthand flag: 'z' in -zz
See 'docker run --help'.
➜ minikube git:(oci-remove-todo) ✗ echo $?
125
So delete this TODO info.
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2019-12-30 14:43:11 +08:00
Medya Ghazizadeh
df9cac8f94
Merge pull request #6154 from fenglixa/add-istio
...
Add istio addon for minikube
2019-12-27 11:54:44 -08:00
fenglixa
c2ba574f2e
generate istio document page and layout
2019-12-26 14:35:13 +08:00
Medya Ghazizadeh
ce4b9503ae
Merge pull request #6137 from q384566678/add-constants-test
...
Add constants_test
2019-12-23 01:13:50 -08:00
Medya Gh
d5f56477bc
code review resolve
2019-12-20 17:14:14 -08:00
Medya Gh
3b2cfa6c32
rename funcs
2019-12-20 16:53:35 -08:00
Medya Gh
83cd426436
refactor more
2019-12-20 16:11:05 -08:00
Medya Gh
cf6bde8eaf
refactor image specific funcs to image package
2019-12-20 16:05:08 -08:00
Medya Gh
cde5503d3e
add two mechanism to find local image digest
2019-12-20 14:09:18 -08:00
Medya Gh
9d03e56ece
resolve merge conflict
2019-12-20 12:44:09 -08:00
Medya Gh
be8a1ad107
resolve code reviews
2019-12-20 12:43:13 -08:00
Priya Wadhwa
6c25cd3848
Rebased on master
2019-12-20 12:34:48 -08:00
Medya Gh
5eb384cf7d
check error and fix logging msg
2019-12-20 12:24:05 -08:00
Medya Gh
502f3b7f8f
use docker cli lib to get image id
2019-12-20 12:18:55 -08:00
Medya Gh
4d9e53389a
improve logging
2019-12-20 12:12:48 -08:00
Medya Gh
2d1fffe1d1
better names
2019-12-20 12:06:26 -08:00
Medya Gh
679a9c114b
more clear func names
2019-12-20 12:06:26 -08:00
Medya Gh
71a896fc0a
unexport func cacheImage
2019-12-20 12:06:25 -08:00
Medya Ghazizadeh
031126b358
Merge pull request #6112 from medyagh/kic_start_xmas
...
kic-xmas edition
2019-12-20 11:40:46 -08:00
Zhou Hao
2167655006
add unit test for GetDNSIP
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2019-12-20 17:32:50 +08:00
Zhou Hao
6a5497510a
add unit test for GetServiceClusterIP
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2019-12-20 17:27:24 +08:00
Medya Gh
f9e7a54eb8
rename kicdocker to docker
2019-12-20 01:26:38 -08:00
Medya Gh
f39ba0deb0
add unit test for feature gate supports
2019-12-20 01:17:33 -08:00
Medya Gh
1014a57ea8
better names for bs type
2019-12-20 01:01:10 -08:00
tstromberg
cae166e74c
Merge branch 'master' into advice-refresh
2019-12-19 16:23:25 -08:00
tstromberg
f438bb7ec8
Merge branch 'master' into less-catastrophic
2019-12-19 16:15:47 -08:00
tstromberg
512b3cb314
Refresh advice, flip hide vs show default for links
2019-12-19 16:04:34 -08:00
Medya Gh
7360edc8e0
add kic cni
2019-12-19 15:11:22 -08:00
Priya Wadhwa
83aca57dd4
Merge branch 'master' of github.com:kubernetes/minikube into addon-per-profile-refactor
2019-12-19 13:20:12 -08:00
Priya Wadhwa
859420c083
Merge branch 'master' of github.com:kubernetes/minikube into addon-per-profile-refactor
2019-12-19 13:06:07 -08:00
tstromberg
6cc860e911
Add build tags so that the test only runs on Darwin
2019-12-19 13:05:47 -08:00
tstromberg
0796d866df
Further clarification
2019-12-19 12:51:02 -08:00
Thomas Strömberg
4e0454d6b4
Merge pull request #6111 from tstromberg/awful-offl
...
Offline: always transfer image if lookup fails, always download drivers
2019-12-19 11:52:28 -08:00
Thomas Strömberg
28c4c82bd7
Merge pull request #5833 from govargo/fix-without-hyperkit-errormsg
...
Add hyperkit version check whether user's hyperkit is newer
2019-12-19 11:44:58 -08:00
Medya Gh
cce503033d
rename CreateParam to CreateConfig
2019-12-19 11:12:49 -08:00
Medya Gh
e1d5704170
get rid of default oci
2019-12-19 11:08:05 -08:00
Medya Gh
6cbdfe3961
remove more codefrom node
2019-12-19 10:47:07 -08:00
Priya Wadhwa
4c7b94971c
Address review comments
...
Remove old TODO and remove function to get current profile as it can
create errors when trying to get multiple profiles.
2019-12-19 10:41:01 -08:00
Medya Gh
310cef80de
get rid of node cache
2019-12-19 10:37:15 -08:00
Medya Gh
f001dd703a
convert kic restart to case switch
2019-12-19 10:01:18 -08:00
Medya Gh
80b15e8e6c
Add comment for config structs
2019-12-19 09:52:53 -08:00
Zhou Hao
d864ac3f04
pkg/util: add CalculateSizeInMB test
...
Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
2019-12-19 18:36:05 +08:00
Medya Gh
6e87872fa1
make ConfigFileAssets more reusable
2019-12-19 01:19:32 -08:00
Medya Gh
62cd3102c0
move funcs to related files
2019-12-19 00:28:39 -08:00
Medya Gh
33523677bc
unexport extraConfig
2019-12-19 00:28:39 -08:00
Medya Gh
5c445dcca2
unexport funcs and move to better place
2019-12-19 00:28:39 -08:00
Medya Gh
79657f904b
unexport func
2019-12-19 00:28:39 -08:00
Medya Gh
c4c87ef6e2
move test data
2019-12-18 23:20:42 -08:00
Priya Wadhwa
43a7267079
make public methods that aren't used outside of the package private
2019-12-18 22:33:00 -08:00
Priya Wadhwa
ceb4938c7a
Add more unit tests
2019-12-18 22:27:32 -08:00
Priya Wadhwa
921fee7432
Moved unit tests to addons package and refactored them
2019-12-18 22:02:10 -08:00
Priya Wadhwa
e72cb80cbf
Enable/disable addons works per profile
...
However, this means that addon information won't persist beyond a 'minikube delete'
2019-12-18 21:35:46 -08:00
Medya Gh
04c7e561db
moving kubernetes config templates to a package
2019-12-18 17:30:19 -08:00
Medya Gh
b8d07daef3
move reusabe parts of kubeadm to a package
2019-12-18 17:22:42 -08:00
tstromberg
36893766c4
Not a crash, but an error
2019-12-18 16:12:20 -08:00
Medya Gh
31ad90d3cb
Add place holder bootstrapper for kicbs
2019-12-18 16:11:50 -08:00
Medya Gh
19560a631b
Add kic specific machine creation message
2019-12-18 15:53:34 -08:00
Medya Gh
2243847f98
add kic command runner to machine
2019-12-18 13:57:32 -08:00
Medya Gh
c627f58fbb
add default image
2019-12-18 13:04:09 -08:00
Priya Wadhwa
ba8b723978
Move addon related logic to pkg/addons for better organization
2019-12-18 11:31:29 -08:00
Medya Gh
b6dbf3bd0d
add auto-set container-runtime for kic
2019-12-17 22:19:39 -08:00
Medya Gh
2bf1289bf3
adding place holder for kicbs
2019-12-17 22:06:45 -08:00
Medya Gh
71b260292c
remove more code
2019-12-17 21:53:36 -08:00
Medya Gh
12df013810
simplify overlaping structs
2019-12-17 21:36:37 -08:00
Medya Gh
ca68beae6a
remove not needed code
2019-12-17 19:33:54 -08:00
Medya Gh
0f77b9d7f2
change variable name
2019-12-17 19:03:49 -08:00
Medya Gh
5ae0c4d41b
added docker to supported drivers
2019-12-17 18:45:10 -08:00
Medya Gh
7a433cc6a9
Add kic specifc fields to machine config
2019-12-17 17:47:37 -08:00
Kenta Iso
b6506007b8
refactor: remove warning log to avoid duplicate logging and remove useless getter func
2019-12-18 10:36:50 +09:00
Kenta Iso
39f71346a6
rename constant name and shorten warining message of version old
2019-12-18 10:36:50 +09:00
Kenta Iso
f9d4762765
Improve hyperkit specific version check
2019-12-18 10:36:50 +09:00
Kenta Iso
fcbf4d1b4d
Add hyperkit version checker: whether user's hyperkit is new
2019-12-18 10:36:50 +09:00
Medya Gh
379bf2ac0c
fix boilerplate formats
2019-12-17 16:38:56 -08:00
Medya Gh
46df68ca4b
move cri to oci package
2019-12-17 16:04:03 -08:00
Medya Gh
5c1145bcd8
add kic command runner
2019-12-17 15:32:06 -08:00
Medya Gh
d7273d36c9
Add kic driver
2019-12-17 15:18:31 -08:00
tstromberg
04486049d2
Always transfer images when local reference lookups fail
2019-12-17 13:21:34 -08:00
Priya Wadhwa
84ce2dbd62
Fixed bug, using version when should use profile
2019-12-17 12:09:42 -08:00
Priya Wadhwa
d21db02c76
Apply addons to all profiles
2019-12-17 11:58:26 -08:00
Priya Wadhwa
5003684b5b
rebased on master
2019-12-16 10:49:55 -08:00
Thomas Stromberg
d811f6e428
Remove unused forceID var
2019-12-11 12:10:28 -08:00
Thomas Stromberg
3171493e51
Rename to PathMutexSpec
2019-12-11 12:01:32 -08:00
Thomas Stromberg
c5f65baf61
Remove uid from hash name, as it is not necessary now that we lock on filenames rather than descriptive names
2019-12-11 11:52:36 -08:00
Thomas Stromberg
129b6a870b
Update log messages
2019-12-11 09:54:44 -08:00
Thomas Stromberg
af4e690837
Use sha1 for a larger hash, truncated to 40 chars
2019-12-11 09:14:20 -08:00
Thomas Stromberg
cfe0f5a5b7
Use md5 to generate unique lock names
2019-12-11 08:13:12 -08:00
Thomas Stromberg
bef508d461
Remove high-ASCII characters from comment
2019-12-10 15:23:47 -08:00
Thomas Stromberg
a1ddd283fe
Check errors, remove docker.io prefix used by crio
2019-12-10 14:28:40 -08:00
Priya Wadhwa
e0b6a1eb49
Address review comments
...
Address nits and remove integration test to make sure addon manager pod
is up and running since we will no longer enable it by default.
2019-12-10 14:16:28 -08:00
Thomas Stromberg
661ebf843f
Merge master
2019-12-10 14:07:02 -08:00
Thomas Stromberg
32e0732e15
Add integration test
2019-12-10 14:02:12 -08:00
Thomas Strömberg
349f414dee
Merge pull request #5987 from medyagh/cache_fix2
...
cache add: load images to all profiles & skip previously cached images
2019-12-10 13:58:57 -08:00
Thomas Strömberg
1592eef8f4
Merge pull request #5935 from tstromberg/up-add2
...
Pre-cache the latest kube-addon-manager
2019-12-10 13:53:12 -08:00
Priya Wadhwa
3a20cd75bf
Add unit tests
2019-12-10 13:06:22 -08:00
Priya Wadhwa
686b0a68fa
Use kubectl v1.13.2 as in the addon manager image for correct functionality
2019-12-10 12:46:54 -08:00
Medya Gh
7b8cfe167c
lint
2019-12-10 11:23:02 -08:00
Thomas Strömberg
ef51dfe8bb
Merge branch 'master' into up-add2
2019-12-10 10:45:53 -08:00
Medya Gh
b7176b91fd
Use a faster way to get image sha
2019-12-10 10:29:59 -08:00
Priya Wadhwa
4a45956178
Add unit tests
2019-12-10 10:08:23 -08:00
Thomas Stromberg
650c26309c
Add missing files
2019-12-10 09:29:45 -08:00
Thomas Stromberg
14b805d494
Remove unused vars
2019-12-10 08:17:08 -08:00
Thomas Stromberg
8b7aaba627
Sync correct Kubernetes versions from kubeadm constants
2019-12-10 08:12:15 -08:00
Karuppiah Natarajan
fc09dd4814
Update default Kubernetes version to v1.17.0
...
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
2019-12-10 19:57:16 +05:30
Medya Gh
60346821d6
move machine path to localpath package
2019-12-09 14:51:10 -08:00
Medya Gh
35ad8e2915
make profile name mandatory for config.Load
2019-12-09 14:47:20 -08:00
Medya Gh
2895971182
Skip loading image if already cached based on sha
2019-12-09 14:30:55 -08:00
Thomas Stromberg
df3ee00481
Update dashboard image and pre-cache it again
2019-12-09 14:13:50 -08:00
Thomas Stromberg
a84db18fd7
Merge
2019-12-09 13:55:28 -08:00
Thomas Strömberg
1f36a42203
Merge pull request #5912 from tstromberg/user-mutex2
...
Make lock names uid and path specific to avoid conflicts
2019-12-09 13:34:56 -08:00
Thomas Strömberg
66d7124305
Merge pull request #5954 from olivierlemasle/storageclassannot
...
Remove depreacted annotation storageclass.beta.kubernetes.io
2019-12-09 10:50:32 -08:00
Thomas Strömberg
45c945f477
Merge pull request #5988 from medyagh/profile_status
...
show status in profile list
2019-12-09 10:43:11 -08:00
Priya Wadhwa
7477050192
Turn addon manager off by default
...
Add run kubectl apply command directly if addons are changed by the user if the addon manager is disabled.
2019-12-05 10:46:28 -08:00
Guilherme Pellizzetti
672b9de015
typo: Fix typo in err_map key
...
Change "MACHINE_DOES_NOT_EXST" to "MACHINE_DOES_NOT_EXIST".
Please disregard if not valid.
2019-12-03 20:42:18 -03:00
Wietse Muizelaar
2cc277af73
Use newer gvisor version
...
The current gvisor version used is quite old, this PR bumps the version to a more recent one.
2019-11-29 20:36:54 +01:00
Medya Gh
d7b6e66038
fix unit tests and improve naming
2019-11-26 20:07:56 -08:00
Medya Gh
95717c4793
add status to profile list
2019-11-26 19:53:27 -08:00
Medya Gh
d8d7849d21
fix typo and remove debugging logs
2019-11-26 19:20:38 -08:00
Medya Gh
cdb68a139e
refactor config to allow load profile config
2019-11-26 18:32:59 -08:00
Medya Gh
6c08fedf97
remove cyclic depdenecy and make cluster pkg smaller
2019-11-26 17:48:37 -08:00
Medya Gh
72b17439bd
clean up temp files
2019-11-26 16:21:12 -08:00
Sharif Elgamal
0bfd81baec
Merge pull request #5973 from sharifelgamal/1.17-rc1
...
Update default k8s version to 1.17.0-rc.1
2019-11-25 18:20:12 -08:00
Medya Ghazizadeh
97b8ee82d1
Merge pull request #5919 from tstromberg/more-logs
...
Double lookBackwardsCount to 400, to find usage error in new apiserver
2019-11-25 14:13:24 -08:00
Sharif Elgamal
bd96b736d3
update test cases for new k8s default
2019-11-25 13:44:10 -08:00
Sharif Elgamal
04eca26c48
Update default k8s version to 1.17.0-rc.1
2019-11-25 13:33:27 -08:00
Medya Ghazizadeh
8a4c7d31f6
Merge pull request #5960 from davidnewman/issue/5959
...
Add option for virtualbox users to set nat-nic-type
2019-11-25 13:16:20 -08:00
Medya Ghazizadeh
b398810a0f
Merge pull request #5917 from tstromberg/include-output-exec-err
...
SSHRunner: include stdout/stderr with error message
2019-11-25 11:53:13 -08:00
David Newman
fbb1d97cf1
feat(virtualbox): Users and set nat-nic-type and host-only-nic-type
2019-11-22 13:50:12 -05:00
Thomas Stromberg
7f97b91adf
Add newlines before stdout/stderr
2019-11-20 16:08:16 -08:00
Olivier Lemasle
99350b3b7f
Remove depreacted annotation storageclass.beta.kubernetes.io/is-default-class
...
(deprecated since K8s 1.6 - cf https://github.com/kubernetes/kubernetes/pull/40088 )
2019-11-20 13:36:06 +01:00
Thomas Stromberg
9ad7fb70b1
Pre-cache the latest kube-addon-manager
2019-11-16 21:20:14 -08:00
Thomas Stromberg
786ffe8e07
Stop pre-caching obsolete dashboard image
2019-11-16 21:16:06 -08:00
Thomas Strömberg
cca2acd8a0
Merge pull request #5925 from tstromberg/v1.17.0-beta.1-t2
...
Update DefaultKubernetesVersion to v1.17.0-beta.1 to prepare for betas
2019-11-15 13:24:29 -08:00
Thomas Strömberg
6c44e09a94
Merge pull request #5916 from tstromberg/recover-ctrlc
...
Make it possible to recover from a previously aborted StartCluster (Ctrl-C)
2019-11-15 13:23:53 -08:00
tstromberg
c02557d975
Update DefaultKubernetesVersion to v1.17.0-beta.1 to prepare for betas
2019-11-15 11:44:48 -08:00
Thomas Stromberg
2223c89555
Check for etcd, but not /etc
2019-11-15 07:02:44 -08:00
Thomas Stromberg
39c0c8be13
Use etcdDataDir() instead
2019-11-14 20:17:31 -08:00
Thomas Stromberg
e87214d581
Remove exit code, it was always 0
2019-11-14 20:15:43 -08:00
Thomas Stromberg
4f5877e141
Double lookBackwardsCount to 400, to find usage error in new apiserver
2019-11-14 20:10:58 -08:00
Thomas Stromberg
c8c6260887
Remove noisy warning message while apiserver is booting up
2019-11-14 20:06:57 -08:00
Thomas Stromberg
26dbaa8b28
ssh: Log and return stdout/stderr consistency
2019-11-14 20:06:05 -08:00
Thomas Stromberg
b04b2ad5ee
Log and return stdout/stderr consistency
2019-11-14 20:02:59 -08:00
Thomas Stromberg
a586513831
Make sure etcd existence is recoverable too
2019-11-14 19:11:57 -08:00
Thomas Stromberg
a6ece0cbe8
Make restartCluster private in preference to idempotent StartCluster
2019-11-14 15:06:05 -08:00
Thomas Stromberg
557339acc2
Recover from aborted kubeadm runs by checking for file existence
2019-11-14 15:00:56 -08:00
Thomas Stromberg
bb28d5c346
Make lock names more specific to avoid conflicts
2019-11-14 10:57:11 -08:00
Aresforchina
6e59117b1d
fix up typo
2019-11-14 17:16:27 +08:00
Thomas Stromberg
aa6070ae89
Remove unused glog import
2019-11-13 17:02:47 -08:00
Thomas Strömberg
72016f1012
Merge pull request #5901 from tstromberg/noisy-windows
...
Remove noisy error message
2019-11-13 07:32:34 -08:00
Thomas Strömberg
d44aa4c9e5
Merge pull request #5894 from tstromberg/wait-nada
...
Make --wait=false non-blocking, --wait=true blocks on system pods
2019-11-13 07:06:12 -08:00