Commit Graph

6203 Commits

Author SHA1 Message Date
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
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
Clayton Coleman
4b5642450e Merge pull request #4352 from liggitt/user_context
Make requesting user available in context
2015-02-13 13:27:09 -05:00
Jeff Lowdermilk
fe045ba630 Merge pull request #4416 from deads2k/deads-fix-merge-order
properly handle mergo map versus value rules
2015-02-13 10:26:11 -08:00
deads2k
941461044b guard against unexpected type during config manipulation 2015-02-13 13:15:47 -05:00
deads2k
2dcaab75f5 allow dots in config set 2015-02-13 13:11:42 -05:00
Clayton Coleman
8440310ea0 Adapt to changes to generic etcd/registry 2015-02-13 13:11:33 -05:00
Clayton Coleman
23d199ded9 Make generic etcd more powerful and return operations from etcd
When we complete an operation, etcd usually provides a response
object.  Return that object up instead of querying etcd twice.
2015-02-13 13:11:33 -05:00
Saad Ali
485cb0b2f9 Merge pull request #4420 from brendandburns/printing
Revert "Revert "Add an event for health check failures.""
2015-02-13 09:50:32 -08:00
Brendan Burns
a2beba5ace Add some retry to envvar log gathering. 2015-02-13 09:35:22 -08:00
Jeff Lowdermilk
3bded83201 Merge pull request #4385 from erictune/docpatch
Update ports doc.
2015-02-13 09:34:52 -08:00
Salvatore Dario Minonne
fda17c1b7a kubectl delete resource : remove all resources 2015-02-13 18:25:41 +01:00
Brendan Burns
4ad3ea438d Revert "Revert "Add an event for health check failures.""
This reverts commit fc4e711a8c.
2015-02-13 09:23:13 -08:00
Eric Tune
629d6657fb Update ports doc.
Fix.
2015-02-13 09:18:40 -08:00
Clayton Coleman
78385b1230 Set 201 when RESTCreater returns a simple api.Status object 2015-02-13 12:12:50 -05:00
Clayton Coleman
abe8adc2e2 Expose new REST strategy methods for Pods 2015-02-13 12:12:50 -05:00
Eric Tune
7e6015141d Merge pull request #4401 from jlowdermilk/local-kubeconfig
Make local clusters work painlessly with kubeconfig
2015-02-13 09:11:36 -08:00
Clayton Coleman
09f18031fe Merge pull request #4285 from brendandburns/auth
Add a more detailed error message for potential auth fails in docker pull.
2015-02-13 12:08:48 -05:00
Eric Tune
e84b5b9e78 Merge pull request #4029 from smarterclayton/security_proposal
Kubernetes pod and namespace security model
2015-02-13 09:08:37 -08:00