Commit Graph

2093 Commits

Author SHA1 Message Date
Filipe Brandenburger
9d6bbb7a64 Merge pull request #1108 from thockin/build_cleanups
Build tweaks
2014-08-28 23:31:55 -07:00
Tim Hockin
f0c3896281 Build tweaks
Wrap long lines.
Add GOFLAGS support to build and test.
Comments.
2014-08-28 22:56:00 -07:00
Clayton Coleman
6c43c8f935 Describe some ecosystem projects around Kube 2014-08-28 23:38:58 -04:00
Daniel Smith
dd862a7c53 Fix flaky scheduler factory test. 2014-08-28 20:32:20 -07:00
Clayton Coleman
bafc422ac0 Add the resource version to api.*List items from etcd
Allows clients to watch more easily (can invoke Get, then
Watch).
2014-08-28 23:17:00 -04:00
Daniel Smith
a2b03ea93b Fix incorrect tag in MinionList 2014-08-28 20:06:17 -07:00
Daniel Smith
c380dd0426 Merge pull request #1100 from ddysher/local-start-scheduler
Start scheduler locally.
2014-08-28 19:42:34 -07:00
Deyuan Deng
c63205b0a7 Add quotes for variable; change shell redirection. 2014-08-28 22:31:53 -04:00
Deyuan Deng
9fed990da6 Start scheduler locally. 2014-08-28 20:48:36 -04:00
Daniel Smith
e30d229a34 Merge pull request #1097 from bcwaldon/remove-code
Remove unnecessary parameter from NewRegistry
2014-08-28 17:37:05 -07:00
bgrant0607
892459ce27 Merge pull request #1084 from thockin/roadmap
Roadmap Updates
2014-08-28 17:31:56 -07:00
Daniel Smith
93818a9ce0 Merge pull request #1095 from dchen1107/cleanup
Fixed kubelet /healthz by using healthz package
2014-08-28 17:25:56 -07:00
Joe Beda
788b23cb5c Merge pull request #1096 from jbeda/fix-jinja-map
Make salt configs work with Jinja 2.6.
2014-08-28 17:05:43 -07:00
Joe Beda
2ac0770694 Make salt configs work with Jinja 2.6.
Fixes #1089
2014-08-28 16:54:14 -07:00
Brian Waldon
816c4a3c76 Remove unnecessary parameter from NewRegistry 2014-08-28 16:52:45 -07:00
Dawn Chen
223fb6e610 Fixed kubelet /healthz by using healthz package
Fixed #1094
2014-08-28 15:34:39 -07:00
Daniel Smith
3c49aa96fe Merge pull request #1026 from lavalamp/redirect
Add simple service redirection
2014-08-28 14:54:10 -07:00
Tim Hockin
ee2df8683c Update roadmap
We took a hard look at 1.0 and what things ae really REQUIRED to get to a
stable release that is "useful".  This required moving some things we thought
were really important but not CRITICAL down the list.

For now they are stricken from this doc, but I expect this doc to start
growing a "post 1.0" list soon.

Things stricken and why:

Using the host network: This is primarily a performance optimization, but it
causes potential problems with other uses of HostPorts.  We'd rather focus on
fixing perf problems than dodging them.  We can revisit later if there is a
strong case for it.

Representation of Ports in the Manifest structure: We discussed and decided
that, since HostPort semantics have changed, this matters less than before.

Scenarios where IP-per-pod is hard or impossible: We're still game to help
people figure out how to make it work, but we don't see a case for making k8s
1.0 work in a fundamentally different mode.  Too much churn and risk.  We can
revisit later, if needed.

Auto-scaling controller: We really want this, but it's not critical to making
k8s "useful".

Pluggable authentication: Overlaps with the other identity topic.  Having one
topic seems clearer.

Pod spreading: We still want this, but it's not critical for 1.0.

Container status snippets: We still want this, but it's not critical for 1.0.

Docker-daemon-kills-all-children-on-exit problem: This is still a big problem,
but we're not going to gate our 1.0 on something we don't control.  This has
to be documented as a shortcoming in general.

Interconnection of services: expand / decompose the service pattern: overlaps
with the other services topic.

Recipes for settings where networking is not like GCE: This is happening in
the form of cloudprovider modules, but is not going to gate 1.0.
2014-08-28 12:42:22 -07:00
Daniel Smith
27a18684bf Merge pull request #1074 from smarterclayton/validate_client_input
Client should validate the incoming host value
2014-08-28 10:56:58 -07:00
Clayton Coleman
818f357128 Client should validate the incoming host value
Convert host:port and URLs passed to client.New() into the proper
values, and return an error if the value is invalid.  Change CLI
to return an error if -master is invalid.  Remove Client.rawRequest
which was not in use, and fix the involved tests. Add NewOrDie

Preserves the behavior of the client to not auth when a non-https
URL is passed (although in the future this should be corrected).
2014-08-28 13:47:36 -04:00
Joe Beda
fa17697194 Merge pull request #1072 from davidreynolds/master
s/install/get
2014-08-28 10:42:47 -07:00
Daniel Smith
e2895c3bd8 Merge pull request #1055 from brendandburns/flake
Add the ability to multiple test iterations without rebuilding.
2014-08-28 10:31:44 -07:00
Clayton Coleman
2f74a15a7b Merge pull request #1080 from filbranden/vagrant_salt_master1
Fix `which salt-master` warning in Vagrant startup
2014-08-28 13:17:34 -04:00
Daniel Smith
8072f69a4c Merge pull request #1054 from filbranden/build_without_godep
Build without godep
2014-08-28 10:07:05 -07:00
Clayton Coleman
1efb3e55bd Merge pull request #1083 from smarterclayton/clean_etcd_in_tests
Add a client integration test
2014-08-28 13:03:28 -04:00
brendandburns
b743c3de77 Merge pull request #1082 from smarterclayton/incorrect_manifest_validation
Incorrect validation error for container image
2014-08-28 09:32:29 -07:00
brendandburns
7d7c65aa0f Merge pull request #1048 from doublerr/rackspace-kubeup
Add Rackspace support for dev-build-and-up
2014-08-28 09:14:48 -07:00
Ryan Richard
d57a6b8cf0 Add rackspace getting started link to README.md 2014-08-28 10:37:59 -05:00
Ryan Richard
2565164a8d Add Rackspace support for dev-build-and-up 2014-08-28 10:36:58 -05:00
Clayton Coleman
407eb785e1 Merge pull request #1081 from VojtechVitek/typos
Fix typos in pkg docs
2014-08-28 10:10:34 -04:00
Clayton Coleman
47c7c83dad Add a client integration trip that creates a pod 2014-08-28 09:59:11 -04:00
Clayton Coleman
e840062c65 Delete all keys prior to running integration test 2014-08-28 09:58:39 -04:00
Clayton Coleman
cc1ab0a3db Incorrect validation error for container image 2014-08-28 09:58:16 -04:00
Vojtech Vitek (V-Teq)
5500bbade6 Fix typos in pkg docs
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-08-28 11:43:35 +02:00
Filipe Brandenburger
86c1ddc121 Fix which salt-master warning in Vagrant startup
The `which` command in Fedora 20 (differently from the one in Debian)
prints to stderr when the binary is not found. Redirect both stdout and
stderr to /dev/null to prevent messages from being printed by `which`.

Check whether the binary exists or not by the exit status of `which`
(non-zero means the binary does not exist) instead of checking for empty
output.

Tested:
- Started a Vagrant cluster with `vagrant up` and confirmed these
  messages were gone. Checked master and minions for Kubernetes
  components using the systemd status commands.
- Confirmed that the same error message for salt-minion is also
  suppressed from the output with this patch.

Fixes: Issue #1079

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-27 23:15:08 -07:00
Brendan Burns
9fce47ac68 Add the ability to multiple test iterations without rebuilding.
Address comments.
2014-08-27 22:07:40 -07:00
Daniel Smith
4379fabd5e Merge pull request #1075 from jbeda/tweak-contrib
Update CONTRIBUTING.md for godep.
2014-08-27 21:39:42 -07:00
Joe Beda
b864c2ce3d Merge pull request #1076 from filbranden/config_environment1
More config-go.sh cleanup
2014-08-27 21:31:46 -07:00
Filipe Brandenburger
0ade8a5cf4 Do not leak undocumented variables from config-go.sh
Run the snippet that creates the output/go/ tree in a subshell.

Tested:
- Built it with hack/build-go.sh
- Ran release/build-release.sh successfully.
- Moved away the git tree to confirm no regression in PR #1073.
- Sourced hack/config-go.sh in the shell, confirmed no variable or
  function other than the expected ones leaked into the environment.
- Used `git grep` to confirm the no longer exported variables were
  not in use by any script other than config-go.sh.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-27 21:17:47 -07:00
Filipe Brandenburger
391cd856c1 Use cd and pwd in a subshell to define ${KUBE_REPO_ROOT}
The old method (using `readlink`) was convoluted and not portable. We
can achieve the same result using only bash builtins.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-27 21:17:24 -07:00
Filipe Brandenburger
09dd081543 Document public KUBE_* environment variables and export them
Add a section for environment variables in config-go.sh. Document the
three public environment variables defined by this script. Make sure the
variables get exported so that they can be used by commands spawned by a
shell that sourced the config script.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-27 21:14:30 -07:00
Joe Beda
e13d91763e Update for godep. 2014-08-27 20:57:28 -07:00
Daniel Smith
4de254444e Add simple service redirection 2014-08-27 20:51:41 -07:00
Joe Beda
dcf9f30592 Merge pull request #1070 from bcwaldon/fix-make-binaries
Add plugin/ to build dir
2014-08-27 20:37:12 -07:00
Filipe Brandenburger
74695d281d Merge pull request #1073 from filbranden/vagrant_empty_array1
Fix `line 55: ldflags[*]: unbound variable`
2014-08-27 19:47:12 -07:00
Filipe Brandenburger
e33d4678e6 Fix line 55: ldflags[*]: unbound variable
This is caused by bash thinking that an empty array is the same as an
undefined variable and `set -o nounset` treating that as an error.

Fix that by using an empty string as the default for the expansion.

Fixes PR #1069 (6e25f60288).

Tested:
- Before this patch:
  $ mv .git .gitbackup
  $ hack/build-go.sh
  /home/filbranden/devel/kubernetes/hack/config-go.sh: line 55: ldflags[*]: unbound variable

- After this patch:
  $ mv .git .gitbackup
  $ rm -rf output/
  $ hack/build-go.sh
  $ output/go/bin/kubelet -version
  Kubernetes version 0.1+, build (unknown)

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-27 19:04:48 -07:00
David Reynolds
462314e68d s/install/get
"install" didn't work for me, but "get" did.
2014-08-27 18:40:49 -07:00
Daniel Smith
0965c4ee77 Merge pull request #1050 from brendandburns/docs
Add initial docs for flake hunting.
2014-08-27 18:18:19 -07:00
Brian Waldon
6b0b4f8522 Add plugin/ to build dir 2014-08-27 17:43:24 -07:00
Joe Beda
b1ebfd4824 Merge pull request #1063 from filbranden/versioning_fixes2
Grab complete version information from git
2014-08-27 17:42:36 -07:00