Commit Graph

24011 Commits (5088d0e1474c25facdb1126ed0f885b4c6425a8b)

Author SHA1 Message Date
Clayton Coleman d6d4a17db6 Allow clients to request most recent container logs
Many users attempt to use 'kubectl logs' in order to find the logs
for a container, but receive no logs or an error telling them their
container is not running. The fix in this case is to run with '--previous',
but  this does not match user expectations for the logs command.

This commit changes the behavior of the Kubelet to return the logs of
the currently running container or the previous running container unless
the user provides the "previous" flag. If the user specifies "follow"
the logs of the most recent container will be displayed, and if it is
a terminated container the logs will come to an end (the user can
repeatedly invoke 'kubectl logs --follow' and see the same output).

Clean up error messages in the kubelet log path to be consistent and
give users a more predictable experience.

Have the Kubelet return 400 on invalid requests
2016-01-31 17:47:29 -05:00
Chao Xu 90b4662d8d Add services/status path, and let the service controller uses Services.UpdateStatus() 2016-01-31 12:39:45 -08:00
Prayag Verma cef8672855 Fix Typos
Minor spelling mistakes -
descibe > describe
menioned > mentioned
compatiblity > compatibility
programatic > programmatic
2016-02-01 01:39:12 +05:30
Chao Xu 55f039fd53 add an adapter for EventSink 2016-01-31 11:36:36 -08:00
Chao Xu e2d02abb83 fix fixture for #17922 2016-01-31 11:36:36 -08:00
Chao Xu c1b4d28a03 add an adaption function to adapt old client 2016-01-31 11:36:36 -08:00
k8s-merge-robot 870220e0f1 Merge pull request #20089 from mwielgus/hpa-annotations
Auto commit by PR queue bot
2016-01-31 10:12:48 -08:00
Marcin 23e74368b9 HPA annotation structs for Custom Metrics 2016-01-31 17:27:03 +01:00
k8s-merge-robot a81fa2f926 Merge pull request #18827 from sdminonne/workflow_resource
Auto commit by PR queue bot
2016-01-31 02:29:20 -08:00
k8s-merge-robot 4ee1bd5b50 Merge pull request #20342 from lavalamp/doc-flaky-test
Auto commit by PR queue bot
2016-01-31 02:15:38 -08:00
k8s-merge-robot f915ca55d0 Merge pull request #20095 from liggitt/load_tls_files
Auto commit by PR queue bot
2016-01-30 20:25:33 -08:00
k8s-merge-robot 3db1a6c3ce Merge pull request #19976 from aarondav/elb-timeout
Auto commit by PR queue bot
2016-01-30 18:57:56 -08:00
Alex Robinson f684e80b1f Merge pull request #20067 from justinsb/aws_test_defaults
AWS: Change config-test defaults to match GCE
2016-01-30 17:42:28 -08:00
Alex Robinson 52cc7d9b23 Merge pull request #19929 from luxas/fix_hyperkube_version
Update docker and docker-multinode docs on master to require 1.2.x
2016-01-30 17:40:28 -08:00
k8s-merge-robot 6a2a0e621b Merge pull request #19686 from janetkuo/rollback
Auto commit by PR queue bot
2016-01-30 17:26:05 -08:00
k8s-merge-robot 2ab16bda17 Merge pull request #19882 from janetkuo/kubectl-rollout-command
Auto commit by PR queue bot
2016-01-30 16:52:55 -08:00
Alex Robinson ae5a6e86df Merge pull request #20137 from mqliang/fake-time
reuse fake clock in the kube repo for kubelet unit tests
2016-01-30 16:37:44 -08:00
Janet Kuo 3396db9510 Add rollback subresource; add rollback logic to deployment controller 2016-01-30 16:00:34 -08:00
k8s-merge-robot 470b69b590 Merge pull request #20310 from janetkuo/remove-deployment-e2e-flaky
Auto commit by PR queue bot
2016-01-30 15:52:54 -08:00
k8s-merge-robot 11885120c6 Merge pull request #20305 from timstclair/summary-api
Auto commit by PR queue bot
2016-01-30 15:23:16 -08:00
k8s-merge-robot a9a65e70b0 Merge pull request #20371 from pmorie/secrets-dotfiles-docs
Auto commit by PR queue bot
2016-01-30 13:47:01 -08:00
k8s-merge-robot 4ed43968e0 Merge pull request #19581 from janetkuo/deployment-version
Auto commit by PR queue bot
2016-01-30 13:34:59 -08:00
Alex Robinson a81e6c3f4f Merge pull request #20307 from dchen1107/test1
Deprecated soon: override /etc/init.d/docker file on containervm image,
2016-01-30 13:32:41 -08:00
Alex Robinson fdc2f39503 Merge pull request #20322 from feiskyer/kubectl-check-image
Check "image" for --expose
2016-01-30 13:31:45 -08:00
k8s-merge-robot 03ed851c11 Merge pull request #20252 from smarterclayton/parameter_codec
Auto commit by PR queue bot
2016-01-30 13:07:52 -08:00
k8s-merge-robot 6f66dbb9ab Merge pull request #20127 from smarterclayton/remove_conversion_scheme
Auto commit by PR queue bot
2016-01-30 12:39:44 -08:00
Prashanth Balasubramanian 3726355887 Mark L7 tests as Feature:Ingress 2016-01-30 12:26:31 -08:00
k8s-merge-robot 77dcd470d2 Merge pull request #20264 from Random-Liu/cleanup-config
Auto commit by PR queue bot
2016-01-30 12:06:04 -08:00
Janet Kuo 42f712467e Use ListOptions when listing RCs in deployment 2016-01-30 12:04:35 -08:00
Janet Kuo c84a0371a2 Deployment adds version info to its new rc 2016-01-30 12:04:35 -08:00
k8s-merge-robot 9fef5f2938 Merge pull request #19785 from Random-Liu/remove-get-podstatus-and-apipodstatus
Auto commit by PR queue bot
2016-01-30 11:35:26 -08:00
Clayton Coleman 8692d260f8 Use Parameter codec in request.VersionedParams() 2016-01-30 14:14:20 -05:00
Clayton Coleman 60b66665e1 Move conversion.Scheme to runtime
There is only one type registry to rule them all
2016-01-30 14:12:40 -05:00
Alex Robinson 9c099bf529 Merge pull request #20271 from liggitt/event_panic
Handle panic in async event reporting
2016-01-30 10:49:38 -08:00
Alex Robinson 1903c4eb51 Merge pull request #19605 from aveshagarwal/master-sort-by-panic
Fix panic when sort-by is used with kubectl get.
2016-01-30 10:48:56 -08:00
Alex Robinson 5c53b3a13b Merge pull request #20335 from aveshagarwal/master-integration-tests-issue
Fix docker version errors in integration tests.
2016-01-30 10:40:06 -08:00
Alex Robinson 1362316c69 Merge pull request #20360 from ihmccreery/draconian-slow
Demote 'Pods should have their auto-restart back-off timer reset on image update' to [Slow]
2016-01-30 10:37:34 -08:00
Paul Morie c2063833f2 Add docs about dotfiles in secret volumes 2016-01-30 12:47:05 -05:00
k8s-merge-robot 783d1d00d7 Merge pull request #20139 from janetkuo/rcList-namespace
Auto commit by PR queue bot
2016-01-30 09:42:35 -08:00
k8s-merge-robot ef851cd7d1 Merge pull request #20261 from yifan-gu/rkt_cmd_args
Auto commit by PR queue bot
2016-01-30 09:12:25 -08:00
k8s-merge-robot 1140c12e58 Merge pull request #20245 from mesosphere/jdef_fix_746_remove_git_binary_dependency_conformance
Auto commit by PR queue bot
2016-01-30 08:41:46 -08:00
k8s-merge-robot 5b5f170a50 Merge pull request #20239 from mwielgus/hpa-client-cm
Auto commit by PR queue bot
2016-01-30 08:06:05 -08:00
k8s-merge-robot e4c5f892c6 Merge pull request #20234 from mml/update-objects
Auto commit by PR queue bot
2016-01-30 07:32:25 -08:00
k8s-merge-robot b1dc58144e Merge pull request #20147 from mfanjie/myfeature
Auto commit by PR queue bot
2016-01-30 07:01:47 -08:00
k8s-merge-robot 34f4a03f62 Merge pull request #20103 from mml/drain-followup
Auto commit by PR queue bot
2016-01-30 06:25:06 -08:00
k8s-merge-robot ce9f93df2e Merge pull request #20061 from mikedanese/copypaste
Auto commit by PR queue bot
2016-01-30 05:52:26 -08:00
k8s-merge-robot 1f8bdd2748 Merge pull request #20059 from hongchaodeng/kubemark
Auto commit by PR queue bot
2016-01-30 05:21:17 -08:00
k8s-merge-robot 9e7a0e2a03 Merge pull request #20053 from smarterclayton/dont_duplicate_prefix
Auto commit by PR queue bot
2016-01-30 04:50:07 -08:00
mqliang b0e06c14e5 add a knob to enable quorum read 2016-01-30 20:32:12 +08:00
k8s-merge-robot 311d8f8ab9 Merge pull request #20009 from janetkuo/kubectl-get-deployments
Auto commit by PR queue bot
2016-01-30 04:16:27 -08:00