deads2k
357aebc89c
update long running to handle recommend watch mechanism
2016-02-24 10:20:25 -05:00
mqliang
e44e71ca87
make cache size configurable
2016-02-24 22:37:02 +08:00
k8s-merge-robot
d30c709a24
Merge pull request #21732 from Random-Liu/terminated_pods
...
Auto commit by PR queue bot
2016-02-24 05:10:25 -08:00
k8s-merge-robot
8a5c959494
Merge pull request #19043 from mqliang/lookup-cache
...
Auto commit by PR queue bot
2016-02-24 04:02:33 -08:00
mqliang
d9a35a25d7
add lookup cache for ReplicationController and ReplicaSet
2016-02-24 17:43:22 +08:00
Piotr Szczesniak
13a9f9f883
autogenerated
2016-02-24 09:58:49 +01:00
nikhiljindal
9d7259950b
Update status for paused deployments
2016-02-24 00:49:03 -08:00
Piotr Szczesniak
ea2075404d
Removed cluster autoscaler types frome extensions/v1beta1
2016-02-24 09:45:13 +01:00
Marcin Wielgus
81fcd778e3
Merge pull request #21550 from mwielgus/hpa-pending
...
Don't include pending pods in metrics calculations
2016-02-24 09:38:36 +01:00
Piotr Szczesniak
4d1367c212
Added more unit test for hpa status
2016-02-24 09:18:39 +01:00
nikhiljindal
7e50fa6df0
Update DeploymentReaper.Stop to use ObservedGeneration to remove race condition
2016-02-24 00:09:44 -08:00
k8s-merge-robot
9c1d8bf99d
Merge pull request #21399 from sky-uk/disable-ingress-sg
...
Auto commit by PR queue bot
2016-02-24 00:05:47 -08:00
k8s-merge-robot
491c6641a4
Merge pull request #20809 from sky-uk/only-find-running-aws-nodes
...
Auto commit by PR queue bot
2016-02-24 00:05:44 -08:00
k8s-merge-robot
014f73c93f
Merge pull request #21295 from AdoHe/kubectl_desired_column
...
Auto commit by PR queue bot
2016-02-24 00:05:41 -08:00
Marcin Wielgus
08c973d7eb
Merge pull request #21760 from piosz/hpa-kubectl
...
Added support for HPA v1 in kubectl describe
2016-02-24 09:02:46 +01:00
Marcin Wielgus
7ee767e4e8
Merge pull request #21743 from piosz/hpa-status
...
HPA update its status even if getting metrics failed
2016-02-24 09:01:35 +01:00
Marcin Wielgus
6f73f89f40
Merge pull request #21663 from gmarek/route
...
Wait for all route creation in RouteController
2016-02-24 09:00:08 +01:00
k8s-merge-robot
51150a2ac5
Merge pull request #21823 from janetkuo/sort-event-timestamp
...
Auto commit by PR queue bot
2016-02-23 23:35:33 -08:00
Jordan Liggitt
b502b8f6a1
Restore service port validation compatibility with 1.0/1.1
2016-02-23 21:27:44 -05:00
Abhi Shah
5f553a218e
Merge pull request #21724 from freehan/imagepull
...
fix cascading backoff
2016-02-23 17:53:35 -08:00
Janet Kuo
82dcc56fe3
Improve log for debug
2016-02-23 17:52:24 -08:00
Dawn Chen
a8c0ac88fc
Merge pull request #21754 from kargakis/use-generation-for-deployments
...
Use generation for deployments
2016-02-23 16:42:16 -08:00
Chao Xu
e20e295cbe
fix Event broadcaster for HPA
2016-02-23 16:15:10 -08:00
Janet Kuo
e7356679bc
Fix rolling-update --image nil pointer dereference
2016-02-23 15:07:53 -08:00
k8s-merge-robot
8f0ab31d48
Merge pull request #21762 from gmarek/nodecontroller
...
Auto commit by PR queue bot
2016-02-23 12:48:09 -08:00
Andy Goldstein
51251ef5c1
Skip probe if container ID not yet set
...
If the container status exists but the container hasn't been created yet, it won't have an ID.
Have the probe wait for a valid status if the container ID is not yet set; otherwise, you'll see the
following cryptic log message from runtime.go: invalid container ID: "".
2016-02-23 15:32:13 -05:00
Piotr Szczesniak
3e023411f6
Added events to kubectl describe hpa
2016-02-23 20:44:51 +01:00
Madhusudan.C.S
781480d7fe
Add DaemonSets and Deployments to valid resources list in kubectl.
2016-02-23 11:19:19 -08:00
kargakis
6506d76f76
update-all changes for deployment's observedGeneration
2016-02-23 19:42:35 +01:00
kargakis
7a3d40786b
switch internal field to int64
2016-02-23 19:30:33 +01:00
kargakis
2cb37f3500
update generation api comments
2016-02-23 19:30:33 +01:00
k8s-merge-robot
cdbbeae3e5
Merge pull request #21486 from fgrzadkowski/docker_ubuntu_fix
...
Auto commit by PR queue bot
2016-02-23 09:48:50 -08:00
kargakis
418d79cb78
extensions: add observedGeneration for deployments
2016-02-23 18:47:40 +01:00
gmarek
e99ad585ce
Decrease verbosity in NodeController
2016-02-23 17:03:38 +01:00
k8s-merge-robot
d0ce85a6d1
Merge pull request #21687 from kargakis/generation-updates-for-label-annotation-changes
...
Auto commit by PR queue bot
2016-02-23 07:51:48 -08:00
Piotr Szczesniak
7f83e07465
Added support for HPA v1 in kubectl describe
2016-02-23 16:50:28 +01:00
childsb
61f6c3bc13
Remove the check for a gluster specific binary in 'canSupport'. Causes problems in containerized kube.
2016-02-23 09:40:35 -06:00
Dan Williams
6248939e11
Push responsibility for bridge-nf-call-iptables to kubelet network plugins
...
bridge-nf-call-iptables appears to only be relevant when the containers are
attached to a Linux bridge, which is usually the case with default Kubernetes
setups, docker, and flannel. That ensures that the container traffic is
actually subject to the iptables rules since it traverses a Linux bridge
and bridged traffic is only subject to iptables when bridge-nf-call-iptables=1.
But with other networking solutions (like openshift-sdn) that don't use Linux
bridges, bridge-nf-call-iptables may not be not relevant, because iptables is
invoked at other points not involving a Linux bridge.
The decision to set bridge-nf-call-iptables should be influenced by networking
plugins, so push the responsiblity out to them. If no network plugin is
specified, fall back to the existing bridge-nf-call-iptables=1 behavior.
2016-02-23 09:34:59 -06:00
James Ravn and Yoseph Samuel
9f62e81be5
Disable aws node security group ingress creation
...
Add aws cloud config:
[global]
disableSecurityGroupIngress = true
The aws provider creates an inbound rule per load balancer on the node
security group. However, this can quickly run into the AWS security
group rule limit of 50.
This disables the automatic ingress creation. It requires that the user
has setup a rule that allows inbound traffic on kubelet ports from the
local VPC subnet (so load balancers can access it). E.g. `10.82.0.0/16
30000-32000`.
Limits: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html#vpc-limits-security-groups
Authors: @jsravn, @balooo
2016-02-23 15:24:50 +00:00
AdoHe
aa5c036a5c
add DESIRED and CURRENT columns to rcs,ds,rs
2016-02-23 10:11:19 -05:00
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
Dan Gillespie
55cb45afd2
changed NewDefaultRESTMapper to check for a partial package path
2016-02-23 04:24:01 -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
Random-Liu
3338304c7b
Fix error logic and leaking goroutine in docker unit test.
2016-02-23 01:29:05 -08: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
Jan Safranek
a304e3478d
Hot-fix admission of volumes that are being provisioned.
...
This is a first-aid bandage to let admission controller ignore persistent
volumes that are being provisioned right now and thus may not exist in
external cloud infrastructure yet.
2016-02-23 09:46:40 +01:00
Random-Liu
33280abf42
Cleanup and add unit test for ShouldContainerBeRestarted
2016-02-23 00:42:52 -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
harry
b90550de25
Implement check for priority
2016-02-23 11:59:32 +08:00
Minhan Xia
973b01ee29
fix cascading backoff
2016-02-22 18:25:42 -08:00
Chao Xu
78fc311f1f
adding a apiserver log message when patch fails because a meaningful conflict
2016-02-22 17:10:53 -08:00
Yifan Gu
2d2225414f
rkt: fix KillPod() to return the correct error message.
2016-02-22 17:07:31 -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
Eric Chiang
3116346161
*: add webhook implementation of authorizer.Authorizer plugin
2016-02-22 11:39:07 -08: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
Phillip Wittrock
7bca355bb4
Spread pod volume metrics calc across calc period. Metrics are calculated independently.
2016-02-22 09:54:47 -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
Paul Morie
4c61f2ce27
Add describe output for ConfigMap volumes
2016-02-22 12:26:05 -05: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
AdoHe
55823156d7
make show status in describe.DescribeContainers optional
2016-02-22 03:16:34 -05: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
Clayton Coleman
ae2f6a833a
Reduce volume of logs generated at v(3)
...
Node controller is generating a huge amount of logging at v(3) that is
more appropriate for v(5). Split the log into two levels and ensure it
also ends up on one line (so grep works).
The pod manager generates a v(4) pod output on sync that always contains
a newline - since the size of the pod is so excessive in output, kick it
to v(5) for deep debugging (we're pretty happy with this loop).
2016-02-20 15:29:05 -05: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
James DeFelice
6c09689c60
add functional Option type to Kubelet, add SetNodeStatus Option, migrate node statue update funcs to slice of callbacks
2016-02-20 02:09:54 +00: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
Fabiano Franz
59ea2b1e59
Split factory#BindFlags
2016-02-19 20:41:16 -02:00
Maciej Szulik
9bfa27a5bf
Fix kubectl annotate and label to use versioned objects when operating
2016-02-19 22:40:18 +01: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
Wojciech Tyczynski
ba28dd9561
Long requests throttled for long time
2016-02-18 21:48:29 +01:00
nikhiljindal
20ce4aed0e
Adding hostname to groups discovery information
2016-02-18 11:58:11 -08:00
Andy Goldstein
49fb450a36
Fix type for DaemonSet informer
2016-02-18 14:54:39 -05:00
Yu-Ju Hong
386453a09d
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-18 11:01:01 -08:00
k8s-merge-robot
5acdb92126
Merge pull request #21177 from laushinka/spelling-fixes
...
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
Clayton Coleman
8c27314915
Unqualified host:port pairs are valid Docker auth fields
...
The dockercfg and .docker/config.json files can contain host:path
combos, which are not correctly parsed by the keyring.
2016-02-18 13:18:34 -05:00
k8s-merge-robot
17325ef6ef
Merge pull request #20501 from piosz/hpa-ga
...
Auto commit by PR queue bot
2016-02-18 06:52:39 -08:00
Fabiano Franz
5cc943d3bf
SPDY roundtripper must respect InsecureSkipVerify
2016-02-18 11:48:02 -02:00
Piotr Szczesniak
c02e966d65
Applied comments from the review
2016-02-18 14:18:39 +01:00
Marcin Wielgus
1d3891284e
Handle scenarios when the replica count is outside of HPA replica range
2016-02-18 13:45:03 +01:00
k8s-merge-robot
c0b3fc454e
Merge pull request #21462 from gmarek/nodecontroller
...
Auto commit by PR queue bot
2016-02-18 02:59:01 -08:00
k8s-merge-robot
48109edc56
Merge pull request #21457 from wojtek-t/fix_cacher_test
...
Auto commit by PR queue bot
2016-02-18 02:59:00 -08:00
k8s-merge-robot
f618cb471f
Merge pull request #20696 from janetkuo/deployment-new-rc-replicas
...
Auto commit by PR queue bot
2016-02-18 02:58:59 -08:00
Michail Kargakis
f4658396eb
kubectl: a couple of edit fixes
...
Fix some edit bugs:
* Reload the file in case of syntax errors
* Fix error format for validation errors
* Avoid hotlooping in case of no changes or empty saves
2016-02-18 11:43:07 +01:00
gmarek
0d7f3bca0a
Increase logging verbosity to help debugging #21458
2016-02-18 11:25:38 +01:00
Wojciech Tyczynski
20d704aa06
Fix cacher_test unit test
2016-02-18 10:25:04 +01:00
k8s-merge-robot
f0b56409cc
Merge pull request #21197 from yujuhong/deleted_pod
...
Auto commit by PR queue bot
2016-02-18 01:02:40 -08:00
feihujiang
ac9f890238
Support the subresource of service proxy
2016-02-18 15:16:05 +08:00
k8s-merge-robot
bcabc096f2
Merge pull request #21130 from madhusudancs/daemonset-enable-default
...
Auto commit by PR queue bot
2016-02-17 22:54:35 -08:00
mqliang
ced5eb7a71
return early if has not synced
2016-02-18 11:56:52 +08:00
Clayton Coleman
c198367958
Add a liveness and readiness describer to pods
...
Also shorten the Last Termination State label so the page is denser.
2016-02-17 20:07:05 -05:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
Janet Kuo
1a5dd9f14f
Use IntPtr
2016-02-17 15:08:50 -08:00
Phillip Wittrock
6435d03400
Merge pull request #21346 from janetkuo/delete-deployment-flake
...
When reaping deployments, retry deployment Update
2016-02-17 15:07:58 -08:00
Madhusudan.C.S
ab1e9c200f
Graduate DaemonSet to v1beta1 API, enable it by default.
2016-02-17 15:03:12 -08:00
Phillip Wittrock
1e5175594d
Fix volume secret_test.go on darwin by not checking volume usage metrics
2016-02-17 12:56:37 -08:00
Yu-Ju Hong
7061ba20bb
Fix finding pid of a process
2016-02-17 12:43:16 -08:00
Tim St. Clair
225f903ccf
Move stats summary types to a new kubelet/api package to avoid unnecessary dependencies
2016-02-17 10:53:25 -08:00
deads2k
8c326993d5
only load kubeconfig files one time
2016-02-17 12:55:28 -05:00
k8s-merge-robot
ef505d8fa3
Merge pull request #19771 from derekwaynecarr/field_selector
...
Auto commit by PR queue bot
2016-02-17 09:20:40 -08:00
k8s-merge-robot
0866c377e9
Merge pull request #18010 from feihujiang/supportSubresourceOfNodeProxy
...
Auto commit by PR queue bot
2016-02-17 08:15:50 -08:00
k8s-merge-robot
1a2f811a3b
Merge pull request #20063 from mqliang/imageGC-config
...
Auto commit by PR queue bot
2016-02-17 06:16:45 -08:00
k8s-merge-robot
e92f5890aa
Merge pull request #21360 from vishh/21252
...
Auto commit by PR queue bot
2016-02-17 05:00:25 -08:00
Michail Kargakis
55f402c5a6
kubectl: use the factory properly for recording commands
2016-02-17 12:16:19 +01:00
Jordan Liggitt
d575a954fa
Tolerate individual NotFound errors in DeleteCollection
2016-02-17 00:06:44 -05:00
Clayton Coleman
778fb1798b
Don't print reason or message if they are empty on pods
...
For running pods they are typically empty and convey no value. Don't
print images twice.
2016-02-16 23:26:59 -05:00
AdoHe
10feb3e6fd
change CONTROLLER, ReplicaSet and Job column titles to NAME
2016-02-16 23:14:12 -05:00
Janet Kuo
fe4bf6ff5c
When syncRecreateDeployment, don't create a new RS before scaling down
2016-02-16 18:05:44 -08:00
Janet Kuo
e9262df456
Scale up early when deployment creates new Replica set
2016-02-16 18:05:44 -08:00
Vishnu kannan
8d0370ede3
Do not set container runtime health check until on kubelet init.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 16:40:48 -08:00
Vishnu kannan
7de6a25383
Identify runtime's cgroups periodically to avoid race with runtime
...
uptime.
The runtime could also move between cgroups.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 16:39:48 -08:00
Vishnu kannan
2623fdde17
Improve the naming of fields in ContainerImage struct used in NodeStatus.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 15:45:22 -08:00
k8s-merge-robot
3616b4bfec
Merge pull request #21044 from mqliang/deployment-util
...
Auto commit by PR queue bot
2016-02-16 15:33:26 -08:00
Janet Kuo
92eb075a2b
When reaping deployments, retry deployment Update
2016-02-16 15:12:38 -08:00
Alex Robinson
58ab75a69a
Merge pull request #21292 from gtank/typo-fix
...
Fix comment typo
2016-02-16 13:58:45 -08:00
derekwaynecarr
76f2cc6a11
Add field selector for pod.spec.restartPolicy
2016-02-16 16:51:42 -05:00
k8s-merge-robot
8081956be3
Merge pull request #21325 from caesarxuchao/coding-conventions
...
Auto commit by PR queue bot
2016-02-16 13:00:13 -08:00
Paul Weil
6cf26a41c0
include discovery client in adaptor
2016-02-16 15:21:19 -05:00
Chao Xu
97aecd002a
remove underscore in imported pkg names
2016-02-16 10:54:51 -08:00
k8s-merge-robot
6c638b5f3f
Merge pull request #21100 from madhusudancs/daemonset-validation-change-confusing-varnames
...
Auto commit by PR queue bot
2016-02-16 09:52:57 -08:00
k8s-merge-robot
dff76f0a81
Merge pull request #21279 from Clarifai/master
...
Auto commit by PR queue bot
2016-02-16 08:55:04 -08:00
Wojciech Tyczynski
35a3394a0a
Require versioner in etcdHelper to be non-null.
2016-02-16 16:22:43 +01:00
k8s-merge-robot
c91a79be45
Merge pull request #21199 from erictune/validation-helper
...
Auto commit by PR queue bot
2016-02-16 07:07:49 -08:00
k8s-merge-robot
dada47eb2f
Merge pull request #21179 from smarterclayton/cant_replace_cluster_resource
...
Auto commit by PR queue bot
2016-02-16 04:45:43 -08:00
Jerome Touffe-Blin
62a8b3d44c
Fix #17912 - pick public subnets only on ELB creation
2016-02-16 23:16:38 +11:00
k8s-merge-robot
6a1214b017
Merge pull request #21172 from cjcullen/cidralloc
...
Auto commit by PR queue bot
2016-02-16 03:26:23 -08:00
Marcin Wielgus
ce395d4423
Merge pull request #21277 from mwielgus/cm-prefix-fix
...
Change custom metrics prefix in HPA metrics client
2016-02-16 12:22:26 +01:00
feihujiang
e85253916f
Support the subresource of node proxy
2016-02-16 17:02:45 +08:00
George Tankersley
31463502ec
Fix comment typo
2016-02-15 21:05:51 -08:00
k8s-merge-robot
180d34ed52
Merge pull request #21120 from Random-Liu/minor-probe-manager-refactor
...
Auto commit by PR queue bot
2016-02-15 19:41:45 -08:00
k8s-merge-robot
9dacc5b382
Merge pull request #21238 from AdoHe/kubectl_help_bug
...
Auto commit by PR queue bot
2016-02-15 19:16:39 -08:00
k8s-merge-robot
47acbd62ec
Merge pull request #21099 from deads2k/extend-patch
...
Auto commit by PR queue bot
2016-02-15 14:49:02 -08:00
k8s-merge-robot
84da994d68
Merge pull request #21088 from derekwaynecarr/improve_helpers
...
Auto commit by PR queue bot
2016-02-15 14:21:26 -08:00
k8s-merge-robot
88e4be7cbb
Merge pull request #20790 from Clarifai/ip-permission-iprange
...
Auto commit by PR queue bot
2016-02-15 13:49:50 -08:00
k8s-merge-robot
a7818ac3a1
Merge pull request #20926 from derekwaynecarr/pvc_edit_validation
...
Auto commit by PR queue bot
2016-02-15 13:21:13 -08:00
Madhusudan.C.S
688cae77cb
Don't call DaemonSet and HPA type variables controller, it is just confusing to the reader.
...
This was likely due to a copy-paste replication controller validation code.
2016-02-15 12:52:41 -08:00
Piotr Szczesniak
264c64ec0d
Enabled autoscaling API group in apiserver
2016-02-15 21:39:00 +01:00
Daniel Smith
74400c33ae
changes for cross-group moves
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
d9705940d6
Fixed and added tests
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
d2f11521cb
Implemented Autoscaling client
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
e96515f590
Autogenerated conversions, deep copies, types
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
90c647eff9
API changes in HPA required for going to GA
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
2fbc5bb767
Created autoscaling API group and copied HPA there
2016-02-15 21:39:00 +01:00
Rudi Chiarito
b46321c19f
Fix Sprintf formatting in log message
2016-02-15 15:30:49 -05:00
k8s-merge-robot
bc04759560
Merge pull request #20974 from wojtek-t/cleanup_metrics
...
Auto commit by PR queue bot
2016-02-15 12:22:01 -08:00
derekwaynecarr
c5cb09405c
Improve persistent volume claim validation
2016-02-15 15:13:53 -05:00
k8s-merge-robot
c48e94df89
Merge pull request #20956 from derekwaynecarr/cleanup_validation
...
Auto commit by PR queue bot
2016-02-15 11:55:54 -08:00
Marcin Wielgus
41cf0cd78f
Change custom metrics prefix in HPA metrics client
2016-02-15 20:28:37 +01:00
k8s-merge-robot
1380a3e6a1
Merge pull request #20850 from deads2k/remove-resource-is-valid
...
Auto commit by PR queue bot
2016-02-15 11:27:19 -08:00
k8s-merge-robot
134d44cf2b
Merge pull request #20409 from AdoHe/kubectl_ingress_labels
...
Auto commit by PR queue bot
2016-02-15 10:59:12 -08:00
derekwaynecarr
a03361bd84
Make default format right for nil values
2016-02-15 13:55:33 -05:00
Rudi Chiarito
da4ba61232
Fix AWS IPPermission check for case with preexisting groups and ranges
2016-02-15 11:41:18 -05:00
gmarek
63dd014412
Update SchedulerMetrics
2016-02-15 16:52:41 +01:00
Jan Safranek
6088369227
Delete provisioned volumes without claim.
...
There is a race in dynamic provisioning:
1. User creates a claim to dynamically provision a volume.
2. Kubernetes start provisioning the volume.
3. User deletes the claim before 2. is finished.
4. Kubernetes finished provisioning the volume.
The volume is in Pending state. This volume should be deleted instead of
moving to Available state.
2016-02-15 16:38:35 +01:00
mqliang
fcf0d6d720
add GetValueFromIntOrPercent helper funcs
2016-02-15 23:06:02 +08:00
mqliang
641ba92aa3
move minGCAge to ImageGCPolicy and make it configurable
2016-02-15 22:54:54 +08:00
mqliang
d96cdb93c4
move helper funcs to util/deployment.go from util.go
2016-02-15 22:36:48 +08:00
deads2k
f89bd83664
fix group mapping and encoding order
2016-02-15 08:49:17 -05:00
deads2k
9901a386c3
remove ResourceIsValid
2016-02-15 07:49:48 -05:00
k8s-merge-robot
e62cf38fa9
Merge pull request #21104 from krousey/throttle_client
...
Auto commit by PR queue bot
2016-02-15 00:44:14 -08:00
k8s-merge-robot
94b3c95e7a
Merge pull request #20557 from AdoHe/kubectl_update_wide
...
Auto commit by PR queue bot
2016-02-15 00:18:37 -08:00
k8s-merge-robot
39a9043b8e
Merge pull request #21095 from liggitt/sa-namespace
...
Auto commit by PR queue bot
2016-02-14 22:13:10 -08:00
k8s-merge-robot
4ff418ca50
Merge pull request #21057 from davidopp/work1
...
Auto commit by PR queue bot
2016-02-14 20:48:17 -08:00
AdoHe
81103a07c2
fix --sort-by help bug
2016-02-14 22:31:13 -05:00