Commit Graph

6220 Commits

Author SHA1 Message Date
derekwaynecarr
a0cb252d40 Fix vagrant cluster/kube-up 2015-02-16 18:34:50 -05:00
Clayton Coleman
619f3a6804 Allow ValidationErrorList to be filtered
Expose basic filters on an error list to ignore certain error types.
This can be used by client code to ignore errors on common schema
types like "metadata.name" or the NotFound error type.
2015-02-16 17:45:54 -05:00
Clayton Coleman
6f84bdaba8 Merge pull request #4454 from xiang90/probe
pkg/kubelet: minor cleanup for probe.go
2015-02-16 16:53:58 -05:00
Clayton Coleman
f27bcf50f2 Merge pull request #4461 from deads2k/deads-expose-info-resolver
expose creation APIRequestInfoResolver
2015-02-16 16:51:47 -05:00
Clayton Coleman
eebe00c259 Test namespace overlap in test-integration.sh 2015-02-16 16:31:32 -05:00
Clayton Coleman
7e07d711b8 Provide a helper on client/request.go for full URI
Allows self links to be directly passed
2015-02-16 16:31:32 -05:00
deads2k
3be343449f expose creation APIRequestInfoResolver 2015-02-16 13:56:03 -05:00
Xiang Li
042dc1faa3 pkg/kubelet: uncaptialize error message 2015-02-16 09:33:20 -08:00
Xiang Li
2437e94248 pkg/kubelet: fix wrong code path in runContainer 2015-02-16 09:32:37 -08:00
Xiang Li
13bb378d1c pkg/kubelet: reduce indentation 2015-02-16 08:46:41 -08:00
Xiang Li
edc926ffcb pkg/kubelet: capitalize message in print 2015-02-16 08:40:07 -08:00
Xiang Li
da6d1da12d pkg/kubelet: remove unused var in handlers.go 2015-02-16 08:38:10 -08:00
Clayton Coleman
72da3b4424 Move rest.Pods to pkg/registry/pod/rest.go 2015-02-16 10:09:28 -05:00
Clayton Coleman
7a93af57c0 Remove pods from pkg/registry/etcd/etcd.go since they are in their own type
Altered the master initialization code
2015-02-16 10:09:27 -05:00
Clayton Coleman
247e467217 Collapse pod REST+Registry to a single object using generic/etcd 2015-02-16 10:09:27 -05:00
Mike Danese
4ba8ecd1fb move api.Probe timeout default to central defaults 2015-02-15 23:44:55 -08:00
Xiang Li
3c2ead5b29 pkg/kubelet: minor cleanup for probe.go 2015-02-15 22:25:14 -08:00
Mike Danese
3039f7846c implement RFC7386 JSON Merge Patch 2015-02-15 22:21:10 -08:00
Clayton Coleman
3e2e4714a2 Always set ?namespace in query if specified
Revise our code to only call Request.Namespace() if a namespace
*should* be present.  For root scoped resources, namespace should
be ignored.  For namespaced resources, it is an error to have
Namespace=="".
2015-02-16 00:23:38 -05:00
Clayton Coleman
9175082a1c Split naming behavior out into objects that are derived from the request
Fix bug with cross namespace queries not being possible.  Ensure selflink
is set on lists correctly.
2015-02-16 00:23:38 -05:00
derekwaynecarr
c0ce15c588 Make list watch take a ListFunc and WatchFunc, provide default funcs from client 2015-02-15 22:26:05 -05:00
Mike Danese
9f9153256d fix error where we can't use patch and add cmd-test for patch and file
update
2015-02-15 10:43:35 -08:00
Matt Moore
b27d59d8a9 update images doc to talk about GCR 2015-02-15 10:29:31 -08:00
Clayton Coleman
dc3b327951 Allow runtime.SetList() on an api.List
SetList doesn't allow api.List
2015-02-14 23:37:23 -05:00
Nigel Charman
862065ed8d Update locally.md
Modify etcd link to remove /tag/0.4.6, since kubernetes requires etcd v2.0 or later
2015-02-14 21:48:16 +13:00
Eric Tune
64678b71f3 Merge pull request #4372 from saad-ali/event_compression_doc
Documentation for Event Compression
2015-02-14 00:11:32 -08:00
Salvatore Dario Minonne
bc868b97b8 Fix typos in vagrant.go 2015-02-14 06:20:03 +01:00
Brendan Burns
52738540c7 Merge pull request #4445 from jlowdermilk/e2e-tests
Deflake "Pods should contain environment variables for services" e2e test
2015-02-13 20:17:42 -08:00
Jeff Lowdermilk
6c3166ad13 Deflake Pods should contain environment variables for services 2015-02-13 17:58:29 -08:00
Saad Ali
842867e298 Merge pull request #4438 from gmarek/master
Added instruction for profiling apiserver
2015-02-13 16:09:19 -08:00
Brendan Burns
200ef91ffc Merge pull request #4421 from brendandburns/docs
Add some retry to envvar log gathering.
2015-02-13 16:05:06 -08:00
Saad Ali
1cc9a273a1 Merge pull request #4405 from dchen1107/podstatus
Better debugging log for investigating pod unknown status.
2015-02-13 15:41:33 -08:00
Dawn Chen
1ce999318e Better debugging log for investigating pod unknown status. 2015-02-13 15:27:14 -08:00
Dawn Chen
20dc1c2481 Merge pull request #4410 from brendandburns/fixer
Don't delete the pod infrastructure container on health check failures.
2015-02-13 15:18:27 -08:00
Marek Grabowski
1a161b6522 Added instruction for profiling apiserver 2015-02-14 00:11:38 +01:00
Tim Hockin
baa6af8a7a Merge pull request #4265 from thockin/roadmap
First draft of roadmap to 1.0 update
2015-02-13 15:10:51 -08:00
Filipe Brandenburger
70d37800b7 Simplify usage of os/exec
For now, keep the finishRunning() wrapper but use a straight cmd.Run()
call instead of the convoluted goroutine trying to catch signals.

It turns out that Unix process group handling is enough to interrupt
pending processes when stopping the run with something like a Ctrl+C
which should be enough.

Tested:
- Full e2e run with hack/e2e-test.sh, two tests failed but looks like
  they've been failing before this change.
- Started a hack/e2e.go -v -build and interrupted it with Ctrl+C,
  confirmed that build-release.sh was killed in the process.
2015-02-13 14:53:42 -08:00
Dawn Chen
c8b6c62698 Merge pull request #4433 from vmarmol/purge
Use Docker name (not ID) to parse Kubernetes components.
2015-02-13 14:31:47 -08:00
Eric Mountain
b639f6ece4 Fix "kubectl create with no args" test to verify exit code instead of evaluating (empty) stdout of the command. 2015-02-13 23:18:24 +01:00
Tim Hockin
063ff6677c Merge pull request #4422 from derekwaynecarr/set_difference
Set should have a difference function
2015-02-13 14:16:28 -08:00
Satnam Singh
3001a1deed Merge pull request #4435 from jlowdermilk/kubeconfig-context
Retry #4337: Make gce kubeconfig context include project
2015-02-13 14:14:50 -08:00
Jeff Lowdermilk
aa32f1b2ce Retry #4337: Make gce kubeconfig context include project 2015-02-13 13:31:50 -08:00
Victor Marmol
5d6ad845cc Use Docker name (not ID) to parse Kubernetes components.
Since the parsing function doesn't return an error all the components
returned empty strings. This caused us to enforce the MaxContainerLimit
as a global limit instead of a per-container limit.

Fixes #4413.
2015-02-13 13:08:15 -08:00
derekwaynecarr
e7a0340ad7 Set should have a difference function 2015-02-13 15:39:56 -05:00
Jeff Lowdermilk
b23230e616 Merge pull request #4296 from deads2k/deads-allow-dots
allow dots in config set
2015-02-13 12:27:36 -08:00
Satnam Singh
6625136d80 Enabled Elasticsearch cluster level logging for e2e test clusters 2015-02-13 11:15:47 -08:00
Paulo Pires
4c2819c5eb Fixes #4309 #4362 2015-02-13 19:02:09 +00:00
Clayton Coleman
c977a45864 Merge pull request #4419 from smarterclayton/expand_generic_resources
Expand the generic registry
2015-02-13 13:53:20 -05:00
Jeff Lowdermilk
4d344a355f Merge pull request #4424 from jlowdermilk/fix-kubectl.sh
Unbreak cluster/validate-cluster.sh
2015-02-13 10:49:59 -08:00
Jeff Lowdermilk
d528439ee5 Unbreak cluster/validate-cluster.sh 2015-02-13 10:48:32 -08:00