Commit Graph

3411 Commits (62bd634c07d0288eb6bf14346a79837023a7030f)

Author SHA1 Message Date
Deyuan Deng a7bdb362da Fix local cluster scripts 2014-11-02 23:30:14 -05:00
Brendan Burns 32a04e48fd Make endpoints return 400 instead of 500 2014-11-02 20:08:06 -08:00
Brendan Burns b0c5d3b022 Add support for a 'log' command to kubectl. 2014-11-02 19:54:19 -08:00
Cole Mickens da214a9517 Add net-tools pre-req to Vagrant instructions
Adds a note mentioning that `net-tools` are required for bridging VirtualBox's host networks. Added a similar note under the troubleshooting section.
2014-11-02 19:27:43 -08:00
Eric Tune 4b74be0f06 Improve integration test
Use some constants for tokens.
Refactor tokenfile creation to function.
Reorder some test cases to make lookups follow creates so they succeed.
Add expected status code to test cases (some are not quite what expected,
so filed bugs #2112, #2113, #2114)
Check expected status codes.
Close Body after each iterations so that we don't run out of file handles
  when I add even more test cases in the next PR.
Handle that it is unpredictable whether status 200 or 202 is returned.
2014-11-02 16:31:20 -08:00
Brendan Burns f02fe2da1b Deflake the TestCreate test, by adding an explicit wait. 2014-11-02 12:38:31 -08:00
Brendan Burns 808be2d13b Merge pull request #2119 from ddysher/fix-flag-change
Fix minion_cache_ttl and minion_regexp flag change.
2014-11-01 22:47:52 -07:00
Deyuan Deng f1a569872a Fix minion_cache_ttl and minion_regexp flag change. 2014-11-02 00:36:34 -04:00
Deyuan Deng 290749b1ab Merge pull request #2118 from brendandburns/fix
Fix a bunch of places where the -machines flag was still attached to the apiserver
2014-11-02 00:26:06 -04:00
Brendan Burns 8d34231381 Fix a bunch of places where the -machines flag was still attached to the apiserver. 2014-11-01 20:38:45 -07:00
Joe Beda bbb66af3db Merge pull request #2092 from jbeda/1729-hack-build
Rationalize `build` and `hack` directories
2014-11-01 18:02:12 -07:00
Joe Beda 5d33ce46cc Rework hack/ and build/ directories.
* Rewrite a bunch of the hack/ directory with modular reusable bash libraries.
* Have 'build/*' build on 'hack/*'.  The stuff in build now just runs hack/* in a docker container.
* Use a docker data container to enable faster incremental builds.
* Standardize output to _output/{local,dockerized}/bin/OS/ARCH/*.  This regularized placement makes cross compilation work.
* Move travis specific scripts under hack/travis

With new dockerized incremental builds, I can do a no-op `make quick-release` in ~30s.  This is a significant improvement.
2014-11-01 17:56:41 -07:00
Deyuan Deng 88a7097c23 Merge pull request #2110 from smarterclayton/local_up_cluster_fails
hack/local-up-cluster fails to even launch apiserver
2014-11-01 17:06:40 -04:00
Clayton Coleman c1c11557a4 hack/local-up-cluster fails to even launch apiserver
--machines was removed but still referenced in hack/local-up-cluster.
This is not a total fix, but at least allows the apiserver to start.
2014-11-01 12:20:16 -04:00
Clayton Coleman 6e1527ed06 test-cmd.sh can fail if public IP not available
test-cmd runs a 127.0.0.1 version of the apiservers, but does not
set --public_address_override, which means it can fail on some systems
(like Macs) which don't expose a bindable external port by default.

Since reachability is not necessary for test-cmd.sh today, set
public_address_override to 127.0.0.1
2014-11-01 12:19:13 -04:00
Clayton Coleman 10de0d1933 Merge pull request #2108 from brendandburns/fix
Fix a missing lock in the fake etcd client.
2014-11-01 11:36:21 -04:00
Brendan Burns cf4fd8753f Fix a missing lock in the fake etcd client. 2014-10-31 21:36:03 -07:00
Brendan Burns f44bb9d673 Merge pull request #2104 from jbeda/gcs-docker-install
Get docker deb from GCS
2014-10-31 21:15:06 -07:00
Joe Beda 29455398e6 Get docker deb from GCS.
Also lock to 1.3.0 due to issues in 1.3.1 (docker/docker#8889)
2014-10-31 16:27:00 -07:00
bgrant0607 2ab2911856 Merge pull request #2083 from lavalamp/eventing2
Add events to kubecfg's list of resource types
2014-10-31 13:40:58 -07:00
Clayton Coleman 203a3d0cec Merge pull request #1847 from erictune/authz
Add basic authorization.
2014-10-31 15:15:32 -04:00
Eric Tune 55c2d6bbbb Add basic Authorization.
Added basic interface for authorizer implementations.
Added default "authorize everything" and "authorize nothing
implementations.
Added authorization check immediately after authentication check.
Added an integration test of authorization at the HTTP level of
abstraction.
2014-10-31 12:04:33 -07:00
Brendan Burns 893291d81d Merge pull request #1997 from ddysher/split-master
Separate minion controller from master.
2014-10-31 11:23:58 -07:00
bgrant0607 bf30e91c56 Merge pull request #2096 from brendandburns/master
Fix a flaky test by draining the worker pool after syncing.
2014-10-31 10:48:05 -07:00
Brendan Burns 69ca97a41c Fix a flaky test by draining the worker pool after syncing. 2014-10-31 09:52:01 -07:00
Brendan Burns 81c538806b Add a link to the contrib/recipes directory. 2014-10-31 09:26:52 -07:00
Brendan Burns e8b5bad5b9 Merge pull request #2084 from jeefy/master
Community Recipes section
2014-10-31 09:24:59 -07:00
bgrant0607 e7922489ac Merge pull request #1851 from erictune/dev_doc
Separate design and user docs
2014-10-31 09:06:46 -07:00
Eric Tune c47693c0d5 Separated user, dev, and design docs.
Renamed: logging.md -> devel/logging.m
Renamed: access.md -> design/access.md
Renamed: identifiers.md -> design/identifiers.md
Renamed:    labels.md -> design/labels.md
Renamed:    namespaces.md -> design/namespaces.md
Renamed:    security.md -> design/security.md
Renamed:    networking.md -> design/networking.md

Added abbreviated user user-focused document in place of most moved docs.

Added docs/README.md explains how docs are organized.
Added short, user-oriented documentation on labels
Added a glossary.
Fixed up some links.
2014-10-31 08:35:53 -07:00
Brendan Burns a18cdac616 Merge pull request #2014 from satnam6502/fluentd-ek-colo
Fluentd example with Elasticsearch and Kibana in the same pod
2014-10-30 21:53:34 -07:00
Brendan Burns bea70f42e5 Merge pull request #2015 from satnam6502/fluentd-ek
Fluentd example with Elasticsearch and Kibana in separate pods
2014-10-30 21:52:28 -07:00
Brendan Burns 448c292ecc Merge pull request #2021 from satnam6502/fluentd-gcp
Demo files for logging for Fluentd and GCP
2014-10-30 21:52:08 -07:00
Brendan Burns 69ad5c9bff Merge pull request #2077 from dchen1107/cleanup
PodUpdate only has the delta changes, not full snapshot of all desired
2014-10-30 21:46:26 -07:00
Brendan Burns 563311071d Merge pull request #2090 from ddysher/stop-httptest-server
Stop httptest server.
2014-10-30 21:44:53 -07:00
Brendan Burns c6df93d76e Merge pull request #2082 from lavalamp/fix
Fix self linking of objects returned in lists.
2014-10-30 21:43:31 -07:00
Deyuan Deng acf9d23b32 Stop httptest server. 2014-10-30 21:37:08 -04:00
Deyuan Deng 019b7fc74c Separate minion controller from master. 2014-10-30 20:24:15 -04:00
Clayton Coleman 41f0929384 Merge pull request #2044 from erictune/fix_mux
Allocate mux in master.New()
2014-10-30 20:15:57 -04:00
Daniel Smith 790a88c6ea Merge pull request #1964 from dchen1107/cadvisor
Add /boundPods to Kubelet
2014-10-30 16:46:44 -07:00
Dawn Chen a1e79048a6 Add /podSpecs to Kubelet 2014-10-30 16:38:08 -07:00
Jeffrey Sica a8af6c8bfc fixed spelling mistake 2014-10-30 19:20:22 -04:00
Jeffrey Sica 16ef3316d8 updated footer formatting 2014-10-30 19:12:20 -04:00
Jeffrey Sica 2306992b7e Created contrib/recipes 2014-10-30 19:08:46 -04:00
Daniel Smith b6dd5d4cff Add events to kubecfg's list of resource types (kubectl appears to be correct already) 2014-10-30 15:34:01 -07:00
Joe Beda f75eda25af Merge pull request #2080 from jbeda/2078-fix-containervm
Use the Container VM image in the google-cloud project.
2014-10-30 15:05:24 -07:00
Daniel Smith b28234fac6 Fix self linking of objects returned in lists. 2014-10-30 15:04:11 -07:00
Daniel Smith b2b090c8f4 Merge pull request #2076 from jbeda/1902-clean-tars
Don't include '.' in release tars.
2014-10-30 13:28:24 -07:00
Daniel Smith 64574dcc44 Merge pull request #2074 from derekwaynecarr/ns_watch
Fix watch by namespace
2014-10-30 12:56:50 -07:00
Satnam Singh 70245bc412 Fluentd example with Elasticsearch and Kibana in separate pods 2014-10-30 12:29:44 -07:00
Joe Beda 4c8dbbc346 Use the Container VM image in the google-cloud project.
Fixes #2078
2014-10-30 11:29:25 -07:00