Chris Batey, James Ravn and Yoseph Samuel
087ff78cf9
Only find running aws hosts by nodename
...
When finding instance by node name in AWS, only retrieve running
instances. Otherwise terminated, old nodes can show up with the same
tag when rebuilding nodes in the cluster.
Another improvement made is to filter instances by the node names
provided, rather than selecting all instances and filtering in code.
Authors: @jsravn, @chbatey, @balooo
2016-02-23 14:47:16 +00:00
k8s-merge-robot
a89b607a9c
Merge pull request #21666 from wojtek-t/registry_options
...
Auto commit by PR queue bot
2016-02-23 05:54:47 -08:00
Piotr Szczesniak
0dfeb81390
HPA update its status even if getting metrics failed
2016-02-23 14:30:03 +01:00
k8s-merge-robot
725a8e8b36
Merge pull request #21369 from AdoHe/kubectl_change_column_titles
...
Auto commit by PR queue bot
2016-02-23 05:20:38 -08:00
k8s-merge-robot
d3661414a1
Merge pull request #21273 from kargakis/rolling-updater-fix
...
Auto commit by PR queue bot
2016-02-23 04:50:59 -08:00
k8s-merge-robot
9470a7e61c
Merge pull request #21627 from justinsb/fix_11324
...
Auto commit by PR queue bot
2016-02-23 03:45:10 -08:00
k8s-merge-robot
6b649d7f9f
Merge pull request #21706 from liggitt/token-controller
...
Auto commit by PR queue bot
2016-02-23 02:40:26 -08:00
Piotr Szczesniak
762e155f3e
Refactoring of pod autoscaler controller
2016-02-23 11:29:40 +01:00
kargakis
69cd75c6a8
registry: remove todos about rc/rs label/annotation updates
2016-02-23 10:24:02 +01:00
Yu-Ju Hong
a68f534264
kubelet: fix duplicated status updates at pod cleanup
...
cleanupTerminatedPods is responsible for checking whether a pod has been
terminated and force a status update to trigger the pod deletion. However, this
function is called in the periodic clenup routine, which runs every 2 seconds.
In other words, it forces a status update for each non-running (and not yet
deleted in the apiserver) pod. When batch deleting tens of pods, the rate of
new updates surpasses what the status manager can handle, causing numerous
redundant requests (and the status channel to be full).
This change forces a status update only when detecting the DeletionTimestamp is
set for a terminated pod. Note that for other non-terminated pods, the pod
workers should be responsible for setting the correct status after killling all
the containers.
2016-02-23 01:03:04 -08:00
Random-Liu
da99f672fc
Fix bug in fake docker client
2016-02-23 00:59:15 -08:00
k8s-merge-robot
3a12b03710
Merge pull request #21448 from timstclair/worker-race
...
Auto commit by PR queue bot
2016-02-23 00:49:28 -08:00
k8s-merge-robot
2acae62709
Merge pull request #21683 from justinsb/fix_20912
...
Auto commit by PR queue bot
2016-02-22 23:45:45 -08:00
k8s-merge-robot
0afbc71f31
Merge pull request #21030 from janetkuo/deployment-label-adopted
...
Auto commit by PR queue bot
2016-02-22 23:45:42 -08:00
Minhan Xia
973b01ee29
fix cascading backoff
2016-02-22 18:25:42 -08:00
Dawn Chen
699c80b752
Merge pull request #21641 from bprashanth/promisc
...
Teach the kubelet about promiscuous mode, take 2
2016-02-22 15:08:18 -08:00
Janet Kuo
3901423272
Report actual replicas in deployment status
2016-02-22 14:28:28 -08:00
Jordan Liggitt
92bf353496
Ensure created service account tokens are available to the token controller
2016-02-22 16:22:51 -05:00
Janet Kuo
4699a6d8a2
Address comments; fix test failure
2016-02-22 10:58:54 -08:00
Janet Kuo
dc78af948e
Address comments; fix incorrect hash
2016-02-22 10:58:54 -08:00
Janet Kuo
0e5da8460d
Address comments
2016-02-22 10:58:54 -08:00
Janet Kuo
14bab2bb3a
Address comments
2016-02-22 10:58:54 -08:00
Janet Kuo
11fdbff97f
Address comments; fix test failures; add e2e tests; update RS's label too
2016-02-22 10:58:54 -08:00
Janet Kuo
da58172283
Ensure Deployment labels adopted ReplicaSets and pods
2016-02-22 10:58:54 -08:00
Tim St. Clair
15d44d182a
Fix possible data race in prober
2016-02-22 10:27:57 -08:00
k8s-merge-robot
11cdc919f5
Merge pull request #21364 from pwittrock/macdu
...
Auto commit by PR queue bot
2016-02-22 10:09:03 -08:00
k8s-merge-robot
9b9b4fee11
Merge pull request #21278 from pweil-/include-discovery
...
Auto commit by PR queue bot
2016-02-22 09:31:53 -08:00
k8s-merge-robot
95354490c1
Merge pull request #21318 from kargakis/record-command-factory-method-tweak
...
Auto commit by PR queue bot
2016-02-22 08:11:57 -08:00
k8s-merge-robot
90d1276507
Merge pull request #21223 from hongchaodeng/fix
...
Auto commit by PR queue bot
2016-02-22 07:41:45 -08:00
Wojciech Tyczynski
4eadc5e97b
Introduce RESTOptions to configure per-resource storage
2016-02-22 16:28:28 +01:00
Justin Santa Barbara
7e69426b8b
AWS: Only warn about nameless instances if they are running
...
Otherwise this is just confusing logspam.
Fix #20912
2016-02-22 10:27:13 -05:00
k8s-merge-robot
c533ae4dd0
Merge pull request #21667 from HaiyangDING/patch-3
...
Auto commit by PR queue bot
2016-02-22 06:52:02 -08:00
Wojciech Tyczynski
93a0eac476
Revert "kubelet: fix duplicated status updates at pod cleanup"
2016-02-22 14:27:49 +01:00
k8s-merge-robot
9b9d63ac5e
Merge pull request #21340 from liggitt/delete-collection-not-found
...
Auto commit by PR queue bot
2016-02-22 03:37:42 -08:00
k8s-merge-robot
6716344d24
Merge pull request #21438 from yujuhong/terminated_pods
...
Auto commit by PR queue bot
2016-02-22 03:05:01 -08:00
k8s-merge-robot
c44c63c20e
Merge pull request #21606 from lavalamp/fix-cache-lock
...
Auto commit by PR queue bot
2016-02-22 02:03:41 -08:00
gmarek
b862d2bfe6
Wait for all route creation in RouteController
2016-02-22 10:12:23 +01:00
k8s-merge-robot
aee2eb3977
Merge pull request #21434 from erictune/job-ga
...
Auto commit by PR queue bot
2016-02-22 00:12:54 -08:00
dingh
40f6032d33
fix typo in test
2016-02-22 15:08:02 +08:00
k8s-merge-robot
24d82b6c4a
Merge pull request #21286 from smarterclayton/fix_keyring
...
Auto commit by PR queue bot
2016-02-21 21:44:27 -08:00
k8s-merge-robot
84891cabad
Merge pull request #19335 from justinsb/aws_delay_when_requestlimitexceeded
...
Auto commit by PR queue bot
2016-02-21 18:38:18 -08:00
Justin Santa Barbara
f8af47b645
AWS: Pass globals into Backoff struct
...
Thanks for the suggestion bprashanth!
2016-02-21 20:17:22 -05:00
k8s-merge-robot
2e3053a204
Merge pull request #21431 from freehan/sourcerange
...
Auto commit by PR queue bot
2016-02-21 16:14:42 -08:00
Prashanth Balasubramanian
c97e8df65b
Stricter checking of HAIRPIN_FLAG in salt.
2016-02-21 14:43:43 -08:00
Justin Santa Barbara
b269e8f43c
AWS: Delay all AWS calls when we observe RequestLimitExceeded errors
...
This applies a cross-request time delay when we observe
RequestLimitExceeded errors, unlike the default library behaviour which
only applies a *per-request* backoff.
Issue #12121
2016-02-21 15:09:42 -05:00
k8s-merge-robot
99c1df19b1
Merge pull request #21377 from wojtek-t/log_if_throttled
...
Auto commit by PR queue bot
2016-02-21 08:09:25 -08:00
k8s-merge-robot
e34a23b289
Merge pull request #21351 from smarterclayton/optional_pod_status
...
Auto commit by PR queue bot
2016-02-21 04:10:19 -08:00
k8s-merge-robot
12383dfa0c
Merge pull request #21341 from smarterclayton/liveness_describer
...
Auto commit by PR queue bot
2016-02-20 23:31:22 -08:00
Prashanth Balasubramanian
2e8ff81de1
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-20 22:40:54 -08:00
k8s-merge-robot
65b5d0cbf4
Merge pull request #21269 from gmarek/metrics-grabber
...
Auto commit by PR queue bot
2016-02-20 16:37:16 -08:00
k8s-merge-robot
a52eb5d433
Merge pull request #21268 from jsafrane/devel/recycle-provisioned
...
Auto commit by PR queue bot
2016-02-20 15:26:28 -08:00
k8s-merge-robot
3efdc1e08b
Merge pull request #21266 from deads2k/only-load-kubeconfig-once
...
Auto commit by PR queue bot
2016-02-20 14:00:38 -08:00
Justin Santa Barbara
22d719018a
AWS: Recover if tags missing on security group
...
In the AWS API (generally) we tag things we create, and then we filter
to find them. However, creation & tagging are typically two separate
calls. So there is a chance that we will create an object, but fail to
tag it.
We fix this (done here in the case of security groups, but we can do
this more generally) by retrieving the resource without a tag filter.
If the retrieved resource has the correct tags, great. If it has the
tags for another cluster, that's a problem, and we raise an error. If
it has no tags at all, we add the tags.
This only works where the resource is uniquely named (or we can
otherwise retrieve it uniquely). For security groups, the SG name comes
from the service UUID, so that's unique.
Fixes #11324
2016-02-20 14:58:19 -05:00
k8s-merge-robot
807344da0b
Merge pull request #21235 from davidopp/affinity-docs
...
Auto commit by PR queue bot
2016-02-20 11:15:02 -08:00
k8s-merge-robot
be9dfcaec4
Merge pull request #21210 from mqliang/hasSync-early
...
Auto commit by PR queue bot
2016-02-20 09:54:12 -08:00
k8s-merge-robot
330f484c17
Merge pull request #21174 from deads2k/make-patch-more-predictable
...
Auto commit by PR queue bot
2016-02-20 05:56:41 -08:00
k8s-merge-robot
a6d855bf64
Merge pull request #21149 from mwielgus/hpa-rescale
...
Auto commit by PR queue bot
2016-02-20 01:51:08 -08:00
k8s-merge-robot
81366c85c7
Merge pull request #21009 from caesarxuchao/unversioned-discovery
...
Auto commit by PR queue bot
2016-02-20 01:23:29 -08:00
k8s-merge-robot
f08a8f23c1
Merge pull request #20959 from justinsb/fix_20911
...
Auto commit by PR queue bot
2016-02-20 00:56:53 -08:00
Daniel Smith
a8b943dddd
Revert "Put the container bridge in promiscuous mode."
2016-02-19 23:14:53 -08:00
Brian Grant
9a12c0a5ea
Merge pull request #21598 from janetkuo/log-available-pods
...
Log pods of RS when deployment e2e test fails
2016-02-19 19:18:48 -08:00
Daniel Smith
3fb020b28d
Fix a locking bug in the cacher.
2016-02-19 17:45:02 -08:00
Janet Kuo
b267ede42c
Address comments
2016-02-19 15:58:33 -08:00
Janet Kuo
6ceb221f8e
Log pods of RS when deployment e2e test fails
2016-02-19 15:55:22 -08:00
Chao Xu
39838745e5
Strip version when encoding discovery API objects at endpoints that exist since release 1.1
2016-02-19 15:05:20 -08:00
Prashanth Balasubramanian
a694a7ae4b
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-19 14:59:16 -08:00
Prashanth B
6a1156d7a3
Merge pull request #21573 from pmorie/configmap-flake
...
Make flake in configMap update e2e easier to debug
2016-02-19 14:44:13 -08:00
Brian Grant
f56ed88463
Merge pull request #21576 from janetkuo/fix-flake-scale
...
Fix a bug when getting deployments for RS
2016-02-19 12:15:49 -08:00
Brian Grant
d9635b5e3e
Merge pull request #21572 from janetkuo/fix-flake-rollback-norevision
...
Retry Update in DeploymentReaper.Stop
2016-02-19 12:06:09 -08:00
Paul Morie
f8d58ac708
Make flake in configMap update e2e easier to debug
2016-02-19 15:01:20 -05:00
Janet Kuo
cf2bbc0d6d
Fix a bug when getting deployments for RS
2016-02-19 11:42:17 -08:00
Janet Kuo
3a3ebf68f0
Retry Update in DeploymentReaper.Stop
2016-02-19 11:31:41 -08:00
deads2k
11da9a7638
fix --record to not fail a successful patch
2016-02-19 14:28:23 -05:00
Eric Tune
da44473a38
Comment out test to fix later.
2016-02-19 11:20:58 -08:00
k8s-merge-robot
82c09f074b
Merge pull request #20481 from kargakis/edit-fixes
...
Auto commit by PR queue bot
2016-02-19 10:55:16 -08:00
k8s-merge-robot
c3a962bff5
Merge pull request #20351 from krousey/dynamic_client
...
Auto commit by PR queue bot
2016-02-19 10:00:54 -08:00
Eric Tune
b4d454e9d5
Autogenerate.
2016-02-19 09:48:03 -08:00
Eric Tune
bcdbd1c709
Fix Job Reaping
...
Ensure batch.Kind("Job") has a reaper, so that pods are not orphaned.
Check for orphaned pods in test-cmd.sh.
Also provide describer and scaler for batch.Kind("Job").
The scaler, reaper, and describer for extensions can
be reused for batch.
2016-02-19 09:22:05 -08:00
Eric Tune
3433d50bc3
Fix test and reorder initialization of groups
...
Delete a job scale test
A subsequent PR is going to remove support
for this anyways.
Initialize extensions before batch and autoscaling
per @lavalamp review suggestion.
2016-02-19 09:22:05 -08:00
Eric Tune
175addf2a3
Implemented Batch client
2016-02-19 09:20:56 -08:00
Eric Tune
d5f303d3d7
Fixed and added tests
2016-02-19 09:20:56 -08:00
Eric Tune
ab8cfb968f
Enabled batch API group in apiserver
2016-02-19 09:20:56 -08:00
Eric Tune
733d1fce88
Add conversion functions.
...
This is needed for Job because it uses PodSpec and PodSpec
does not have auto-generatable conversion for some reason.
Copied pkg/apis/extensions/v1beta1/conversion.go, and removed
non-Job things.
2016-02-19 09:20:56 -08:00
Eric Tune
98a801a37b
Created batch API group and copied Job there
...
Modeled after on first commit (2fbc5bb
) of piosz:hpa-ga (#20501 ).
2016-02-19 09:20:56 -08:00
k8s-merge-robot
057b8352ec
Merge pull request #21182 from vishh/repoTagsRename
...
Auto commit by PR queue bot
2016-02-19 08:56:09 -08:00
Marcin Wielgus
34f7105871
Don't include pending pods in metrics calculations
2016-02-19 17:00:38 +01:00
Michail Kargakis
35fab99af7
kubectl: scale down based on ready during rolling updates
2016-02-19 15:42:04 +01:00
Filip Grzadkowski
217d9f38e7
Don't return error when findmnt exits with error.
...
Fixes #21303
2016-02-19 14:09:33 +01:00
k8s-merge-robot
68a5641eb8
Merge pull request #20803 from aveshagarwal/master-sortby-indentation-issue
...
Auto commit by PR queue bot
2016-02-19 00:33:00 -08:00
k8s-merge-robot
5a3dec8dad
Merge pull request #20777 from pmorie/kubectl-create-configmap
...
Auto commit by PR queue bot
2016-02-19 00:03:53 -08:00
k8s-merge-robot
eb45154996
Merge pull request #21348 from caesarxuchao/generate-fake-for-1-2
...
Auto commit by PR queue bot
2016-02-18 23:02:05 -08:00
k8s-merge-robot
5d7d0eea2e
Merge pull request #20626 from nikhiljindal/serverIPInDiscovery
...
Auto commit by PR queue bot
2016-02-18 21:53:24 -08:00
k8s-merge-robot
6be4417aff
Merge pull request #17649 from jtblin/jtblin/17647-aws-elb-creation-no-tags
...
Auto commit by PR queue bot
2016-02-18 19:41:15 -08:00
Paul Morie
51a9c2c9ba
Add kubectl create configmap
2016-02-18 21:24:21 -05:00
k8s-merge-robot
f1cbaed60f
Merge pull request #17493 from feihujiang/supportSubresourceOfServiceProxy
...
Auto commit by PR queue bot
2016-02-18 18:22:59 -08:00
David Oppenheimer
053f1c6008
Update user guide and scheduler documentation to describe node affinity.
...
Register image priority locality function, which the original PR that introduced
it forgot to do. Change zone and region labels to beta.
2016-02-18 17:09:41 -08:00
Minhan Xia
7ffb123abe
add source range support for loadbalancer on gce
2016-02-18 17:05:02 -08:00
Phillip Wittrock
c6fea28e83
Merge pull request #21368 from timstclair/summary-api
...
Move stats summary types to a new kubelet/api package to avoid unnece…
2016-02-18 16:05:34 -08:00
k8s-merge-robot
d8c493a274
Merge pull request #21496 from ncdc/fix-ds-type-in-nodecontroller-informer
...
Auto commit by PR queue bot
2016-02-18 15:01:14 -08:00
k8s-merge-robot
a39b62bb22
Merge pull request #21417 from yujuhong/docker_container
...
Auto commit by PR queue bot
2016-02-18 14:31:37 -08:00