Commit Graph

4763 Commits (b8333bdeeffc9ecab895a3ebefe70294993c55e3)

Author SHA1 Message Date
Zach Loafman e421e6eecd Merge pull request #3303 from zmerlynn/skip_skydns_test_on_gke
Skip TestClusterDNS on GKE (since DNS is disabled there)
2015-01-07 21:45:28 -08:00
Brendan Burns dba7248d0e Add some more robustness to the curl check. 2015-01-07 21:07:49 -08:00
Brendan Burns eda47206bd Add some retry to the wget checking from container. 2015-01-07 21:05:19 -08:00
George Kuan 06475fc4b4 NewMainKubelet validates Kubelet config parameters
Fixes issue #3202.
* Validates SyncFrequency and minimum GC age and propagates error to RunKubelet
* Defaults for Kubelet config and minor cleanup
* cmd Kubelet MinimumGCAge to 1m instead of 0
2015-01-07 18:50:53 -08:00
Max Forbes c3322bc97d Make an 'allow-ssh-on-all-nodes' firewall rule when on a non-default network. 2015-01-07 18:08:38 -08:00
Brendan Burns a19bb1bd29 Merge pull request #3302 from lavalamp/fix
reuse function; never ever unlock without defer
2015-01-07 17:25:03 -08:00
Zach Loafman f30846ecd5 Skip TestClusterDNS on GKE (since DNS is disabled there)
We'll eventually want to do something fancier here. But the yak needs
to stop growing hair.
2015-01-07 17:22:17 -08:00
Daniel Smith 95dd2d7ca6 reuse function; never ever unlock without defer 2015-01-07 17:07:12 -08:00
Zach Loafman fbda9f4663 Merge pull request #3297 from mbforbes/addNet
GKE: Create network if needed.
2015-01-07 16:53:17 -08:00
Eric Tune c2b3d678c0 Merge pull request #3248 from derekwaynecarr/admission_control_hooks
Implement basic admission control framework
2015-01-07 16:52:49 -08:00
Max Forbes 67f3414ede GKE: Create network if needed. 2015-01-07 16:44:06 -08:00
Tim Hockin 5f67b205a3 Merge pull request #3299 from lavalamp/numericWire
fix overeager find-and-replace
2015-01-07 16:40:14 -08:00
Daniel Smith cc04db13d6 fix overeager find-and-replace 2015-01-07 16:38:27 -08:00
Maxwell Forbes c48536304a Merge pull request #3296 from zmerlynn/fix_gke_network_sigh
GKE: Also need to muck with the firewall rule here
2015-01-07 16:30:19 -08:00
Tim Hockin 5f2dae4dd8 Merge pull request #3195 from lavalamp/numericWire
Add numeric type into api
2015-01-07 16:15:52 -08:00
Zach Loafman 36e2886d95 GKE: Also need to muck with the firewall rule here 2015-01-07 16:12:20 -08:00
Tim Hockin 2c54dd5cb0 Merge pull request #3291 from zmerlynn/disable_gke_cluster_dns
Revert "GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP"
2015-01-07 16:06:50 -08:00
Daniel Smith 963000715a Merge pull request #3294 from erictune/public_storetoers
Move Listers to pkg/client/cache.
2015-01-07 15:56:14 -08:00
Eric Tune 0d4d1e28b2 Merge pull request #3270 from smarterclayton/kubelet_fixes
Cleanup to client initialization in Kubelet
2015-01-07 15:55:38 -08:00
Eric Tune ed74197fde Move Listers to pkg/client/cache.
I would like to use these in kubelet and kube-proxy.
This is the minimal change to get them moved.
I will follow up with changes to make interfaces consistent
and add Listers for other resources.
2015-01-07 15:33:17 -08:00
Daniel Smith 3e0b4cfabc Merge pull request #3269 from smarterclayton/fix_legacy_support
Make RESTClient more generic to API version, simplify version handling
2015-01-07 15:24:02 -08:00
Daniel Smith 2050131b9a ParseOrDie -> MustParse; stop returning pointer 2015-01-07 15:21:35 -08:00
Daniel Smith 35f54addca Update more packages, tests, binaries for quantity
make etcd registry pass test
fix kubelet config for quantity
fix openstack for quantity
fix controller for quantity
fix last tests for quantity
wire into binaries
fix controller manager
fix build for 32 bit systems
2015-01-07 15:21:35 -08:00
Daniel Smith 0d628b3bff Make semantic deep equal public feature
* Use semantic deep equal when validating
* More test cases for deep equal
2015-01-07 15:21:34 -08:00
Daniel Smith 7f49ba0dcf Put quantity into packages
kubelet, GCE, validation, client
2015-01-07 15:21:34 -08:00
Daniel Smith 40d29f4f08 Remove obsolete resources package 2015-01-07 15:21:34 -08:00
Daniel Smith 894a3e6d3f Wire resource.Quantity into api 2015-01-07 15:21:34 -08:00
Clayton Coleman b03fbf90f8 Make RESTClient more generic to API version, simplify version handling
RESTClient is an abstraction on top of arbitrary HTTP endpoints that
follow the Kubernetes API conventions. Refactored RESTClientFor so that
assumptions that are Kube specific happen outside of that method (so
others can reuse the RESTClient). Added more validation to client.New
to ensure clients give good input. Exposed APIVersion on RESTClient
as a method so that wrapper code (code that adds typed / structured
methods over rest endpoints like client.Client) can more easily make
decisions about what APIVersion it is running under.
2015-01-07 18:03:34 -05:00
Brendan Burns 86b26a4289 Merge pull request #3287 from smarterclayton/endpoints_controller_is_chatty
endpoints controller is too verbose
2015-01-07 14:50:42 -08:00
Zach Loafman a203410f15 Revert "GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP"
We actually can't yet support cluster DNS inside GKE yet; it conflicts
with how we handle startup internally.

This reverts commit fdccfe970d.
2015-01-07 14:50:10 -08:00
Daniel Smith f5c179f83d Merge pull request #3288 from dchen1107/cleanup
Using google/cadvisor:0.7.1 instead of :latest
2015-01-07 14:47:38 -08:00
Clayton Coleman 16683b409f endpoints controller is too verbose
Logging at v(3) instead of v(0)
2015-01-07 17:19:49 -05:00
Dawn Chen 6cb7f0451c Using google/cadvisor:0.7.1 instead of :latest 2015-01-07 14:14:20 -08:00
Tim Hockin d314862e46 Merge pull request #3285 from erictune/public_reflectors
Make Reflector helpers reusable.
2015-01-07 14:10:57 -08:00
Eric Tune 7d5ac856c5 Make Reflector helpers reusable.
Scheduler uses Reflector from pkg/client/cache.
It defines some helper classes.
I'd like to use those helpers with pkg/client/cache
in kube-proxy and kubelet too.
2015-01-07 13:49:37 -08:00
Tim Hockin 9afede7e61 Merge pull request #3278 from brendandburns/rel8
Create release 0.8.0
2015-01-07 13:14:49 -08:00
Tim Hockin 2b687371ac Merge pull request #3272 from rjnagal/cleanup
Add skydns to deps.
2015-01-07 13:08:33 -08:00
Rohit Jnagal 939cc26592 Add skydns to deps.
godep build fails without this.
Also pulls in github.com/miekg/dns.
rackspace/gophercloud doesn't seem to need kr/text and golang-pretty anymore.
2015-01-07 20:55:54 +00:00
Tim Hockin 6b0118321e Merge pull request #3280 from zmerlynn/gke_network
Allow specifying GCE network in GKE provider, default to "e2e" for tests
2015-01-07 12:49:01 -08:00
Brendan Burns 5963c1735e Merge pull request #3283 from GoogleCloudPlatform/revert-3273-fix_master_conflict
Revert "Fix inflight merge conflict by adapting rollingupdate to #2861"
2015-01-07 12:43:26 -08:00
Brendan Burns b11e40cbea Merge pull request #3282 from GoogleCloudPlatform/revert-2861-deads-add-clicfg-types
Revert "add kubeconfig types"
2015-01-07 12:43:19 -08:00
Brendan Burns cfffe7049c Revert "Fix inflight merge conflict by adapting rollingupdate to #2861" 2015-01-07 12:42:28 -08:00
Brendan Burns 02dbad7094 Revert "add kubeconfig types" 2015-01-07 12:39:37 -08:00
Zach Loafman 15f0068c7d Allow specifying GCE network in GKE provider, default to "e2e" for tests 2015-01-07 12:18:11 -08:00
Brendan Burns 39d1c1aa30 Merge pull request #3255 from brendandburns/master
Add a little bit more logging to a test
2015-01-07 11:48:42 -08:00
Brendan Burns 0d69093b63 Merge pull request #3271 from PhilippeDupont/patch-1
Update etcd-http-read-timeout to match with coreos validator
2015-01-07 11:46:43 -08:00
derekwaynecarr a56087cdf8 Remove client from attributes, remove admission control interface, fix-up error codes 2015-01-07 14:42:31 -05:00
derekwaynecarr 2820c2c601 Add plugin tests 2015-01-07 14:42:31 -05:00
derekwaynecarr 5ceffe2625 Add tests to ensure resthandler invokes admission control 2015-01-07 14:42:31 -05:00
derekwaynecarr 74d2ee69eb Fix boilerplate and make stub controller 2015-01-07 14:42:31 -05:00