Commit Graph

5756 Commits (3a16a9c39e802557bbc515dec89aa66e4315ac7e)

Author SHA1 Message Date
derekwaynecarr 4dd50a18c3 Fix vagrant regression, add flag to easily enable v1beta3 2015-01-30 12:16:24 -05:00
Joe Beda 2e9cb5ee3a Merge pull request #3934 from justinsb/fix_etcd_extract_v2
Eliminate tar_options, to work around bugs in new salt version
2015-01-30 08:51:31 -08:00
Zach Loafman 922148acd8 Merge pull request #3977 from satnam6502/timeout
Increase timeout for Go tests
2015-01-30 08:37:15 -08:00
Satnam Singh a9aabda0f0 Merge pull request #3975 from sdminonne/etcd.2.0.0
Fix dockerfile for etcd.2.0.0
2015-01-30 08:33:18 -08:00
Satnam Singh c56dd3ddc7 Increase timeout for Go tests 2015-01-30 08:30:26 -08:00
Satnam Singh 3c3b016b8b Merge pull request #3917 from yujuhong/dedup
Refactor API object fuzzer
2015-01-30 08:07:25 -08:00
Satnam Singh 9a8d20a2fc Merge pull request #3969 from GoogleCloudPlatform/alex-mohr-patch-1
Update master.go's UpdateAllContainers to every 5 seconds instead of 30.
2015-01-30 07:58:43 -08:00
Satnam Singh a6fd7204b6 Merge pull request #3940 from jlowdermilk/fix-client-for-version
Fix client for version
2015-01-30 07:58:13 -08:00
Satnam Singh db416c4f39 Merge pull request #3970 from justinsb/fix_aws
aws cluster/kube-up.sh fixes
2015-01-30 07:56:01 -08:00
Martin Nagy 364774e7b8 Add tests for the reworked update command 2015-01-30 16:05:20 +01:00
Martin Nagy b6ddd6548c Use new resource builder in kubectl update 2015-01-30 16:05:20 +01:00
Brian Grant ee3470def5 Merge pull request #2933 from hustcat/cap-add-drop
Add docker's add/drop capabilites
2015-01-30 06:43:49 -08:00
Brian Grant 96e77d30fc Merge pull request #3733 from ddysher/sync-node-status
Sync node status from node controller to master.
2015-01-30 06:43:29 -08:00
Salvatore Dario Minonne 9a0e16a009 Fix dockerfile for etcd.2.0.0 2015-01-30 15:32:13 +01:00
Johan Euphrosine 5aba5f00c0 contrib/git-sync: add wait 2015-01-29 23:21:49 -08:00
Ye Yin 248624fc1f Add docker's add/drop capabilites 2015-01-30 15:09:31 +08:00
Brendan Burns 55793ac206 Merge pull request #3972 from derekwaynecarr/fix_etcd_vagrnat
Vagrant fixup for etcd 2.0 regression, and other issues
2015-01-29 21:34:51 -08:00
derekwaynecarr 3cb015c09c Missing boilerplate 2015-01-30 00:22:17 -05:00
derekwaynecarr aef084bf9d Various vagrant fixes, etcd 2.0 2015-01-30 00:15:34 -05:00
Deyuan Deng c793c4f0ab Sync node status from node controller to master. 2015-01-29 23:17:15 -05:00
Alex Mohr 3ac5b611b1 Update master.go
Make pod status update every 5 seconds instead of every 30 to mask the issue #3952.  I suspect (but haven't confirmed) that #3927 doesn't completely address the issue since it will still happily cache a Pending status for up to 30 seconds even though the pod may have transitioned to Running already.
2015-01-29 18:54:35 -08:00
Satnam Singh e619f303d7 Merge pull request #3960 from brendandburns/shell_sucks
Update etcd to version 2.0.0
2015-01-29 18:46:18 -08:00
Satnam Singh c2c109e896 Merge pull request #3963 from smarterclayton/handle_server_errors
Provide a better error when Kubelet pod status is unexpected
2015-01-29 18:30:43 -08:00
Yu-Ju Hong 4cb730dad5 Refactor API object fuzzer
API object fuzzer is used to randomly populate API object for testing. Similar
code of the fuzzer was duplicated in multiple files. This change refactors the
tests and moves the fuzzer to a separate file.
2015-01-29 18:14:09 -08:00
Justin Santa Barbara d8791acdba Pause between launching master and minions
Salt does not retry if master is not ready, apparently
2015-01-29 21:08:27 -05:00
Brendan Burns 98279cf677 Merge pull request #3966 from ghodss/patch-4
Update README.md to include Godoc and Travis links
2015-01-29 18:07:46 -08:00
Sam Ghods 9b17d62192 Update README.md to include Godoc and Travis links 2015-01-29 18:04:31 -08:00
Brendan Burns a20ca78fb3 Update etcd to version 2.0.0 2015-01-29 17:53:53 -08:00
Justin Santa Barbara eb1d9d0a46 Add missing = to --machines arg 2015-01-29 20:35:36 -05:00
Justin Santa Barbara 5d864b006a Add aws to list of clouds that use tokens 2015-01-29 20:35:36 -05:00
Justin Santa Barbara 51225c76da Apply jbeda's conditional tar fix 2015-01-29 20:35:36 -05:00
Justin Santa Barbara 3fb61912aa Quote args in /srv/salt-overlay/pillar, add new vars 2015-01-29 20:35:36 -05:00
Justin Santa Barbara bb406ce87f Allow # of minions to be configured 2015-01-29 20:35:36 -05:00
Justin Santa Barbara 8058632f5f Move tag creation & retry logic to a function 2015-01-29 20:35:36 -05:00
Justin Santa Barbara 993071dd64 Add aws to some e2e tests 2015-01-29 20:35:35 -05:00
Justin Santa Barbara 2f195578cc Create /srv/kuberentes/known_tokens.csv on AWS 2015-01-29 20:35:35 -05:00
Justin Santa Barbara d20188c6d4 Create shared secret in AWS scripts 2015-01-29 20:35:35 -05:00
Justin Santa Barbara bb0431dce8 Pass cloud & cloud_config to kube-apiserver for AWS 2015-01-29 20:35:35 -05:00
Brian Grant 8025d46cce Merge pull request #3927 from brendandburns/podcache
Transform the podCache into a write-through cache.
2015-01-29 17:28:35 -08:00
Satnam Singh 242b281279 Merge pull request #3962 from thockin/e2e
Maybe make services e2e test more resilient to GCE errors
2015-01-29 17:07:21 -08:00
Jeff Lowdermilk 93ef8b8bcb Make kubectl factory build clients for version
Fix ClientConfigForVersion to actually use provided version.
2015-01-29 17:04:14 -08:00
Satnam Singh 08ce8e80ad Merge pull request #3964 from brendandburns/fixer
Reverse the order of detaching and removing the pd disk.
2015-01-29 16:47:27 -08:00
Justin Santa Barbara e5d5671df0 Work-around for archive bug in SaltStack 2014.7.1
SaltStack 2014.7.1 double-quotes tar filenames which means the file can't
be found.  A workaround is not to specify tar_options, which hits a different
code path.  But that breaks the older version of SaltStack that GCE is locked
to, hence we need the version conditional (thanks @jbeda)

Fixes issue #3932
2015-01-29 19:43:01 -05:00
Brendan Burns a0b8429d2e Reverse the order of unmounting and removing the pd disk.
This should mean that we retry detaching if the original detach fails for some reason.
2015-01-29 16:13:12 -08:00
Clayton Coleman c1a5e14270 Provide a better error when Kubelet pod status is unexpected
Treat HTTP errors with respect, provide a distinct error message
2015-01-29 19:05:41 -05:00
Tim Hockin a1b51d9165 Maybe make services e2e test more resilient to GCE errors 2015-01-29 15:50:46 -08:00
Johan Euphrosine 0415b63ab4 contrib/git-sync: remove sync loop, simplify logic 2015-01-29 15:39:51 -08:00
Brian Grant 0345211e0c Merge pull request #3921 from nikhiljindal/OperationClean
Some more operations code cleanup
2015-01-29 14:54:05 -08:00
Clayton Coleman d072232d4a Allow client.Config to be used for HTTP2 and WebSocket connections
client.Config describes how to make a client connection to a server
for HTTP traffic, but for connection upgrade scenarios cannot be
used because the underlying http.Transport object can't allow the
connection to be hijacked. Reorganize the TLS and connection wrapper
methods so that a sophisticated client can do:

    cfg := &client.Config{...} // from somewhere
    tlsConfig, _ := client.TLSConfigFor(cfg)
    _ := conn.Dial(...)
    rt := MyRoundTripper() // some func that implements grabbing requests
    wrapper, _ := client.HTTPWrappersFor(cfg)
    req := &http.Request{}
    req.Header.Set("Connection-Upgrade", ...)
    _, := wrapper.RoundTrip(req)
    // rt has been invoked with a fully formed Req with auth
    rt.Req.Write(conn)
    // read response for upgrade

It would be good to have utility function that does more of this,
but mostly enabling the HTTP2/SPDY client exec function right now.
2015-01-29 17:43:09 -05:00
Dan Mace 5ee943d683 Support namespacing in cache.Store implementations
Support namespacing in cache.Store by framing the interface functions
around interface{} and providing a key function to each Store implementation.

Implementation of a fix for #2294.
2015-01-29 17:39:49 -05:00