Commit Graph

103 Commits (c71864484c16f1449ec68505db2fe08dc1bbd686)

Author SHA1 Message Date
Thomas Stromberg a2865f183a Back to the original 10 minute timeout :( 2019-03-01 10:50:39 -08:00
Thomas Stromberg c40602b327 ReasonableStartTime = 8, for folks with CrashLooping DNS on none 2019-02-28 16:40:46 -08:00
Thomas Stromberg 3b2a81d409 Increase ReasonableStartTime from 5 to 9 minutes 2019-02-28 16:26:42 -08:00
Thomas Stromberg 6a18ad9bc5 Reduce wait times, and wait more consistently 2019-02-13 21:15:46 -08:00
Thomas Stromberg 6c48048538 Merge from hell #2: refactor start.go because it's terrible 2019-02-08 13:37:29 -08:00
Thomas Stromberg d1b0d0470a Initial console implementation 2019-02-06 22:00:30 -08:00
Thomas Strömberg 7b32547cf6
Merge pull request #3108 from sebcworks/sebcworks-customapiserverport
Allow to specify api server port through CLI fix #2781
2019-01-15 16:43:42 -08:00
Thomas Strömberg ae4221b3fb
Merge pull request #3475 from tstromberg/intlogs
tee party: Stream cmd output to tests when -v is enabled, and stream SSH output to logs
2018-12-20 17:21:34 -08:00
Thomas Stromberg fcaf89666f Decrease log noise by logging retry loops after the initial attempt 2018-12-20 10:27:47 -08:00
Thomas Stromberg 7f7587d96c Rename TeeWithPrefix to TeePrefix to match Go idioms 2018-12-20 09:54:09 -08:00
Thomas Stromberg 9b707fe234 Add TeeWithPrefix to ssh_runner as well 2018-12-19 17:03:55 -08:00
priyawadhwa 8f128a7d10 Enable gvisor addon in minikube (#3399)
This PR adds the code for enabling gvisor in minikube. It adds the pod
that will run when the addon is enabled, and the code for the image
which will run when this happens.

When gvisor is enabled, the pod will download runsc and the
gvisor-containerd-shim. It will replace the containerd config.toml and
restart containerd.

When gvisor is disabled, the pod will be deleted by the addon manager.
This will trigger a pre-stop hook which will revert the config.toml to
it's original state and restart containerd.
2018-12-07 15:27:22 -08:00
mikeweiwei 3deef5345d fix logging calls (#3315) 2018-11-13 13:53:50 -08:00
Bily Zhang b9a4f9459f Fix some typos (#3302)
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-11-06 12:36:13 -05:00
xichengliudui 52f37d9623 Fix typo miniube-iso -> minikube-iso 2018-11-05 02:06:30 -05:00
Thomas Strömberg 2621bb3a27
Merge pull request #3187 from tstromberg/consistent_err_formatting
Globally replace %s format directives with %v for error strings
2018-10-19 16:44:46 -07:00
Thomas Strömberg b93c22b6ab
Merge pull request #3221 from tstromberg/iso_errors
Include ISO URL and reduce stutter in download error message
2018-10-19 16:18:53 -07:00
Thomas Stromberg 118e9cc016 Apply go 1.11 formatting using `gofmt -s -l -w` 2018-10-19 14:29:56 -07:00
Thomas Stromberg 72e596507a Merge branch 'master' into consistent_err_formatting 2018-10-19 14:08:35 -07:00
Thomas Stromberg 3e256a0463 Fix accidental switch from Println to Printf 2018-10-19 13:48:25 -07:00
Thomas Stromberg 7e54a16d60 Include ISO URL in download error, make output slightly easier to read. 2018-10-05 12:50:47 -07:00
Thomas Stromberg 7feb46edcb Removed unneccesary changes to download errors 2018-10-03 15:16:37 -07:00
Thomas Stromberg bc2dbe3b08 Improve readability of ISO download errors + include URL.
This is a separate issue I bumped into while developing the dashboard
PR.
2018-10-03 12:56:54 -07:00
Thomas Stromberg 3706b3b8ac Fix dangling format issues. 2018-09-28 16:48:37 -07:00
Thomas Stromberg 055c8002b1 Replace %s format directives with %v for errors.
Previously we were mixed between the two forms. This commit picks %v,
which is consistent with the Kubernetes code base. They both effectively
do the same thing in this case, though %v works with any object, and %s
only with string objects.
2018-09-28 16:05:27 -07:00
Jason Stangroome 9b21d3c7e4 Allow certificates to be optionally embedded in .kube/config
Opt-in with `minikube config set embed-certs true`. Similar to the
behaviour of `kubectl config set-credentials --embed-certs`.

Enables Minikube on Windows to produce a .kube/config file that
can be shared directly with kubectl inside the Windows Subsystem
for Linux (WSL) without needing to perform additional translation
of the certificate paths within the configuration file.
2018-09-03 15:34:50 -05:00
Sebastien Collin e551231ec5 Allow to specify api server port through CLI 2018-09-01 15:07:27 +02:00
Aaron Prindle a4606583e4 remove all localkube references from code, change /var/lib/localkube to /var/lib/minikube 2018-07-24 12:36:42 -07:00
Ivan Hamilton 4bdba1f20b Issue certificates with NotBefore set 1 day prior to avoid drift/timezone issues in VM 2018-05-23 13:18:26 -07:00
Arnaud MAZIN b25f82759f Create empty map if Nil 2018-04-29 18:24:25 -07:00
Arnaud MAZIN 3f9350da72 fmt 2018-04-29 18:24:25 -07:00
Arnaud MAZIN cc41522545 added map[string]string argument parsing for eviction-like arguments 2018-04-29 18:24:25 -07:00
AdamDang 3c50dee461
Update config.go 2018-04-23 20:10:55 +08:00
dlorenc 3cce3ca727 Make ResourceQuota last. 2018-03-06 20:50:22 -08:00
dlorenc b227d6d5e9 Add the ValidatingAdmissionWebhook controller. 2018-03-06 09:12:38 -08:00
dlorenc ce6a727fc0 Make the admission controllers shared between localkube and kubeadm. 2018-02-15 11:51:57 -08:00
Matt Rickard 7cea97d92a
Merge pull request #2541 from budhrg/refactor-get-downloadurl
Refactor get download url for minikube
2018-02-12 10:25:11 -08:00
Budh Ram Gurung 68285d1779 Refactor get download url for minikube 2018-02-12 13:15:06 +05:30
Yongkun Anfernee Gui 49757dccfa Chmod -x kubernetes.go 2018-02-09 12:12:13 -08:00
Chen Li aa32282e3f Use IPSliceVar for apiServerIPs 2018-01-17 08:22:25 -08:00
Chen Li a3f3286f50 Allow add new server names and IPs to apiserver x509 certificate 2018-01-17 08:22:25 -08:00
kairen 08f4677511 Change kubernetes-dashboard from RC to Deployment 2018-01-10 02:15:07 +08:00
Matt Rickard 30667cb406 Calculate ServiceClusterIP and DNS IP from CIDR 2017-10-31 10:06:51 -07:00
Matt Rickard 901c844a00 localkube changes 2017-10-13 10:21:16 -07:00
Matt Rickard e5002afa8c add vendor 2017-10-13 10:21:09 -07:00
Matt Rickard 3180e2e897 Merge pull request #1938 from r2d4/integration-test-cleanup-
Integration test cleanup
2017-09-12 14:28:28 -07:00
Matt Rickard 53341aa30d golint, go vet, etc. changes 2017-09-11 14:17:58 -07:00
Matt Rickard 9747484e9e Move k8s utils to pkg/util 2017-09-08 20:14:28 -07:00
Kent Rancourt ce2ac65d7f manage proxy-client / aggregator certs 2017-09-06 18:11:59 -04:00
Matt Rickard 1052dda37a Move CalculateDiskSizeInMB to utils to use in kvm 2017-08-28 11:27:34 -07:00