Commit Graph

6567 Commits (463dcd3ef127dc0f3127d82d9f3356b211ed409d)

Author SHA1 Message Date
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
Saad Ali a8df434c35 Merge pull request #4418 from GoogleCloudPlatform/revert-4408-printing
Revert "Add an event for health check failures" to fix failing v1.3 integration tests
2015-02-13 08:19:37 -08:00
Saad Ali fc4e711a8c Revert "Add an event for health check failures." 2015-02-13 08:10:45 -08:00
Saad Ali c112f8f1bb Merge pull request #4408 from brendandburns/printing
Add an event for health check failures.
2015-02-13 07:59:26 -08:00
Saad Ali 6dca22c9f1 Merge pull request #4409 from brendandburns/docs
Add some docs to the template format.
2015-02-13 07:50:16 -08:00
deads2k fef503932f properly handle mergo map versus value rules 2015-02-13 08:29:00 -05:00
Filipe Brandenburger c2140228fc Merge pull request #4407 from brendandburns/flaky
Return logs for failed and succeeded pods too.
2015-02-12 23:04:36 -08:00
Brendan Burns 5e49a606e1 Address changes. 2015-02-12 21:39:42 -08:00
Brendan Burns 8b7dfc9359 Return logs for failed and succeeded pods too. 2015-02-12 21:36:25 -08:00
Brendan Burns 4dbf98e98f Don't delete the pod infrastructure container on health check failures. 2015-02-12 21:28:32 -08:00
Brendan Burns c03a435501 Add an event for health check failures. 2015-02-12 19:08:23 -08:00
Brendan Burns f63cf05d21 Add some docs to the template format. 2015-02-12 18:29:11 -08:00
Jordan Liggitt 083ce268e0 Put user in context, map requests to context above resthandler layer 2015-02-12 20:58:04 -05:00
Jordan Liggitt ec66e5147e Add user helper methods to context 2015-02-12 20:44:20 -05:00
Zach Loafman 4d141025da Merge pull request #4403 from GoogleCloudPlatform/revert-4337-kubeconfig
Revert "Make gce's kubeconfig context include the gce project"
2015-02-12 17:03:54 -08:00
Zach Loafman e2ec52bfdf Revert "Make gce's kubeconfig context include the gce project" 2015-02-12 17:01:06 -08:00
Brendan Burns 0532c46217 Add a more detailed error message for potential auth fails in docker pull. 2015-02-12 17:00:59 -08:00
Saad Ali ae92274e8d Merge pull request #4402 from MikeJeffrey/docs
Comments go above the sample line in kubectl docs.
2015-02-12 16:43:35 -08:00
Brendan Burns 6ff9e98fee Merge pull request #4377 from pires/upgrade_coreos_kube_to_0_10_1
Upgraded CoreOS getting-started guides to v0.10.1.
2015-02-12 16:40:56 -08:00
Jeff Lowdermilk 61cc821506 Make local clusters work painlessly with kubeconfig 2015-02-12 16:30:41 -08:00
Brendan Burns 18c1dfd61b Merge pull request #4392 from zmerlynn/error_helper
Add expectNoError helper, minor cleanups
2015-02-12 16:20:28 -08:00
Brendan Burns e300d6c94b Merge pull request #4399 from derekwaynecarr/update_cache_func
If an object has no namespace, do not add a leading slash
2015-02-12 16:17:41 -08:00
Brendan Burns 8b66b3f1da Merge pull request #4400 from erictune/no_port_conflict
Make cleanup of local cluster more robust.
2015-02-12 16:16:54 -08:00
Eric Paris a6beb2e7df Autogenerate md documentation for kubectl
This does away with the giant dump from cobra for kubectl and instead
generates md files which contain similar information, but one per verb.
This might work well as part of the cobra project, instead of doing it
in kube, but this gets us nice, linked, documentation right now.  If
people like it, I will try to get something similar into cobra.
2015-02-12 19:08:57 -05:00
Eric Paris 9e9fb9457f automatically generate man pages for kubectl
generate man pages for kubectl using the cobra.Command information.
This will directly create files in (by default) docs/man/man1/ called
kubectl*.1.  Each child verb/cobra command will gets its own man page.
2015-02-12 19:08:52 -05:00
MikeJeffrey 710f01cf2e Running run-gendocs to regenerate kubectl.md 2015-02-12 16:03:09 -08:00
MikeJeffrey ca1e9f8061 Comments go above the sample line in kubectl docs. 2015-02-12 15:49:25 -08:00
Eric Paris 8e64be1c66 Add godeps for man page autogeneration 2015-02-12 18:38:25 -05:00
Eric Paris a70fd60640 use gopkg.in/yaml.v2 in podex
Most of the repo uses gopkg.in/yaml.v2 but podex was using
gopkg.in/v2/yaml.  This means it wasn't buildable with what was in
Godeps.  Use the same version as the rest of the repo to solve the
Godeps problem.
2015-02-12 18:38:25 -05:00
Satnam Singh edea91e519 Merge pull request #4337 from jlowdermilk/kubeconfig
Make gce's kubeconfig context include the gce project
2015-02-12 15:22:26 -08:00
Eric Tune e82b97d237 Make cleanup of local cluster more robust.
Try to cleanup if there is a failure in script at any point.
Handle undefined vars in cleanup.
Wait longer for apiserver.
Exit if apiserver doesn't come up.
2015-02-12 14:29:55 -08:00
Saad Ali 4c49495116 Merge pull request #4398 from yujuhong/fixdoc
locally.md: update the docker version requirement to 1.3
2015-02-12 14:14:18 -08:00
derekwaynecarr 192e186119 If an object has no namespace, do not add a leading slash 2015-02-12 17:14:16 -05:00
Yu-Ju Hong 63a40521b1 locally.md: update the docker version requirement to 1.3 2015-02-12 14:05:26 -08:00
Clayton Coleman 0b3162b3f4 Merge pull request #4306 from saad-ali/eventCompression1
Compress recurring events in to a single event to optimize etcd storage
2015-02-12 16:59:19 -05:00
Filipe Brandenburger 2bb725f81b Merge pull request #4346 from jszczepkowski/master
Initial implementation of kube-dump.sh
2015-02-12 13:42:55 -08:00
Eric Tune dd8f335380 Merge pull request #4376 from dchen1107/podstatus
Fix podstatus issue caused by docker's resource temporarily unavailable issue
2015-02-12 13:16:09 -08:00
Jerzy Szczepkowski f94da1e6aa Initial implementation of kube-dump.sh - script which dumps state of Kubernetes cluster for debugging. Tested on GCE only. This is initial attempt to fix #3500. 2015-02-12 21:48:34 +01:00
Saad Ali cdb93a7c46 Merge pull request #4387 from smarterclayton/rename_try_again_later
Rename TryAgainLater status code to ServerTimeout
2015-02-12 12:23:57 -08:00
Filipe Brandenburger e54fe118d7 Merge pull request #4393 from erictune/no_port_conflict
Show help message in kubectl.sh if no args.
2015-02-12 12:12:35 -08:00
Clayton Coleman c24f4a24b4 Rename TryAgainLater status code to ServerTimeout 2015-02-12 15:01:12 -05:00
Eric Tune 9e015fd216 Handle unset dollar-at.
When no args are passed to a script, "$@" is unset,
which causes a shell error in "nounset" mode.

This change passes an empty string to kubectl in that case
so it can print help.
2015-02-12 11:56:58 -08:00
Alex Robinson 60ab9904d5 Merge pull request #4371 from a-robinson/port
Add extra explanation of the purpose of service's ContainerPort field to the API comments.
2015-02-12 11:45:45 -08:00
Alex Robinson 3301f19a8a Add extra explanation of the purpose of service's ContainerPort field to
the API comments. We were asked about this in issue #4332.
2015-02-12 19:37:58 +00:00
Zach Loafman 6117592905 Add expectNoError helper to handle Expect(err).NotTo(HaveOccurred()) meme
And convert one file
2015-02-12 11:34:07 -08:00
Zach Loafman 62ff434825 Fix Failf line offset reporting 2015-02-12 11:33:56 -08:00
Zach Loafman 9774e9bb7b Remove unnecessary GinkgoDefer()s 2015-02-12 11:33:33 -08:00
Zach Loafman ac8e8cca78 Merge pull request #4280 from rrati/e2e-liveness-4253
E2e liveness 4253
2015-02-12 10:16:00 -08:00
Saad Ali 46f435163b Merge pull request #4386 from smreed/rc-logging
Adds replication controller name to "Too many|few" logging
2015-02-12 09:33:15 -08:00