Commit Graph

2518 Commits (ecd45031b8cec8322fdae58ec67341c741bd212e)

Author SHA1 Message Date
Daniel Smith 50eb2cf59c fix verify-gofmt's version detection 2014-09-24 14:25:21 -07:00
Brendan Burns 89547cfd79 Merge pull request #1431 from thockin/svcenv
Fix docker-links-style env vars for services
2014-09-24 14:24:02 -07:00
Brendan Burns d900fbf6fc Generalize the fit scheduler.
Extract the "fit predicate" from random fit to make it extensible/plugable
2014-09-24 13:56:40 -07:00
derekwaynecarr 91c99e0a48 Initial namespaces proposal 2014-09-24 14:50:40 -05:00
Tim Hockin b2472d8bec Fix docker-links-style env vars for services
This includes 3 changes:

1) Use the Service.Protocol field, rather than hardcoding TCP.
2) Use Service.Port rather than ContainerPort - ContainerPort can be a string
   and has absolutely no meaning to consumers.
3) Beef up tests for these env vars.
2014-09-24 12:29:06 -07:00
Tim Hockin f1f54ac72e Merge pull request #1415 from thockin/svcenv
Add per-service env vars for *_SERVICE_HOST
2014-09-24 12:27:27 -07:00
Dawn Chen 66eadb514a fix rebase issue. 2014-09-24 11:16:47 -07:00
Dawn Chen 0e6ec3cbfc Convert existing kubernetes system to use ContainerStatus, instead of
docker.Container directly.

Conflicts:
	pkg/kubelet/dockertools/docker.go
	pkg/registry/pod/rest.go
2014-09-24 11:16:46 -07:00
Tim Hockin 9564dacf6c Merge pull request #1429 from brendandburns/auth
Fix the scripts. (Again)
2014-09-24 11:12:09 -07:00
Brendan Burns e21f5f7c8f Fix the scripts. 2014-09-24 11:04:25 -07:00
Joe Beda e1a07c0c02 Merge pull request #1424 from dchen1107/cleanup
Fix e2e testing issue
2014-09-24 10:25:06 -07:00
Joe Beda 331fb7e570 Merge pull request #1426 from brendandburns/auth
Fix the scripts.
2014-09-24 10:24:14 -07:00
Brendan Burns 8398dbd367 Fix the scripts. 2014-09-24 09:57:24 -07:00
Dawn Chen bdfd5045f3 Refactory a little bit. 2014-09-24 09:41:30 -07:00
Joe Beda fd60599ad4 Merge pull request #1418 from brendandburns/auth
Complete the mitm prevention on GCE.
2014-09-24 09:30:23 -07:00
Tim Hockin 089c5602fd Add per-service env vars for *_SERVICE_HOST
As a replacement of a single SERVICE_HOST variable, offer a FOO_SERVICE_HOST
variable.  This will help ease the transition to ip-per-service, where there
is no longer a single service host.

# *** ERROR: *** Some files are missing the required boilerplate
# header from hooks/boilerplate.txt:
#   examples/guestbook/redis-slave/run.sh
#
# Your commit will be aborted unless you fix these.
#   COMMIT_BLOCKED_ON_BOILERPLATE
2014-09-24 09:07:21 -07:00
Dawn Chen 4796120f70 Debugging to fix e2e testing issue 2014-09-23 17:35:50 -07:00
Brendan Burns cafd20b233 Complete the mitm prevention on GCE. 2014-09-23 16:51:04 -07:00
Brendan Burns 88fdb659bc Merge pull request #1422 from jhadvig/typo
Typo fix
2014-09-23 16:50:14 -07:00
Brendan Burns 0e11185e23 Merge pull request #1423 from roberthbailey/guestbook-go
Fixed a small typo in the guestbook-go build instructions.
2014-09-23 16:49:59 -07:00
Robert Bailey 2c47883f64 Fixed a small typo in the guestbook-go build instructions. 2014-09-23 16:44:27 -07:00
jhadvig d2709ab9c1 Typo fix 2014-09-24 01:33:39 +02:00
Daniel Smith a725c09855 Merge pull request #1416 from brendandburns/env
Extract the minion registry from the etcd implementation into the pod registry.
2014-09-23 16:19:03 -07:00
Brendan Burns 253bce42fe Extract the minion registry from the etcd implementation into the pod registry where it belongs. 2014-09-23 15:42:59 -07:00
Brendan Burns 31f4aba785 Fix some paths in the Dockerfiles. 2014-09-23 20:58:08 +00:00
Brendan Burns 9c8ba8495d Merge pull request #1299 from Gurpartap/guestbook-go
Rewrite of the Guestbook example in Go
2014-09-23 13:34:15 -07:00
Joe Beda 8efa45b64d Merge pull request #1388 from brendandburns/auth
Add a script for generating CA signed certs, and a client cert.
2014-09-23 11:48:15 -07:00
Brendan Burns d38b498b0f Add a script for generating CA signed certs, and a client cert. 2014-09-23 11:38:29 -07:00
Joe Beda 6df5afb88e Merge pull request #1412 from filbranden/test_integration1
Cleanup hack/test-integration.sh
2014-09-23 09:58:26 -07:00
Filipe Brandenburger 30db3e281d Cleanup hack/test-integration.sh
Proper quoting, error checks, use $KUBE_* variables when applicable, trap to do
cleanup on all errors, call cleanup explicitly on successful exit.

Tested:
- Ran it manually to completion, test run successful.
- Interrupted it during the run, checked that $? was non-zero, etcd was killed.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-09-23 09:37:29 -07:00
Joe Beda 7743f33359 Merge pull request #1379 from runseb/vagrant
Modifications and improvements to the vagrant cluster README
2014-09-23 09:21:04 -07:00
Filipe Brandenburger e08dc20183 Merge pull request #1410 from eparis/no-build-integration
Allow option to not build cmd/integration
2014-09-23 09:09:38 -07:00
Eric Paris a96d16f8c0 Allow option to not build cmd/integration
In case it was built seperately (as in, on Fedora, we cannot use go
install as we do not have write permission to portions of the GOPATH)
2014-09-23 11:56:26 -04:00
Tim Hockin 501144c425 Merge pull request #1406 from thockin/docs
Add a doc on pod states
2014-09-23 08:41:07 -07:00
Tim Hockin 70b74483c0 Add a doc on pod states 2014-09-23 08:40:17 -07:00
Clayton Coleman b0b7f13ade Merge pull request #1404 from lavalamp/scheduler
Add error type to watch.
2014-09-23 11:28:29 -04:00
Filipe Brandenburger 098eda600f Merge pull request #1409 from eparis/use-config-go-in-hack
hack: Switch some $(dirname $0)../blah to use ${KUBE_*} vars
2014-09-23 08:21:53 -07:00
roberthbailey 52500306e5 Merge pull request #1408 from bgrant0607/gcutilfix
Replace --lines= with -n to fix tail on mac os.
2014-09-23 07:37:19 -07:00
Brian Grant b9eee0f0c7 Replace --lines= with -n to fix tail on mac os. 2014-09-23 14:16:43 +00:00
Eric Paris 3a40db8f56 hack: Switch some $(dirname $0)../blah to use ${KUBE_*} vars
This doesn't fix anything broken. But we have config-go which exports
KUBE_REPO_ROOT and KUBE_TARGET.  Using those means the test scripts can
be more easily moved around the repo and still work.  Especially in
hack/test-integration.sh where we use hack/build-go.sh which is going
to use KUBE_TARGET to place the binary, then we use a different method
to find/execute the binary...
2014-09-23 10:10:55 -04:00
Sebastien Goasguen 826680353d Modifications and improvements to the vagrant cluster README 2014-09-23 15:39:16 +02:00
Daniel Smith bab5082a85 Merge pull request #1400 from abhgupta/abhgupta-dev
Adding GetEndpoints method to the client EndpointsInterface
2014-09-22 17:51:42 -07:00
Abhishek Gupta 002a5c6c29 Added test case 2014-09-22 17:40:18 -07:00
Abhishek Gupta 7c662ff065 Adding GetEndpoints method to the client EndpointsInterface 2014-09-22 17:40:18 -07:00
Daniel Smith f211e46f20 handle watch errors everywhere 2014-09-22 17:37:12 -07:00
Joe Beda d65f8e3b90 Merge pull request #1397 from thockin/kubecfg
Make "kubecfg -s <port> run ..." select correctly
2014-09-22 17:21:45 -07:00
Daniel Smith 8fd1fb4337 update pkg/api documentation 2014-09-22 17:08:57 -07:00
Daniel Smith 265f889260 convert etcd errors to watch errors 2014-09-22 17:06:03 -07:00
Daniel Smith 05eff2e910 add new watch event type 2014-09-22 17:06:03 -07:00
Tim Hockin 8b6de5af83 Merge pull request #1390 from smarterclayton/allow_stdin
Allow STDIN to kubecfg via `-c -`.
2014-09-22 16:49:55 -07:00