Commit Graph

4776 Commits (21b661ecf3038dc50f75d345276c9cf460af9df2)

Author SHA1 Message Date
nikhiljindal 1db30aeb51 Moving swagger-ui files from www/swagger-ui to third-party/swagger-ui
and adding LICENSE and README files
2015-01-05 16:27:33 -08:00
Joe Beda f1fed3bcfc Remove support for building "run containers".
This was untested, broken and largely unused.

Related to #12 and #2455#issuecomment-68803245.
2015-01-05 16:26:28 -08:00
Tim Hockin 03baa7234a Merge pull request #3225 from dchen1107/clean
Move GetHostName and GetDockerEndpoint methods to pkg/util
2015-01-05 16:21:51 -08:00
saadali eb831919d9 Improve kubelet logging around container being killed due to hash change 2015-01-05 16:20:40 -08:00
Tim Hockin 4f8b821cfd Merge pull request #3229 from saad-ali/cleanUpHashing
Modify container hash function to account for pointers by following pointers
2015-01-05 16:05:24 -08:00
saadali f92f830e1f Modify hash to be computed using spew library so that nested object values are used instead of pointer 2015-01-05 15:48:06 -08:00
Joe Beda 943ed6d289 Merge pull request #3146 from zmerlynn/limit_liveness_gke
GKE: Limit liveness.sh to server version >0.7.2
2015-01-05 14:41:39 -08:00
Zach Loafman 7d507a4fa9 Merge pull request #3228 from jbeda/dns-release
Create cluster/addons for things to put into a kubernetes cluster
2015-01-05 14:26:04 -08:00
Zach Loafman e965fc1f79 GKE: Limit liveness.sh to server version >0.7.2
What I really want is
https://github.com/GoogleCloudPlatform/kubernetes/issues/2953, but
haven't had a chance to code that yet. Maybe it's time. (Then I'd
remove the provider-specific test and just say "is it > 0.7.2, or does
it claim to be capable of something from the future?" The latter
covers the HEAD server case .. though just bumping the server version
immediately after release might also accomplish that, too.)
2015-01-05 14:21:21 -08:00
Joe Beda 31f9e18fb2 Merge pull request #3226 from smarterclayton/fix_boilerplate
Boilerplate checks on 2014, but commit included a 2015 (breaks travis)
2015-01-05 13:35:21 -08:00
Clayton Coleman d90cf9b8ac Boilerplate checks on 2014, but commit included a 2015 (breaks travis)
Revert boilerplate to 2014 until hack/verify-boilerplate.sh is fixed
2015-01-05 16:28:52 -05:00
Dawn Chen 9e99f9953a Fix the boilerplate issue for header with "Copyright 2015". 2015-01-05 13:27:30 -08:00
Joe Beda 9aa48b7628 Move heapster data files to cluster/addons.
Also pretty up the JSON (make it real JSON) and streamline the sed in cluster/gce/init.sh.
2015-01-05 12:32:35 -08:00
Joe Beda 6df6aab077 Move DNS from contrib to cluster/addons
This fixes #3190.
2015-01-05 12:32:35 -08:00
Tim Hockin c908fbe59e Merge pull request #3199 from a-robinson/disk-size
Allow for easily specifying the type and size of minion disks on GCE.
2015-01-05 12:07:18 -08:00
Tim Hockin 40808bce2a Merge pull request #3219 from derekwaynecarr/sky_dns_error
DNS Server IP outside of PORTAL_NET range for vagrant
2015-01-05 11:58:24 -08:00
Dawn Chen f718957a79 Move GetHostName and GetDockerEndpoint methods to pkg/util 2015-01-05 11:44:21 -08:00
Dawn Chen 78547d9a87 Merge pull request #3194 from vishh/stats
Update "/stats" endpoint on kubelet.
2015-01-05 11:23:00 -08:00
Joe Beda 4e417b98b5 Merge pull request #3206 from zmerlynn/jenkins_style_e2e
Add script to run e2e tests from binary deployment: e2e-from-release.sh
2015-01-05 11:09:38 -08:00
Tim Hockin 987d6ccef4 Reduce verbosity on integration tests 2015-01-05 10:51:43 -08:00
Daniel Smith f0b7743402 Add useful DeepEqual 2015-01-05 10:37:50 -08:00
Daniel Smith 83f1aa5546 Merge pull request #3178 from thockin/ptr-fields
Util to test if all ptr fields are nil
2015-01-05 10:35:32 -08:00
Eric Tune aca227df5a Merge pull request #3217 from brendandburns/cassandra
Address some comments from erictune.
2015-01-05 10:10:44 -08:00
derekwaynecarr 9203e4143b Put skydns in portalip range 2015-01-05 13:09:31 -05:00
Brendan Burns b06458e0ea Address some comments from erictune. 2015-01-05 09:51:05 -08:00
Eric Tune 4432ba06bd Merge pull request #3203 from thockin/integ
Integration test scaffolding fixes
2015-01-05 09:21:57 -08:00
Eric Tune a377f1b231 Merge pull request #3208 from zmerlynn/i3094
Escape stdout/stderr YAML-like elements for TAP output
2015-01-05 09:20:27 -08:00
Eric Tune 180108b5f9 Merge pull request #3211 from brendandburns/cassandra
Add an example of running Cloud Native Cassandra on k8s.
2015-01-05 09:07:07 -08:00
Eric Tune abc48dcdeb Merge pull request #3213 from unicell/typo-fix
Typo fix in docs/volumes.md
2015-01-05 08:34:52 -08:00
Qiu Yu 63ed16797d Typo fix in docs/volumes.md 2015-01-05 02:45:33 -08:00
Brendan Burns 04f51b60de Add an example of running Cloud Native Cassandra on k8s. 2015-01-04 22:30:18 -08:00
Zach Loafman d938ecaba2 Escape stdout/stderr YAML-like elements for TAP output
Fixes https://github.com/GoogleCloudPlatform/kubernetes/issues/3094
2015-01-04 08:02:43 -08:00
Zach Loafman 51afb97b59 Add script to run e2e tests from binary deployment: hack/e2e-from-release.sh
We need a way to quickly emulate what Jenkins is doing. This script
easily demonstrates problems like
https://github.com/GoogleCloudPlatform/kubernetes/issues/3190, which
git based e2e runs won't show.
2015-01-04 05:55:29 -08:00
Tim Hockin e4d239cbb1 Util to test if all ptr fields are nil 2015-01-03 23:57:43 -08:00
Clayton Coleman 99977ceb91 Proposal: Isolate kubelet from etcd
Discusses the current security risks posed by the kubelet->etcd pattern
and discusses some options.

Triggered by #846 and referenced in #859
2015-01-04 00:21:47 -05:00
Tim Hockin a57976b46d fix call to Fatal() vs Fatalf() 2015-01-03 20:51:14 -08:00
Tim Hockin 297c8d1d5a Parse flags for in integration test.
The default --v=10 might be reconsidered.
2015-01-03 20:48:19 -08:00
Tim Hockin 6fcb646ca5 Set sync frequency during integration
Without this, the sync loop runs continuously.  IMO: This right here is
why open structs are inferior to explicity constructors that take 75
arguments - you can't forget to pass an argument.
2015-01-03 20:39:39 -08:00
Alex Robinson 8b38453501 Allow for easily specifying the type and size of minion disks on GCE.
Issue #3192
2015-01-03 16:57:16 -08:00
Zach Loafman fdccfe970d GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP
Fixes https://github.com/GoogleCloudPlatform/kubernetes/issues/3191
2015-01-03 07:41:09 -08:00
Vishnu Kannan 3ef9e404c1 Update "/stats" endpoint on kubelet to take namespace as an argument as part of the API. 2015-01-03 02:17:25 +00:00
Daniel Smith d098456b6d Merge pull request #3186 from clkao/local-docker-doc
Fix local-docker KUBERNETES_MASTER
2015-01-02 10:27:51 -08:00
Chia-liang Kao 82a72c805d KUBERNETES_MASTER needs to include scheme for cluster/* scripts to work 2014-12-31 18:01:24 +08:00
Daniel Smith 53a9d106c4 Merge pull request #3167 from thockin/affinity
Don't use pointers for session affinity
2014-12-30 17:43:47 -08:00
Daniel Smith 9c2cd55528 Merge pull request #3181 from smarterclayton/cleanup_http_items
Minor cleanups to request - fix initialism on HTTPClientFunc
2014-12-30 17:34:00 -08:00
Angus Lees 6f14e2e210 Avoid race between image pull and garbage collect
Hold the pullLock while pulling regular container images, not just the
network container.

Also: previously, the locks were grabbed at too-low a layer in the
callstack, leaving a (narrow) window where images could be pulled and
then garbage collected before being used.

This change takes the existing pullLock a layer higher in the call stack
so the critical regions encompass the entire find+delete and pull+use
operation in both cases.
2014-12-31 11:50:40 +11:00
Clayton Coleman 8005c85e6c Rename HttpClientFunc -> HTTPClientFunc 2014-12-30 19:34:06 -05:00
Clayton Coleman 502204ad6d Do not set empty field or label selectors on requests
Default behavior for "" is already "everything"
2014-12-30 19:33:40 -05:00
Dawn Chen dc4e9d66f7 Merge pull request #3180 from thockin/util-mount
Add a util/mount pkg
2014-12-30 15:49:48 -08:00
Daniel Smith 6156526d92 Merge pull request #3133 from smarterclayton/remove_request_path
Introduce Resource/ResourceName/Prefix/Suffix options to RESTClient
2014-12-30 15:33:11 -08:00