Commit Graph

8886 Commits (a968f98dc2394be4f61c67cc702fcb0e4ded6987)

Author SHA1 Message Date
Chao Xu fb360bca98 add comments 2015-11-05 14:15:01 -08:00
k8s-merge-robot 0fb51751ef Merge pull request #16726 from wojtek-t/extend_codec_interface
Auto commit by PR queue bot
2015-11-05 13:48:34 -08:00
Chao Xu 6419924a5e add ugorji unmarshaller and address comments 2015-11-05 13:46:44 -08:00
Clayton Coleman 2dc2db5d02 Config consumers should be able to recognize an empty config
For UX, it would be better if we presented an error for validation that
is "this config is empty" rather than the inaccurate "no server name" or
"no context name" errors. Returns a typed error.
2015-11-05 15:00:23 -05:00
Justin Santa Barbara b2c2d617cf Label nodes with Zone information, if available
This lays the groundwork for simple multizone capabilities.

In a cloud environment, nodes are typically created by the kubelet
registering with the API server.  When creating a new node, we now query
the cloudprovider to see if it can provide Zone information, and if so
we add some well-known labels to the Node we are creating.
2015-11-05 14:35:05 -05:00
Dawn Chen 2041297ade Merge pull request #16823 from yujuhong/sync_logging
kublet: reduce logging frequency for sync loop
2015-11-05 10:35:36 -08:00
Yu-Ju Hong 5863f2a0a5 kubelet: reduce logging frequency for sync loop
Only logs when there are pods to sync.
2015-11-05 10:06:10 -08:00
Timothy St. Clair f6f2f41ab3 Removal of fakeClient from registry/generic/etcd/etcd_test.go in leiu of
NewEtcdTestClientServer
2015-11-05 08:28:58 -06:00
kargakis 4fdb6d1331 logs: Use resource builder 2015-11-05 14:54:55 +01:00
k8s-merge-robot 4711a87323 Merge pull request #16758 from janetkuo/remove-verbose-output
Auto commit by PR queue bot
2015-11-05 05:23:25 -08:00
Wojciech Tyczynski ce95f68d2a Changes in codec interfaces 2015-11-05 13:52:22 +01:00
k8s-merge-robot 32956b7dd3 Merge pull request #16829 from mikedanese/until-immediate
Auto commit by PR queue bot
2015-11-05 04:51:20 -08:00
k8s-merge-robot fb571e3e2e Merge pull request #16545 from timstclair/mirrorpods
Auto commit by PR queue bot
2015-11-05 02:56:23 -08:00
k8s-merge-robot 9b60fb0c4f Merge pull request #16536 from rootfs/fix-mkfs
Auto commit by PR queue bot
2015-11-05 01:48:18 -08:00
k8s-merge-robot cdbb461194 Merge pull request #16745 from pmorie/replica-count-update-debug
Auto commit by PR queue bot
2015-11-05 01:12:15 -08:00
k8s-merge-robot 8b8f55032c Merge pull request #16778 from hongchaodeng/fix-15952
Auto commit by PR queue bot
2015-11-05 00:19:57 -08:00
k8s-merge-robot 0089235bab Merge pull request #16776 from feihujiang/moveSubresourcesOfPodToRestPackage
Auto commit by PR queue bot
2015-11-04 21:57:31 -08:00
hurf a15998f46c Aggregate errors while validating attach options
Return all errors at a time while validating attach options.
2015-11-05 10:39:32 +08:00
Chao Xu 9d52b0fc08 add GroupVersion struct 2015-11-04 18:38:26 -08:00
Lantao Liu a35220c321 cleanup pod_workers_test.go to use general runtime interface 2015-11-04 16:55:25 -08:00
Mike Danese 8b9809291b make util.Until return immediately if stop is written inside the loop 2015-11-04 16:55:15 -08:00
Chao Xu ac0b7b5d3b remove RESTClient.Timeout 2015-11-04 16:48:24 -08:00
Chao Xu 0512d45986 document RESTClient.timeout 2015-11-04 16:13:55 -08:00
Hongchao Deng 10cd7f5b7c testing: refactor TestTcpHealthChecker
- use host, port explicitly instead of usePort flag
- check error explicitly
- testing failure output formatting
- test struct naming
2015-11-04 14:54:41 -08:00
Hongchao Deng 65ab91d41c testing: fix TCP health checker failure on Mac
On Mac, error output looks like "nodename nor servname provided, or not known".
2015-11-04 14:54:41 -08:00
Clayton Coleman 3da15535b6 Provide backpressure to clients when etcd goes down
When etcd is down today we don't specifically handle the error involved,
which means clients get a generic 500 error. This commit adds a formal
error type internally for both WatchExpired and EtcdUnreachable, and
then converts them to api/errors before returning to the client. It also
upgrades the client to retry on any 429 or 5xx error that has a
Retry-After header, instead of just 429.

In combination, this allows the apiserver to exert backpressure on
controllers that are hotlooping.  Picked 2 seconds by default, but we
could potentially ramp that up even further in a future iteration.
2015-11-04 16:05:12 -05:00
Tim St. Clair 858126b42a Clean up static/mirror pod status logic
- status.Manager always deals with the local (static) pod, but gets the
  mirror pod when syncing
  - This lets components like the probe workers ignore mirror pods
2015-11-04 11:42:25 -08:00
Yu-Ju Hong b734155954 Clean up housekeeping routine in kubelet
Now that kubelet checks sources seen correctly, there is no need to enforce the
initial order of pod updates and housekeeping. Use a ticker for housekeeping to
simplify the code.
2015-11-04 08:12:18 -08:00
k8s-merge-robot 75ecc34417 Merge pull request #16723 from wulonghui/wulonghui-patch-4
Auto commit by PR queue bot
2015-11-04 04:59:16 -08:00
k8s-merge-robot 456220ff1a Merge pull request #16637 from lavalamp/go2idl.2
Auto commit by PR queue bot
2015-11-04 03:33:27 -08:00
k8s-merge-robot 2842d9476b Merge pull request #16496 from wojtek-t/switch_cacher_for_other_resources
Auto commit by PR queue bot
2015-11-04 03:01:24 -08:00
huangyuqi 1bf2f869c7 add valid resource types for kubectl get 2015-11-04 10:12:30 +00:00
k8s-merge-robot ac63290ff5 Merge pull request #16781 from timothysc/fix-testing-deps
Auto commit by PR queue bot
2015-11-04 01:58:34 -08:00
jiangyaoguo 39858db29e add new event when infra-container change 2015-11-04 17:04:32 +08:00
jiangyaoguo 3ce5a51007 remove implicitly required container event 2015-11-04 16:47:17 +08:00
mqliang f26d437903 move assignment in loop 2015-11-04 15:42:25 +08:00
k8s-merge-robot 859f75f436 Merge pull request #15264 from yujuhong/work_queue
Auto commit by PR queue bot
2015-11-03 22:51:18 -08:00
k8s-merge-robot 5ff0e128ad Merge pull request #16752 from markturansky/remove_nfs_cansupport_binary_check
Auto commit by PR queue bot
2015-11-03 22:19:15 -08:00
Timothy St. Clair dbdd1614e6 Fix for linkage issue with new testing utilities 2015-11-03 22:16:47 -06:00
eulerzgy 287b9e8978 Add warning log 2015-11-04 10:55:43 +08:00
feihujiang c39faf19f3 Move rest handler of subresources of pod to rest package 2015-11-04 10:23:49 +08:00
nikhiljindal 61cef8f570 Updating typeToJSON to handle pointers as well 2015-11-03 17:31:40 -08:00
Daniel Smith 241551e36e set-gen example 2015-11-03 15:14:51 -08:00
Janet Kuo b8f97dd185 Remove unhelpful output when jsonpath and template printers fail to print 2015-11-03 15:09:00 -08:00
k8s-merge-robot bad838f35c Merge pull request #16717 from liggitt/hpa_ref_validation
Auto commit by PR queue bot
2015-11-03 15:04:30 -08:00
Nikhil Jindal 34cbe48736 Merge pull request #16690 from nikhiljindal/apiDeclNotFound
Fixing missing swagger spec for apis/extensions
2015-11-03 14:36:31 -08:00
Kris 05182fc7d5 Properly defaulting the status in log code 2015-11-03 14:34:45 -08:00
k8s-merge-robot c24873743f Merge pull request #16664 from wojtek-t/remove_fake_client_from_cacher
Auto commit by PR queue bot
2015-11-03 13:48:35 -08:00
Yu-Ju Hong 2eb17df46b kubelet: independent pod syncs and backoff on error
Currently kubelet syncs all pods every 10s. This is not preferred because
 * Some pods may have been sync'd recently.
 * This may cause all the pods to be sync'd at once, causing undesirable
   CPU spikes.

This PR replaces the global syncs with independent, periodic pod syncs. At the
end of syncing, each pod worker will enqueue itslef with a future timestamp (
current time + sync interval), when it will be due for another sync.
 * If the pod worker encoutners an sync error, it may requeue with a different
   timestamp to retry sooner.
 * If a sync is triggered by the update channel (events or spec changes), the
   pod worker would enqueue a new sync time.

This change is necessary for moving to long or no periodic sync period once pod
lifecycle event generator is completed. We will still rely on the mechanism to
requeue the pod on sync error.

This change also makes sure that if a sync does not succeed (either due to
real error or the per-container backoff mechanism), an error would be propagated
back to the pod worker, which is responsible for requeuing.
2015-11-03 13:29:08 -08:00
markturansky d3bb6575fb Revert "nfs: check if /sbin/mount.nfs* is present in CanSupport()"
This reverts commit 1b3a88dc87.
2015-11-03 16:09:57 -05:00
Jordan Liggitt b3157d1445 Ensure HPA has valid resource/name/subresource, validate path segments 2015-11-03 14:46:17 -05:00
Paul Morie 09701b4fa8 Surface replica count update errors in log 2015-11-03 14:20:08 -05:00
Paul Morie 75b1e6ec44 Fix panic bringing up e2e cluster when kubeconfig is empty 2015-11-03 11:19:36 -05:00
k8s-merge-robot c8fe00b94f Merge pull request #16711 from liggitt/remotecommand_error
Auto commit by PR queue bot
2015-11-03 06:43:37 -08:00
k8s-merge-robot 121f33068d Merge pull request #16668 from deads2k/fix-hpa-escalation
Auto commit by PR queue bot
2015-11-03 06:11:34 -08:00
k8s-merge-robot 3f3918048a Merge pull request #16669 from erictune/fix-run-docstring
Auto commit by PR queue bot
2015-11-03 05:29:29 -08:00
deads2k fd1c8e096a eliminate cross-namespace HPA escalation attack 2015-11-03 08:05:26 -05:00
k8s-merge-robot 1b437272ba Merge pull request #16696 from janetkuo/kubectl-jsonpath
Auto commit by PR queue bot
2015-11-03 04:29:28 -08:00
k8s-merge-robot 76083f73dc Merge pull request #16671 from DirectXMan12/refactor/hpa-heapster-service
Auto commit by PR queue bot
2015-11-03 03:58:26 -08:00
Wojciech Tyczynski 030a272db5 Enable cacher for all resources. 2015-11-03 11:55:37 +01:00
k8s-merge-robot fe2d44e842 Merge pull request #16653 from Random-Liu/remove-unused-type
Auto commit by PR queue bot
2015-11-03 02:45:22 -08:00
k8s-merge-robot f371b3d891 Merge pull request #16621 from timstclair/metrics-lite
Auto commit by PR queue bot
2015-11-03 02:13:19 -08:00
Wojciech Tyczynski 6246201eec Remove fakeClient from cacher_test. 2015-11-03 10:58:43 +01:00
wulonghui 86abfb8d16 Delete all files and all hidden files without . & .. error for PV recycler 2015-11-03 17:34:25 +08:00
k8s-merge-robot b79379516f Merge pull request #16584 from wojtek-t/refactor_use_cacher
Auto commit by PR queue bot
2015-11-03 01:10:13 -08:00
k8s-merge-robot f276572034 Merge pull request #16570 from liggitt/proxy_request_info
Auto commit by PR queue bot
2015-11-03 00:33:10 -08:00
k8s-merge-robot c080c8a14f Merge pull request #16537 from fabianofranz/attach_handles_tty_support
Auto commit by PR queue bot
2015-11-03 00:01:38 -08:00
k8s-merge-robot c1d380db94 Merge pull request #16693 from Random-Liu/put-termination-message-path-into-docker-label
Auto commit by PR queue bot
2015-11-02 23:29:35 -08:00
k8s-merge-robot 5681bacef4 Merge pull request #16710 from feihujiang/addCommentNamespaceClearedForRootscopedResources
Auto commit by PR queue bot
2015-11-02 22:57:30 -08:00
Jordan Liggitt 974af49e77 Tolerate AlreadyExists errors when creating service accounts 2015-11-03 00:35:19 -05:00
k8s-merge-robot 990c0184be Merge pull request #16330 from mikedanese/deploy-ptr
Auto commit by PR queue bot
2015-11-02 20:41:34 -08:00
Jordan Liggitt ddae749111 Read error from failed upgrade attempts 2015-11-02 22:39:58 -05:00
feihujiang f7bfb04665 Add a comment that not return an error for rootscoped resources with namesapce 2015-11-03 11:00:01 +08:00
Janet Kuo 4d92268212 Better error handling for output format when "kubectl config view" 2015-11-02 16:25:52 -08:00
Lantao Liu 894dc5a5a2 Move TerminationMessagePath into docker label. 2015-11-02 14:32:58 -08:00
nikhiljindal 7612bded3e Removing an erroneous / 2015-11-02 14:18:57 -08:00
Wojciech Tyczynski 8f385c563f Refactor code for creating Cacher. 2015-11-02 20:56:46 +01:00
Lantao Liu eff4533efc Move findPodContainer to docker_test.go 2015-11-02 09:49:07 -08:00
Tim St. Clair 5cd5b80f9e Set up new "metrics" API group.
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
k8s-merge-robot 17e36b02f4 Merge pull request #16660 from mqliang/DelFmt
Auto commit by PR queue bot
2015-11-02 09:41:20 -08:00
Solly Ross f262560cac Customize HPA Heapster service namespace/name
This commit makes the HPA metrics client configurable in where
it looks for heapster instead of hard coding it to
"kube-system/heapster".  The values of "kube-system/heapster"
are still recorded as constants in the metrics client package
for use as default values.
2015-11-02 11:14:08 -05:00
Fabiano Franz c60f19a1f8 Attach must only allow a tty when container supports it 2015-11-02 09:56:58 -05:00
mqliang 3afcbae1a8 remove unnecessary fmt 2015-11-02 21:07:07 +08:00
feihujiang 3603b14977 Move service strategy to registry/service package 2015-11-02 19:56:03 +08:00
huangyuqi b69b498235 use the defined constant variable 2015-11-02 15:32:53 +08:00
Lantao Liu b127901871 Remove unused type DockerContainers.
Type DockerContainers and function FindPodContainer() are never used.
Remove them to simplify the docker runtime api.
2015-11-01 18:49:05 -08:00
k8s-merge-robot 4383e6f95c Merge pull request #13146 from mikedanese/config-api
Auto commit by PR queue bot
2015-10-31 17:01:32 -07:00
k8s-merge-robot e355710ece Merge pull request #16639 from feihujiang/makeRootscopedResourceNamespaceSelectableFieldNotAllowed
Auto commit by PR queue bot
2015-10-31 16:29:30 -07:00
Mike Danese 67f46aa1f1 autogenerated 2015-10-31 12:26:54 -07:00
Mike Danese 9bdb860eeb add apigroup installer and tests 2015-10-31 11:42:38 -07:00
Mike Danese 82111a7cb5 add component config api group 2015-10-31 11:42:38 -07:00
k8s-merge-robot 7b8bf758f3 Merge pull request #16631 from dchen1107/docker
Auto commit by PR queue bot
2015-10-31 10:55:37 -07:00
feihujiang 726def04d5 Make rootscoped resource no namespace selectable field 2015-10-31 10:52:21 +08:00
k8s-merge-robot d1345a1f4f Merge pull request #16502 from wojtek-t/list_from_memory
Auto commit by PR queue bot
2015-10-30 19:47:10 -07:00
Dawn Chen d2805c65d6 Fix Kubelet /logs endpoint 2015-10-30 16:19:34 -07:00
Eric Tune 0bde95f1ce Fix incorrect flag in example. 2015-10-30 15:40:05 -07:00
Alex Robinson 0eb7243b95 Merge pull request #15994 from dchen1107/docker
Failed docker health check and mark the node NotReady when docker version is below 1.6.2 (API ve…
2015-10-30 15:39:04 -07:00
Dawn Chen a39e1e96dc Mark NodeNotReady for docker version below 1.6.2 2015-10-30 13:48:51 -07:00
Dawn Chen b691fd299c Failed docker health check when docker version is below 1.6.2 (API version: 1.18) 2015-10-30 13:48:50 -07:00
Alex Robinson 97275873ff Merge pull request #16591 from kubernetes/revert-15838-issue14500
Revert "An attempt to fix flake in TestControllerSyncJob (14500)"
2015-10-30 13:14:05 -07:00
Wojciech Tyczynski 652fb090eb Initial support for listing from in-memory cache. 2015-10-30 20:58:13 +01:00
k8s-merge-robot eb140495ab Merge pull request #16414 from Random-Liu/put-podname-into-label
Auto commit by PR queue bot
2015-10-30 12:45:25 -07:00
k8s-merge-robot a9534bfd33 Merge pull request #16441 from liggitt/helper_codec
Auto commit by PR queue bot
2015-10-30 11:29:17 -07:00
k8s-merge-robot 9e16b1dec9 Merge pull request #16589 from wojtek-t/list_options_in_clients
Auto commit by PR queue bot
2015-10-30 10:58:15 -07:00
Jordan Liggitt 600b5e633d Fix GetRequestInfo subresource parsing for proxy/redirect verbs 2015-10-30 13:41:49 -04:00
Alex Robinson 887b9dd78a Merge pull request #16232 from bprashanth/salt
Cluster-loadbalancing addon
2015-10-30 09:45:16 -07:00
Alex Robinson 21a75abfbd Merge pull request #16489 from mqliang/deleteFmt
replace `fmt.Sptintf()` with naive string appending
2015-10-30 09:25:39 -07:00
Eric Tune a600ac0cca Revert "An attempt to fix flake in TestControllerSyncJob (14500)" 2015-10-30 08:56:11 -07:00
Huamin Chen a31d23ea0e don't use ext4 mkfs options for other fs
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-30 11:53:10 -04:00
Wojciech Tyczynski aac55d4795 Unify List() signature in clients 2015-10-30 15:43:40 +01:00
k8s-merge-robot cc53619372 Merge pull request #15791 from abutcher/set-service
Auto commit by PR queue bot
2015-10-30 06:55:16 -07:00
k8s-merge-robot 36bae67910 Merge pull request #16548 from ArtfulCoder/kube-proxy-mem-use
Auto commit by PR queue bot
2015-10-30 06:23:14 -07:00
k8s-merge-robot 8a6020ef62 Merge pull request #16544 from smarterclayton/enable_log_with_tail
Auto commit by PR queue bot
2015-10-30 05:03:35 -07:00
k8s-merge-robot 55246db600 Merge pull request #16491 from wojtek-t/merge_to_options_in_storage
Auto commit by PR queue bot
2015-10-30 04:30:17 -07:00
k8s-merge-robot 536740f38f Merge pull request #16443 from brendandburns/lb2
Auto commit by PR queue bot
2015-10-30 02:05:11 -07:00
David Oppenheimer 899ddc66eb Merge pull request #16478 from mikedanese/ds-nodeready
daemonset don't place pods on notready nodes
2015-10-30 01:07:28 -07:00
k8s-merge-robot bbba223584 Merge pull request #16445 from smarterclayton/improve_errors
Auto commit by PR queue bot
2015-10-30 00:17:18 -07:00
k8s-merge-robot a86d8780f8 Merge pull request #16082 from caesarxuchao/discover-1.0-server-new
Auto commit by PR queue bot
2015-10-29 23:45:16 -07:00
hurf 3d7dd82bf6 Clean trace of "Minion"
Trivial change, remove "minion" in message.
2015-10-30 14:35:08 +08:00
Lantao Liu b3585a5209 Move docker label related functions into labels.go and add pod name, pod namespace and pod uid into docker label 2015-10-29 22:42:25 -07:00
Brendan Burns 604203595a Fix a bug where nodes that weren't schedulable or ready are added to load balancers 2015-10-29 22:05:08 -07:00
k8s-merge-robot 0e7f2288f5 Merge pull request #16494 from soltysh/issue16255
Auto commit by PR queue bot
2015-10-29 15:48:17 -07:00
Abhishek Shah 5367a32ee9 Read Iptables-save output in a more-memory-efficient way 2015-10-29 15:30:00 -07:00
Clayton Coleman 2335bfa351 Allow Docker container logs to be tail'd and follow'd
Relaxes the very very ancient restriction we put in place to keep the
original API surface area PR small. Better to be consistent with actual
expected use of tail.
2015-10-29 17:12:38 -04:00
k8s-merge-robot c4b32cc8d8 Merge pull request #16223 from timstclair/status-deadlock
Auto commit by PR queue bot
2015-10-29 13:01:31 -07:00
Prashanth Balasubramanian 122dccbffa Kubectl describe 2015-10-29 12:09:31 -07:00
k8s-merge-robot f4b2d8358f Merge pull request #16179 from madhusudancs/master-out-of-disk
Auto commit by PR queue bot
2015-10-29 11:57:25 -07:00
k8s-merge-robot 1ecda94f0a Merge pull request #15305 from mqliang/deamonSetList
Auto commit by PR queue bot
2015-10-29 11:25:52 -07:00
Mike Danese f237db81f0 daemonset don't place pods on notready nodes 2015-10-29 11:11:20 -07:00
krousey 848fed8f4b Merge pull request #16384 from derekwaynecarr/fix_memory_churn_etcd_helper
Large amount of memory churn in etcd helper prefixing keys
2015-10-29 10:02:07 -07:00
Maciej Szulik e662b34ccd Remove dead pods upon stopping a job 2015-10-29 17:56:01 +01:00
Chao Xu 69932aecb0 Let discoveryClient use RESTClient;
Ignore 403 and 404 error when discovering server-supported group/version
2015-10-29 09:55:32 -07:00
Andrew Butcher 0c4aafaf1e Update master service ports and type via controller. 2015-10-29 10:56:46 -04:00
Wojciech Tyczynski 9c53f301f1 Merge selectors with ListOptions. 2015-10-29 15:42:57 +01:00
k8s-merge-robot 55d03fd102 Merge pull request #16332 from janetkuo/fix-print-job
Auto commit by PR queue bot
2015-10-29 06:43:26 -07:00
k8s-merge-robot 45028e8c3d Merge pull request #14493 from BugRoger/fix_devicemapping_cache_invalidation
Auto commit by PR queue bot
2015-10-29 06:43:10 -07:00
k8s-merge-robot cd7e4bd6bb Merge pull request #16364 from liggitt/unversioned_types
Auto commit by PR queue bot
2015-10-29 05:56:17 -07:00
k8s-merge-robot d5be3635e5 Merge pull request #16273 from wojtek-t/list_options_in_api
Auto commit by PR queue bot
2015-10-29 01:57:29 -07:00
mqliang 5b03cfc92b replace fmt.Sptintf() with + operator 2015-10-29 16:27:42 +08:00
k8s-merge-robot f8eb75669b Merge pull request #16482 from fabianofranz/remove_stdin_from_completions
Auto commit by PR queue bot
2015-10-29 01:26:27 -07:00
k8s-merge-robot c8a1783724 Merge pull request #15323 from swagiaal/pod-volume-selinux
Auto commit by PR queue bot
2015-10-28 19:17:32 -07:00
Fabiano Franz d9161cb3b5 stdin is not a valid file extension for bash completions 2015-10-29 00:00:34 -02:00
k8s-merge-robot 0f99c59da1 Merge pull request #16413 from ddysher/controller-manager-start
Auto commit by PR queue bot
2015-10-28 18:36:29 -07:00
Tim St. Clair 9a2089adc8 Concurrency fixes in status.Manager
- Fix deadlock when syncing deleted pods with full update channel
- Prevent sending stale updates to API server
- Don't delete cached status when sync fails (causes problems for prober)
2015-10-28 17:40:55 -07:00
Madhusudan.C.S ce257b5a0e Use node out of disk condition in the scheduler while scheduling pods.
Set the out of disk node condition to unknown in the node controller if
the kubelet does not report its node condition in a long time. Update
node controller unit tests.

Implement a node condition predicate function that checks if a given
node satisfies the conditions defined by the predicate and if it
does, use that node for scheduling pods. The predicate function takes
both NodeReady and NodeOutOfDisk into consideration to determine if a
node is fit for scheduling pods.

The predicate is then passed to the node lister in the scheduler factory
so that the node lister can run the predicate function on the nodes when
schedling pods thereby omitting nodes that does not satisfy the
predicate.

Also update listers test.
2015-10-28 14:29:46 -07:00
Clayton Coleman 6f688c3df8 Improve the message for UsageError
Capitalize, also indicate that we have examples
2015-10-28 13:33:37 -04:00
Jordan Liggitt b58e62e7d4 Pass runtime.Object to Helper.Create/Replace 2015-10-28 12:43:21 -04:00
Deyuan Deng 638411d744 Wait apiserver in controller manager startup process 2015-10-29 00:15:33 +08:00
Wojciech Tyczynski 579fa74977 Add test for TimeoutSeconds parameter 2015-10-28 15:48:36 +01:00
Sami Wagiaalla 1d352a16b8 Support volume relabling for pods which specify an SELinux label 2015-10-28 09:26:58 -04:00
Jerzy Szczepkowski 1524d7490a Merge pull request #16294 from aveshagarwal/master-fix-code-duplication
Fixes code duplication.
2015-10-28 13:23:06 +01:00
k8s-merge-robot ffe92cc4d4 Merge pull request #16182 from timothysc/etcd-remove-fakeclient-part2
Auto commit by PR queue bot
2015-10-28 02:02:01 -07:00
Mike Danese 6bbc2448c9 autogenerated 2015-10-28 00:13:40 -07:00
Mike Danese b0a41108af move deployment PodTemplate to be not a pointer 2015-10-28 00:13:40 -07:00
k8s-merge-robot d695177229 Merge pull request #16054 from smarterclayton/revert_extension_syntax
Auto commit by PR queue bot
2015-10-27 19:57:15 -07:00
k8s-merge-robot d228fd6d9c Merge pull request #15809 from mikedanese/deploy
Auto commit by PR queue bot
2015-10-27 19:25:12 -07:00
k8s-merge-robot ec9b493647 Merge pull request #14639 from gmarek/hollow-proxy
Auto commit by PR queue bot
2015-10-27 18:22:38 -07:00
k8s-merge-robot a1fd0536cd Merge pull request #13980 from aveshagarwal/iptables-proxy-cleanup
Auto commit by PR queue bot
2015-10-27 17:45:35 -07:00
Daniel Smith 3f3ca480be Merge pull request #16080 from yujuhong/reset_defaults
Add custom pod conversion functions from pre-v1.1 mirror pods
2015-10-27 15:47:34 -07:00
Daniel Smith 6219b50280 Merge pull request #16160 from kargakis/windows-fixes-for-edit
edit: Windows fixes
2015-10-27 15:44:26 -07:00
Daniel Smith 424afd4cfb Merge pull request #15971 from jlowdermilk/client-http-content-type
Set Content-Type in headers of client http requests
2015-10-27 15:33:32 -07:00
Daniel Smith 8524d392bf Merge pull request #16178 from madhusudancs/kubelet-out-of-disk-no-master
Report node out of disk condition in the kubelet.
2015-10-27 14:28:03 -07:00
derekwaynecarr caebe7300b Large amount of memory churn in etcd helper 2015-10-27 16:35:07 -04:00
k8s-merge-robot 0a7a9f3535 Merge pull request #16340 from timstclair/flaky-prober
Auto commit by PR queue bot
2015-10-27 12:10:22 -07:00
Timothy St. Clair 4cf5b348c8 Removal of fakeClient from etcd_watcher_test in leiu of NewEtcdTestClientServer 2015-10-27 13:32:56 -05:00
Yu-Ju Hong e5c82d2292 Add custom pod conversion functions from pre-v1.1 mirror pods
The functions would default values added after v1.0, so that kubelet wouldn't
fail at comparing the mirror pods against their associated static pods.

This code would need to be maintained if we ever change the default value in
Pod until we drop support for v1.0 nodes.
2015-10-27 10:50:30 -07:00
gmarek 5a4e4d4d57 Add a HollowProxy to the HollowNode. 2015-10-27 18:23:29 +01:00
Avesh Agarwal e1837185de Improves iptables cleanup for pure iptables based proxier. 2015-10-27 13:08:16 -04:00
Wojciech Tyczynski 4d117dff6f Fix timeoutSeconds parameter 2015-10-27 15:36:54 +01:00
Jordan Liggitt 3bc4abb9aa Add TypeMeta to discovery response objects 2015-10-27 10:27:13 -04:00
Jerzy Szczepkowski 154923221f Merge pull request #15951 from kargakis/factory-expose-method
Make CanBeExposed and CanBeAutoscaled composable
2015-10-27 11:04:40 +01:00
Jerzy Szczepkowski 5ef087adab Merge pull request #16266 from wojtek-t/fix_handshake_reflector
Reuse TCP connections in Reflector between resync periods.
2015-10-27 10:36:18 +01:00
Jerzy Szczepkowski bbee6cfcd7 Merge pull request #15461 from kargakis/relax-exposing-multiport-objects
expose: Enable exposing multiport objects
2015-10-27 10:25:54 +01:00
Wojciech Tyczynski aa30e38183 Pass resource version to storage List operation. 2015-10-27 10:03:58 +01:00
k8s-merge-robot df265b2d6e Merge pull request #15510 from aveshagarwal/master-selflink-objref
Auto commit by PR queue bot
2015-10-27 00:37:21 -07:00
k8s-merge-robot 0ced872a26 Merge pull request #16142 from bprashanth/cloudprovider_methods
Auto commit by PR queue bot
2015-10-26 19:44:48 -07:00
Tim St. Clair 17b0a964f4 Always resync after resyncInterval 2015-10-26 18:50:57 -07:00
Janet Kuo cb2466c50f Remove invalid blank line when printing jobs 2015-10-26 17:23:56 -07:00
Daniel Smith fcd99461ff Merge pull request #16286 from liggitt/wsstream_cpu
Avoid CPU hotloop on client-closed websocket
2015-10-26 17:19:20 -07:00
Daniel Smith 3cc2ae4da6 Merge pull request #15831 from zhengguoyong/modify_pod_networkplugin_setup_errmsg
Modify duplicate err msg
2015-10-26 17:07:18 -07:00
Daniel Smith 075d760ad4 Merge pull request #16016 from mqliang/uselessDel
remove useless function
2015-10-26 17:06:42 -07:00
Daniel Smith ebef20144b Merge pull request #16277 from jszczepkowski/hpa-prop
Fixed resetting last scale time in HPA status.
2015-10-26 16:30:34 -07:00
Madhusudan.C.S 9c4424f0bd Report out of disk as a node condition when node goes out of disk.
Define a new out of disk node condition and use it to report when node
goes out of disk.

Make a copy of loop range clause variable in node listers so that it
is available outside the for loop.

Also update/implement unit tests.
2015-10-26 15:01:20 -07:00
Prashanth Balasubramanian f7db2eefef cloudprovider methods to list resources and get health 2015-10-26 13:36:27 -07:00
Daniel Smith b07dd73f26 Merge pull request #16053 from saad-ali/attachDetachMutextFix
Fix GCE Cloud/Attach/Detach stability issues
2015-10-26 13:05:27 -07:00
Daniel Smith e42f5af6a1 Merge pull request #16219 from thockin/resolvconf-filter
Add a cloud-provider hook to scrub DNS for pods
2015-10-26 12:32:02 -07:00
Avesh Agarwal e845dba9d2 Fixes code duplication. 2015-10-26 15:24:50 -04:00
Wojciech Tyczynski d47e21f19f Reuse TCP connections in Reflector between resync periods. 2015-10-26 19:35:25 +01:00
k8s-merge-robot a094a6e3de Merge pull request #15815 from mqliang/lister_test
Auto commit by PR queue bot
2015-10-26 11:30:44 -07:00
Jordan Liggitt 85379b12ca Avoid CPU hotloop on client-closed websocket 2015-10-26 14:04:16 -04:00
k8s-merge-robot bffdd242d8 Merge pull request #16191 from yujuhong/fix_logs
Auto commit by PR queue bot
2015-10-26 09:31:35 -07:00
Jerzy Szczepkowski de25a3bc08 Fixed resetting last scale time in HPA status.
Fixed resetting last scale time in HPA status. Fixes #16275.
2015-10-26 16:36:05 +01:00
k8s-merge-robot dbf9a53de9 Merge pull request #15953 from smarterclayton/return_unmodified_error_on_neg
Auto commit by PR queue bot
2015-10-26 08:15:40 -07:00
k8s-merge-robot e97483ae7b Merge pull request #16086 from jackgr/conditional_annotation
Auto commit by PR queue bot
2015-10-26 03:44:28 -07:00
k8s-merge-robot 275e978b90 Merge pull request #16241 from smarterclayton/fix_flake_stream
Auto commit by PR queue bot
2015-10-26 02:54:47 -07:00
Mike Danese 8acf01d620 add status subresource for deployment 2015-10-26 00:12:58 -07:00
k8s-merge-robot 0884214fe0 Merge pull request #16058 from janetkuo/revert-kubectl-slash
Auto commit by PR queue bot
2015-10-25 19:23:14 -07:00
k8s-merge-robot b05226bfb5 Merge pull request #16221 from janetkuo/kubectl-ingresses
Auto commit by PR queue bot
2015-10-25 18:25:30 -07:00
k8s-merge-robot 54706661ad Merge pull request #15479 from feiskyer/gendocs
Auto commit by PR queue bot
2015-10-25 17:47:14 -07:00
Janet Kuo 54b743bc05 Change resource "ingress" to "ingresses" in URL path and kubectl 2015-10-25 16:54:25 -07:00
k8s-merge-robot 4f17b4b39c Merge pull request #15961 from ncdc/stream-protocol-negotiation
Auto commit by PR queue bot
2015-10-25 07:26:41 -07:00
k8s-merge-robot fea0a7d753 Merge pull request #15850 from mqliang/refactorValidation
Auto commit by PR queue bot
2015-10-25 05:42:49 -07:00
feisky 13dce74adb Gendocs for docs/admin/kube-* 2015-10-25 19:24:23 +08:00
k8s-merge-robot 55cbba3e51 Merge pull request #16234 from erictune/job-unit-fix
Auto commit by PR queue bot
2015-10-25 01:42:07 -07:00
k8s-merge-robot 0e1ee14cc8 Merge pull request #15705 from wojtek-t/watch_options_in_client
Auto commit by PR queue bot
2015-10-24 17:39:20 -07:00
k8s-merge-robot 33dabe00a8 Merge pull request #15766 from feihujiang/supportNamespaceSelectorInAllNamespacesEndpoint
Auto commit by PR queue bot
2015-10-24 17:08:34 -07:00
Abhi Shah 976cc12c8e Merge pull request #16174 from ArtfulCoder/nilCheck
Added Nil Check
2015-10-24 14:16:28 -07:00
k8s-merge-robot a3187c7b21 Merge pull request #14794 from zhengguoyong/rename_wantsExternalLoadBalancer
Auto commit by PR queue bot
2015-10-24 13:46:27 -07:00
k8s-merge-robot 5280540384 Merge pull request #15965 from Random-Liu/use-docker-label
Auto commit by PR queue bot
2015-10-24 13:19:40 -07:00
Clayton Coleman f79c74e311 Make util/wsstream/stream_test.go not flaky
It's hard to manage connection buffers in a deterministic test, ensure
that the error is always consistent and the output is always a subset
of the input
2015-10-24 15:47:57 -04:00
Clayton Coleman 5b137a64a8 Return errors directly from negotiation
Otherwise we're hiding problems in connectivity
2015-10-24 14:29:02 -04:00
kargakis 4befdf5b49 Make CanBeExposed and CanBeAutoscaled composable 2015-10-24 20:07:35 +02:00
kargakis 73713ce268 edit: Windows fixes
Contains the following fixes for Windows users of kubectl edit:
* Defaults to notepad as the default Windows editor
* Uses CRLF line endings
* Ensures a file lock is freed
2015-10-24 17:06:49 +02:00
k8s-merge-robot e05819f36a Merge pull request #16101 from timothysc/etcd-remove-fakeclient-part1
Auto commit by PR queue bot
2015-10-24 06:31:51 -07:00
Wojciech Tyczynski aa57f607f6 Update auto-generated files 2015-10-24 13:29:37 +02:00
Wojciech Tyczynski f4d75e0a0a Support timeout in watch requests 2015-10-24 13:12:49 +02:00
k8s-merge-robot 40b6f1cc28 Merge pull request #16109 from fabianofranz/move_attach_pod_selection_to_factory
Auto commit by PR queue bot
2015-10-24 03:45:29 -07:00
k8s-merge-robot f3cb757bb6 Merge pull request #16074 from timstclair/prober-cleanup
Auto commit by PR queue bot
2015-10-24 03:14:42 -07:00
k8s-merge-robot 6d10b76b11 Merge pull request #15980 from janetkuo/kubectl-edit-updateapplyannotation
Auto commit by PR queue bot
2015-10-24 02:48:22 -07:00
k8s-merge-robot e1559e9fb5 Merge pull request #15352 from pmorie/fsgroup
Auto commit by PR queue bot
2015-10-24 01:55:45 -07:00
k8s-merge-robot 570a9dc18f Merge pull request #15796 from caesarxuchao/fix-kubectl-api-versions
Auto commit by PR queue bot
2015-10-24 01:24:31 -07:00
Eric Tune 07fb3c2759 Fix jobs unittest flakes.
Sometimes the test would
generate two identical pod names
using the Now().UnixNano() function.
Apparently the Nanos are rounded.

Passed 2000 unittest runs.
2015-10-24 00:54:45 -07:00
Tim Hockin 42c7fec490 Add a cloud-provider hook to scrub DNS for pods
GCE needs this hook and it seems general enough to include.
2015-10-23 17:01:49 -07:00
Yu-Ju Hong e4f739115f kubelet: fix getting logs from static pods
This change adds the necessary UID translation logic to fix the issue.
2015-10-23 14:31:40 -07:00
Timothy St. Clair 8140974f31 Removal of fakeClient from etcd_helper_test in leiu of NewEtcdTestClientServer 2015-10-23 16:23:27 -05:00
Tim Hockin 5c903dbcac Merge pull request #16073 from caesarxuchao/fix-htmlpreview-on-head
fix htmlpreview links to point to subdictory
2015-10-23 13:32:29 -07:00
Lantao Liu 67a7633202 Put restart count into docker label 2015-10-23 13:02:32 -07:00
Fabiano Franz 312d53d9c9 Expose attachable pod discovery to factory 2015-10-23 17:28:41 -02:00
Saad Ali ebf3ee3fb2 Merge pull request #16035 from deads2k/typo
fix horizonal typo
2015-10-23 12:09:11 -07:00
Saad Ali 06113d3b87 Merge pull request #16137 from ArtfulCoder/externalIPFix
release NodePort correctly
2015-10-23 12:03:38 -07:00
saadali 19115b2a22 Fix GCE Cloudprovider waitForOp bug and make GCE attach/detach atomic operations. 2015-10-23 11:58:56 -07:00
Abhishek Shah 4a7b4f2ed2 Nil Check 2015-10-23 11:52:59 -07:00
Andy Goldstein 6fddb0e83a Add httpstream.Handshake unit test 2015-10-23 14:09:41 -04:00
Filip Grzadkowski 165169ab1c Merge pull request #16052 from ArtfulCoder/mount_etc_hosts
kubelet manages /etc/hosts file
2015-10-23 14:07:34 +02:00
Filip Grzadkowski d93c14afec Merge pull request #16025 from piosz/describe-fix
Fixed incorrect Min replicas value in kubectl describe
2015-10-23 14:07:16 +02:00
Filip Grzadkowski ebee4bb357 Merge pull request #15954 from timothysc/non-blocking-event
Events should be non-blocking.
2015-10-23 14:06:00 +02:00
Filip Grzadkowski edd10d8a83 Merge pull request #15914 from vishh/serialize-pull
make kubelet image pulls serialized by default.
2015-10-23 14:04:23 +02:00
k8s-merge-robot a10ed3e2b1 Merge pull request #15908 from jlowdermilk/rolling-update-doc
Auto commit by PR queue bot
2015-10-23 00:52:37 -07:00
mqliang ce384e62ed fix conflict after rebase 2015-10-23 14:28:09 +08:00
mqliang 57faaf4f96 refactor validation.go to avoid duplicating 2015-10-23 14:23:55 +08:00
feihujiang 501c76cebb Support namespace selector in all namespaces endpoint 2015-10-23 14:14:38 +08:00
k8s-merge-robot 29c2706ba0 Merge pull request #15797 from ArtfulCoder/udpTimeoutFlag
Auto commit by PR queue bot
2015-10-22 22:52:40 -07:00
Janet Kuo f5adda3d81 Fixed the error for kubectl edit multiple resources 2015-10-22 22:35:15 -07:00
Saad Ali 76c5e0e553 Revert "Use KubeletPort reported in NodeStatus instead of cluster-wide master config" 2015-10-22 21:25:38 -07:00
Brendan Burns 2935075388 Fix sorting from 2 bugs 2015-10-22 20:11:14 -07:00
k8s-merge-robot a6b8e112ac Merge pull request #12919 from gmarek/use_api_ports
Auto commit by PR queue bot
2015-10-22 19:53:41 -07:00
k8s-merge-robot 8c9c69b73e Merge pull request #15236 from rootfs/gluster_cansupport
Auto commit by PR queue bot
2015-10-22 19:22:50 -07:00
Vishnu kannan 0df4b46d4c Adding a kubelet flag to optionally enable parallel image pulls. 2015-10-22 17:19:51 -07:00
Abhishek Shah 7c64802f48 release NodePort correctly 2015-10-22 16:36:52 -07:00
Jeff Lowdermilk 583246a22f Set Content-Type in client http request header when posting objects 2015-10-22 13:50:28 -07:00
Paul Morie 3cd12f5e05 FSGroup implementation 2015-10-22 16:40:59 -04:00
Abhishek Shah ba6469d478 kubelet manages /etc/hosts file 2015-10-22 13:27:05 -07:00
Saad Ali f960b05fe1 Merge pull request #15930 from mikedanese/nc
make nodecontroller delete terminating pods on 1.0 nodes
2015-10-22 12:38:14 -07:00
Saad Ali a47a790356 Merge pull request #15900 from mikedanese/graceterm-1
don't gracefully delete terminated pods
2015-10-22 12:37:43 -07:00
Chao Xu eb3a80156a let kubectl api-versions use the discovery client 2015-10-22 10:19:34 -07:00
k8s-merge-robot 407ff583c4 Merge pull request #16032 from rootfs/nfs-support
Auto commit by PR queue bot
2015-10-22 09:08:27 -07:00
Wojciech Tyczynski 80be983668 Merge pull request #15392 from timothysc/etcd-remove-fakeclient
Initial commit to enable migrating tests off of FakeClient.
2015-10-22 15:24:34 +02:00
Filip Grzadkowski 52136bdb68 Merge pull request #15958 from deads2k/add-is-api-url
add nonResourceURL detection
2015-10-22 14:47:54 +02:00
Filip Grzadkowski 8e07d2fc93 Merge pull request #15975 from liggitt/validate_before_create
Validate ObjectMeta in BeforeCreate
2015-10-22 14:47:40 +02:00
Filip Grzadkowski 39e6a60224 Merge pull request #15997 from JanetKuo/kubectl-get-hpa-minpods
Handle the case when min pods is nil for "kubectl get hpa"
2015-10-22 14:47:14 +02:00
Filip Grzadkowski ef7f65ba0a Merge pull request #16042 from deads2k/missing-err-handling
fix missing error handling
2015-10-22 14:46:39 +02:00
Filip Grzadkowski aff29f9b6b Merge pull request #16044 from mikedanese/store-err
fix cache.Get error handling on bad key
2015-10-22 14:46:24 +02:00
Filip Grzadkowski 343f195042 Merge pull request #16068 from JanetKuo/increase-annotation-size-limit
Increase the annotation size limit to 256k
2015-10-22 14:45:49 +02:00
Piotr Szczesniak c400cbbd13 Fixed incorrect Min replicas value in kubectl describe 2015-10-22 09:59:37 +02:00
Paul Morie e3642f1b3f Merge pull request #14705 from pmorie/pod-sc-inline
PodSecurityContext with inline fields
2015-10-22 03:12:16 -04:00
eulerzgy 08785e0fd8 rename wantsExternalLoadBalancer 2015-10-22 15:03:57 +08:00
Andy Goldstein ad4f108bfa Move port forward protocol constant to subpackage
Move port forward protocol name constant to a subpackage underneath
pkg/kubelet to avoid flags applicable to the kubelet leaking into
kubectl. Eventually, handlers for specific protocol versions will move
into the new subpackage as well.
2015-10-21 22:37:26 -04:00
jackgr 08b2275129 Update annotation only if apply already called. 2015-10-21 19:18:28 -07:00
Andy Goldstein ff9883d9ec Address code review comments 2015-10-21 21:53:51 -04:00
Andy Goldstein 6c7b519619 Move protocol handlers to separate files 2015-10-21 21:53:51 -04:00
Andy Goldstein 3d1cafc2c3 Add streaming subprotocol negotiation
Add streaming subprotocol negotiation for exec, attach, and port
forwarding. Restore previous (buggy) exec functionality as an
unspecified/unversioned subprotocol so newer kubectl clients can work
against 1.0.x kubelets.
2015-10-21 21:53:51 -04:00
Abhishek Shah d172ca6986 Added UdpIdleTimeout flag 2015-10-21 17:25:35 -07:00
Dawn Chen a702d5f29b Merge pull request #15983 from yujuhong/hash_pods
Stores hash of pod manifest in mirror pod's annotation
2015-10-21 17:08:57 -07:00
Janet Kuo 013096cb6e Handle the case when min pods is nil for "kubectl get hpa" 2015-10-21 16:43:13 -07:00
k8s-merge-robot f12171b430 Merge pull request #16020 from wojtek-t/fix_request_tests
Auto commit by PR queue bot
2015-10-21 16:42:54 -07:00
Janet Kuo e36121ae9b Increase the annotation size limit to 256k 2015-10-21 16:16:55 -07:00
Paul Morie 393e2bc019 Inline some SecurityContext fields into PodSecurityContext 2015-10-21 19:01:17 -04:00
Chao Xu 316bd058d0 fix htmlpreview links to point to subdictory 2015-10-21 15:46:52 -07:00
Tim St. Clair 07e9892003 Cleanup prober.prober 2015-10-21 15:45:34 -07:00
Jeff Lowdermilk 432a96c8bb Merge pull request #16033 from rootfs/mount-verbose
mount returns more verbose message upon error
2015-10-21 15:32:02 -07:00
Janet Kuo 1d37c549b1 Revert/disable the slash syntax for kubectl explain group/version 2015-10-21 13:58:54 -07:00
Clayton Coleman be868e934c Revert resource.Builder changes from 57388f9
57388f9f94
2015-10-21 16:23:33 -04:00
Jeff Lowdermilk 236193a26d Merge pull request #15944 from mqliang/assignoutloop
Move assignment statement out of loop
2015-10-21 13:19:56 -07:00
Jeff Lowdermilk d4de35e177 Merge pull request #15921 from brendandburns/fix2
Add a --expose flag to kubectl run
2015-10-21 13:17:26 -07:00
Jeff Lowdermilk 12c971f625 Merge pull request #15455 from mqliang/stringConstant
replace several error messages as constant, instead of duplicating
2015-10-21 13:10:13 -07:00
Mike Danese 836b68368b make nodecontroller delete terminating pods on 1.0 nodes 2015-10-21 13:07:03 -07:00
Jeff Lowdermilk 5bf993bf28 Validate image name for `kubectl rolling-update NAME --image=IMAGE`
Require distinct image from current one when starting a new
rolling-update, and exit with error if an existing in-progress update
is targeting a different image.
2015-10-21 11:48:39 -07:00
Mike Danese 933daef3f8 fix cache.Get error handling on bad key 2015-10-21 11:43:30 -07:00
deads2k 2ea025aedd fix missing error handling 2015-10-21 14:37:47 -04:00
Jordan Liggitt 63fb6c07a5 Validate names in BeforeCreate 2015-10-21 14:11:41 -04:00
Huamin Chen 1b3a88dc87 nfs: check if /sbin/mount.nfs* is present in CanSupport()
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-21 13:47:41 -04:00
deads2k b74aa0145b fix horizonal typo 2015-10-21 13:32:01 -04:00
k8s-merge-robot a5a917603c Merge pull request #15837 from feihujiang/removeUselessCodesAboutMinion
Auto commit by PR queue bot
2015-10-21 09:05:46 -07:00
Huamin Chen 3b14135cad mount returns more verbose message upon error
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-21 11:52:02 -04:00
gmarek 6d6cd8e46a Use KubeletPort reporeted in NodeStatus instead of cluster-wide master config. 2015-10-21 17:19:31 +02:00
k8s-merge-robot 071d21257f Merge pull request #15808 from caesarxuchao/fix-kubectl-explain
Auto commit by PR queue bot
2015-10-21 07:04:32 -07:00
k8s-merge-robot e4294ff5cc Merge pull request #14991 from swagiaal/supplemental-groups
Auto commit by PR queue bot
2015-10-21 04:25:42 -07:00
k8s-merge-robot 879d0ccce0 Merge pull request #15838 from soltysh/issue14500
Auto commit by PR queue bot
2015-10-21 03:13:42 -07:00
Wojciech Tyczynski 433ccf0043 Fix broken Request test 2015-10-21 11:09:29 +02:00
mqliang e1b73ed481 delete useless function 2015-10-21 15:38:52 +08:00
Brendan Burns 54fd60727e add a --expose flag to kubectl run 2015-10-20 20:21:09 -07:00
k8s-merge-robot 6dc3dcf36a Merge pull request #15414 from thockin/exp-beta-annotations
Auto commit by PR queue bot
2015-10-20 17:45:32 -07:00
Yu-Ju Hong f8aa206ffa Stores hash of pod manifest in mirror pod's annotation
Use the hash to track whether the mirror pod is a truthful representation of
the static pod.
2015-10-20 15:44:31 -07:00
Vishnu kannan 94b45830c3 make kubelet image pulls serialized by default. 2015-10-20 14:50:44 -07:00
k8s-merge-robot b02b5b9f87 Merge pull request #15460 from feihujiang/refactoringRegistryPodDirectory
Auto commit by PR queue bot
2015-10-20 14:40:21 -07:00
k8s-merge-robot 36e1b80e4a Merge pull request #14881 from lavalamp/fix-14617
Auto commit by PR queue bot
2015-10-20 14:14:18 -07:00
k8s-merge-robot d453976e8a Merge pull request #15918 from justinsb/fix_typos
Auto commit by PR queue bot
2015-10-20 13:37:14 -07:00
deads2k 6fbb3f4b6e add nonResourceURL detection 2015-10-20 16:23:30 -04:00
k8s-merge-robot a096db5e8b Merge pull request #15933 from mqliang/HandleError
Auto commit by PR queue bot
2015-10-20 11:37:40 -07:00
Huamin Chen 1665ba4d33 glusterfs: check if mount helper is present
Reported-By: Deepak C Shetty <deepakcs@redhat.com>
Signed-off-by: Huamin Chen <hchen@redhat.com>

glusterfs: return more verbose error message to help diagnose
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-20 14:27:37 -04:00
Timothy St. Clair d00bf0c48c "Force events to be non-blocking on the client side" 2015-10-20 11:52:09 -05:00
Sami Wagiaalla 030f882f06 Add Support for supplemental groups 2015-10-20 12:44:32 -04:00
k8s-merge-robot 034f7ccb1d Merge pull request #15885 from ashcrow/fix-import-package-names-15319
Auto commit by PR queue bot
2015-10-20 09:37:13 -07:00
Mike Danese ac686d7536 don't gracefully delete terminated pods 2015-10-20 09:31:20 -07:00
k8s-merge-robot a123b15fd1 Merge pull request #15902 from JanetKuo/kubectl-get-hpa
Auto commit by PR queue bot
2015-10-20 08:19:19 -07:00
k8s-merge-robot 59fdccd122 Merge pull request #15868 from yifan-gu/fix_gc
Auto commit by PR queue bot
2015-10-20 07:47:16 -07:00
k8s-merge-robot f5da178738 Merge pull request #15275 from timstclair/liveness-workers
Auto commit by PR queue bot
2015-10-20 06:39:40 -07:00
mqliang 163860797d move assignment statement out of loop 2015-10-20 20:02:45 +08:00
Steve Milner 8da2d4002f Fixes remaining imports per #15319 2015-10-20 07:13:13 -04:00
k8s-merge-robot 9faaafdd5d Merge pull request #15922 from justinsb/aws_log_calls
Auto commit by PR queue bot
2015-10-20 03:07:33 -07:00
Justin Santa Barbara 67d3a93166 Fix misc typos
Mostly in comments, but also renamed the (test) function
migUdpateCmdBase -> migUpdateCmdBase.
2015-10-20 05:52:45 -04:00
k8s-merge-robot c4779fbc4f Merge pull request #15475 from jijun2/fix-cni_test
Auto commit by PR queue bot
2015-10-20 01:30:24 -07:00
k8s-merge-robot c45625eb77 Merge pull request #15845 from ddysher/service-locator
Auto commit by PR queue bot
2015-10-20 01:04:18 -07:00
k8s-merge-robot b95f7b7169 Merge pull request #15901 from caesarxuchao/fix-15659
Auto commit by PR queue bot
2015-10-20 00:35:45 -07:00
mqliang a656c0f8a4 add error handler when delete pod 2015-10-20 15:33:53 +08:00
k8s-merge-robot 48ced9de86 Merge pull request #15612 from jimmidyson/cadvisor-kubelet
Auto commit by PR queue bot
2015-10-19 20:10:21 -07:00
Timothy St. Clair c850a9ab61 Modifications to to remove FakeEtcdClient. Enables starting & stopping
an etcd server per unit tests that need them.
2015-10-19 22:06:19 -05:00
eulerzgy af355df9a4 modify err log msg 2015-10-20 09:08:27 +08:00
Janet Kuo bc16642e6b Fix the incorrect min pods when "kubectl get hpa" 2015-10-19 16:18:27 -07:00
Chao Xu 5f210c6473 fix names in comments 2015-10-19 16:10:02 -07:00
Justin Santa Barbara c465e91681 AWS: Log all calls at V(4), using a handler
Fixes #12122
2015-10-19 18:54:59 -04:00
Tim St. Clair a263c77b65 Refactor liveness probing
This commit builds on previous work and creates an independent
worker for every liveness probe. Liveness probes behave largely the same
as readiness probes, so much of the code is shared by introducing a
probeType paramater to distinguish the type when it matters. The
circular dependency between the runtime and the prober is broken by
exposing a shared liveness ResultsManager, owned by the
kubelet. Finally, an Updates channel is introduced to the ResultsManager
so the kubelet can react to unhealthy containers immediately.
2015-10-19 15:15:59 -07:00
k8s-merge-robot b896a66679 Merge pull request #15739 from JanetKuo/kubectl-autoscale
Auto commit by PR queue bot
2015-10-19 14:15:23 -07:00
k8s-merge-robot 18ad5f8cdf Merge pull request #15745 from ArtfulCoder/reduceTimeout
Auto commit by PR queue bot
2015-10-19 13:02:17 -07:00
Yifan Gu c4de5b7451 kubelet/rkt: do not remove other systemd service. 2015-10-19 11:23:54 -07:00
Mike Danese ac5524d84d Merge pull request #14496 from kargakis/deep-copies-fix
deep-copies: Structs cannot be nil
2015-10-19 10:28:55 -07:00
Mike Danese 970ee8de87 Merge pull request #15753 from mqliang/jobListerTest
Add unit test for StoreToJobLister
2015-10-19 10:26:19 -07:00
Chao Xu 6f0f87b629 make kubectl explain work for extensions API 2015-10-19 10:21:56 -07:00
Janet Kuo 8105aa44a0 Implement kubectl autoscale 2015-10-19 09:59:22 -07:00
k8s-merge-robot cadb6c06be Merge pull request #14161 from feihujiang/letKubectlExecFollowDashRule
Auto commit by PR queue bot
2015-10-19 08:58:37 -07:00
mqliang b6be9b9684 use string constant instead of duplicating 2015-10-19 22:00:41 +08:00
mqliang 62846b8b3c solve conflict after rebase 2015-10-19 21:56:24 +08:00
mqliang b9f9944351 add unit test for StoreToJobLister 2015-10-19 21:56:24 +08:00
k8s-merge-robot 77207d75e1 Merge pull request #15667 from JanetKuo/kubectl-watch-list
Auto commit by PR queue bot
2015-10-19 06:28:35 -07:00
Deyuan Deng 151e4b7cb8 Search for port number for service locator 2015-10-19 21:22:59 +08:00
feihujiang a456b4c424 Remove useless codes about Minion kind 2015-10-19 19:29:45 +08:00
Maciej Szulik 1ee20363e0 An attempt to fix flake in TestControllerSyncJob (14500) 2015-10-19 12:46:33 +02:00
k8s-merge-robot 02dd86c136 Merge pull request #15472 from zhengguoyong/del_unnessary_var_definition
Auto commit by PR queue bot
2015-10-19 03:33:11 -07:00
k8s-merge-robot 75c977d200 Merge pull request #15596 from zhengguoyong/alias_util_errors_packagename
Auto commit by PR queue bot
2015-10-19 02:35:37 -07:00
kargakis 7d0e691520 expose: Enable exposing multiport objects
The generated service will inherit all the ports from the exposed object.
2015-10-19 11:25:14 +02:00