Commit Graph

1798 Commits

Author SHA1 Message Date
Tim Hockin
51fd21c9e7 Add a Makefile
This is a very simple Makefile that just passes through to the current hack/*
scripts.  Only "make", "make test", and "make clean" are supported for now.
2014-08-29 14:56:27 -07:00
Daniel Smith
54412b35da Merge pull request #1119 from jbeda/rename_output
Make `godep go build ./...` work
2014-08-29 14:49:15 -07:00
Joe Beda
90a9cb3aa1 Only build pause.go under linux.
This makes `godep go build ./...` work.
2014-08-29 14:44:59 -07:00
Joe Beda
ed500cfacb Remove dead code now that we are using godep. 2014-08-29 14:44:59 -07:00
Joe Beda
843ae1fbe2 Rename output/ directory to _output/
go build ./... will ignore any directory starting with an underscore.
2014-08-29 14:44:55 -07:00
bgrant0607
9073d9b163 Merge pull request #1106 from smarterclayton/describe_ecosystem_projects
Describe some ecosystem projects around Kube
2014-08-29 13:47:48 -07:00
Daniel Smith
9928c40ea6 Merge pull request #1099 from smarterclayton/return_resource_version_on_list
Add the resource version to api.*List items from etcd
2014-08-29 13:41:46 -07:00
Joe Beda
d13e59c8d9 Merge pull request #1113 from filbranden/vagrant_salt_master3
Remove workaround for salt-minion startup in vagrant/provision-minion.sh
2014-08-29 09:08:38 -07:00
Filipe Brandenburger
c5520dd39d Remove workaround for salt-minion startup in vagrant/provision-minion.sh
The workaround was not needed, as salt-minion was always correctly
started in the Vagrant minion setup.

The issue reported in #270 was clearly specific do System V style init
scripts and will not affect systemd.

Also remove the inaccurate comment from provision-master.sh, since -X
was not even really in use there.

Tested:
- Performed 3 full `vagrant up` and `vagrant destroy -f` cycles with at
  least 3 minions and up to 6 minions in one case. Checked that
  salt-minion was up in each of the minions using a `systemctl status
  salt-minion` command.
- Started nginx on the cluster using cluster/kubecfg.sh, confirmed it
  was up with `list /pods` and confirmed it was reachable using wget on
  port 8080 of the minions.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-29 08:50:10 -07:00
Clayton Coleman
821f9bd5e7 Merge pull request #1102 from lavalamp/fixApi
Fix incorrect tag in MinionList
2014-08-29 10:54:15 -04:00
Clayton Coleman
ab0d88667c Merge pull request #1104 from lavalamp/fix
Fix flaky scheduler factory test.
2014-08-29 09:18:19 -04:00
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