Commit Graph

10055 Commits (cacda7bc7aa60d88b217daa5482f550044bb3021)

Author SHA1 Message Date
Yu-Ju Hong 25f2c6f330 Improve mirror pod creation/deletion
- Ignore the "not found" error on deletion.
 - Recognize the "already exists" error on creation and check if the existing
   pod meets requirement. If so, don't report an error.
 - Immediately create a mirror pod after a successful deletion, if needed.
2016-01-21 16:01:14 -08:00
Alex Mohr 4ac2f7453d Merge pull request #19533 from kargakis/bloated-job-status-fix
Fix job status conditions bloat
2016-01-21 15:10:49 -08:00
Alex Mohr 9546909929 Merge pull request #19366 from ironcladlou/noop-zero-replicas
Support rolling update to 0 desired replicas
2016-01-21 15:08:20 -08:00
Alex Mohr 12845ba9a5 Merge pull request #18877 from markturansky/fix_18830
Trigger syncClaim after PV provisioning to reduce wait
2016-01-21 15:06:46 -08:00
Chao Xu 0734248e42 Use lowercase names in individual typed clients 2016-01-21 15:01:47 -08:00
Chao Xu 030043b5be Ingress's plural 2016-01-21 15:01:47 -08:00
Alex Mohr ba6c939b3e Merge pull request #19887 from liggitt/export_transports
Export transport constructors
2016-01-21 14:54:40 -08:00
nikhiljindal 2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
Alex Mohr 7d96694c3f Merge pull request #19725 from timstclair/summary
Add blank /stats/summary kubelet endpoint
2016-01-21 14:27:53 -08:00
Alex Mohr 359c684d57 Merge pull request #19698 from kargakis/expose-deployments
kubectl: Support exposing deployments
2016-01-21 14:26:14 -08:00
Yu-Ju Hong 0fada52788 Fix sending an empty update when the source is ready 2016-01-21 14:24:39 -08:00
Alex Mohr 21a5d57c75 Merge pull request #19481 from deads2k/fix-patch-admission
make patch call update admission chain after applying the patch
2016-01-21 14:23:19 -08:00
Alex Mohr ad5dce89f0 Merge pull request #19790 from mqliang/podgc-event
remove unused eventBroadcaster in gc controller
2016-01-21 13:54:12 -08:00
Mike Danese 1fc630caa0 add ip validation to componentconfig command line 2016-01-21 13:33:30 -08:00
Justin Santa Barbara cc8e11b8d4 Update generated code for NonMasqueradeCIDR field 2016-01-21 15:18:38 -05:00
Justin Santa Barbara 58191c446c Allow non-masquerade-cidr to be passed to the kubelet
Removing the hard-coding of 10.0.0.0/8

Issue #11204
2016-01-21 15:18:31 -05:00
Alex Mohr f64a40f315 Merge pull request #19863 from justinsb/aws_fix_loadbalancer_tcp_check
AWS: Eliminate assumptions about all load-balancer ports matching
2016-01-21 10:52:20 -08:00
Alex Mohr b8f8a62775 Merge pull request #19862 from justinsb/aws_fix_tcploadbalancer_comment
AWS: Fix comment to reflect new method name
2016-01-21 10:51:37 -08:00
Alex Mohr 8e9bebb424 Merge pull request #19861 from justinsb/aws_remove_dead_code
AWS: Remove dead code
2016-01-21 10:51:06 -08:00
Alex Mohr a77f7205ea Merge pull request #19506 from a-robinson/goversion
Resolve old TODO that was waiting on us to move off of go 1.3
2016-01-21 10:42:06 -08:00
Alex Mohr 94b2490eba Merge pull request #19580 from WeixuZhuang/node
resolve the bug when cluster CIDR is not /8
2016-01-21 10:34:19 -08:00
Alex Mohr 819cdc85d3 Merge pull request #19390 from danielschonfeld/optimize-kubelet-heartbeat-aws
optimize kubelet heartbeats instance data to be cached for AWS
2016-01-21 10:33:00 -08:00
Alex Mohr c52122cab5 Merge pull request #19675 from apcera/kubelet-report-runtime-version
Update container runtime to properly report the engine and version
2016-01-21 10:31:19 -08:00
Alex Mohr 1ab41d5238 Merge pull request #16509 from miminar/namespace_field_conv
Add missing field label conversions for Namespace
2016-01-21 10:27:02 -08:00
Alex Mohr d2d349bc84 Merge pull request #19334 from resouer/network
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
Alex Mohr 8c9aa2af33 Merge pull request #19733 from janetkuo/flaky-deployment-recreate
Fix e2e flake: Sync deployment status when with RecreateDeploymentStrategy
2016-01-21 10:23:21 -08:00
Alex Mohr eaa61a72b0 Merge pull request #17919 from justinsb/multizone_gce
Ubernetes Lite support for GCE
2016-01-21 10:22:34 -08:00
Alex Mohr 79e0c9f5e5 Merge pull request #19842 from yujuhong/status_update
Don't handle graceful deletion of mirror pods in status manager
2016-01-21 09:24:46 -08:00
Alex Mohr 9a264c4b41 Merge pull request #19838 from yujuhong/empty_add
Fix empty ADD update on kubelet restarts
2016-01-21 09:22:53 -08:00
k8s-merge-robot dda29bedd8 Merge pull request #18722 from deads2k/add-sar
Auto commit by PR queue bot
2016-01-21 07:06:05 -08:00
k8s-merge-robot cf8d05f420 Merge pull request #19042 from madhusudancs/replicaset
Auto commit by PR queue bot
2016-01-21 06:29:22 -08:00
k8s-merge-robot 6cf3a4b5f0 Merge pull request #18957 from jsafrane/devel/pv-name-tag
Auto commit by PR queue bot
2016-01-21 05:55:12 -08:00
k8s-merge-robot 0f6f521beb Merge pull request #18959 from jsafrane/devel/cinder-tags
Auto commit by PR queue bot
2016-01-21 03:33:58 -08:00
k8s-merge-robot 7f25a4f662 Merge pull request #18997 from mqliang/env-variable
Auto commit by PR queue bot
2016-01-21 03:03:19 -08:00
k8s-merge-robot e2c79915fd Merge pull request #18820 from mqliang/image-gc-bug
Auto commit by PR queue bot
2016-01-21 01:22:29 -08:00
k8s-merge-robot 3978c76a26 Merge pull request #18790 from erictune/secret-validate
Auto commit by PR queue bot
2016-01-21 00:46:49 -08:00
Madhusudan.C.S 572abe1c50 Introducing ReplicaSet, a new incarnation of Replication Controller.
This commit adds the API types, conversion, validation and defaulting code.
2016-01-21 00:38:42 -08:00
k8s-merge-robot 2374a3225a Merge pull request #18319 from madhusudancs/daemonset-update
Auto commit by PR queue bot
2016-01-21 00:17:42 -08:00
k8s-merge-robot d0f59e2126 Merge pull request #18172 from Random-Liu/generate-sync-event
Auto commit by PR queue bot
2016-01-20 22:48:35 -08:00
k8s-merge-robot 8ed248021e Merge pull request #17650 from jsafrane/devel/cinder-format
Auto commit by PR queue bot
2016-01-20 22:18:25 -08:00
k8s-merge-robot 03ecde1277 Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
Chao Xu ee6f03f55a Fix UpdateStatus 2016-01-20 21:15:07 -08:00
Justin Santa Barbara 43cbfb74fe Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
We adapt the existing code to work across all zones in a region.

We require a feature-flag to enable Ubernetes-Lite

Reasons:

* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.

There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
Clayton Coleman 29028a1332 Fix unrelated log level error 2016-01-20 22:58:17 -05:00
Clayton Coleman 33660e001a Update service account tokens controller to use client.RetryOnConflict 2016-01-20 22:58:17 -05:00
Clayton Coleman 4342fccc0d Provide a RetryOnConflict helper for client libraries
Used like:

    var pod *api.Pod
    err := client.RetryOnConflict(client.DefaultBackoff, func() (err error) {
      pod, err = c.Pods("mynamespace").UpdateStatus(update)
      return
    })
    // err may be conflict
2016-01-20 22:58:16 -05:00
Random-Liu eb56d46b74 Minor clean up in kubelet syncPod() 2016-01-20 17:31:59 -08:00
Ken Robertson a7b07c01df Update container runtime to properly report the engine and version
This address a TODO when collecting the node version information so it
will properly report the configured runtime and its version. Previously,
this was hardcoded to "docker://" and the docker version, and would show
"docker://1.9.1" even when the kubelet was configured to use rkt.

With this change, it will use the runtime's Type() and Version() data.

This also changes the container.Runtime interface to add an APIVersion()
method. This can be used when the runtime has separate versions for the
engine and the API, such as with Docker. The Docker minimum version
validation has been updated to use APIVersion(), and
DockerManager.Version() now returns the engine version.
2016-01-20 16:42:25 -08:00
Janet Kuo 183b7f4d6d Add kubectl rollout 2016-01-20 16:17:42 -08:00
Kris 8cc483dc74 Add WrappedRoundTripper methods to round trippers
Proxy dialing code relies on this to get to the underlying
http.Transport for custom dialers and TLSConfigs.
2016-01-20 15:39:57 -08:00
Vishnu kannan 21748701f1 Avoid nodes that have `0` cpu and memory capacity.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-01-20 15:34:58 -08:00
liggitt 605979673b Export transport constructors 2016-01-20 17:30:40 -05:00
Alex Mohr a9050679a5 Merge pull request #19520 from janetkuo/deployment-expectation-fix
Fix e2e flake: Fix incorrect expectation when deployment scaling down old rcs
2016-01-20 13:44:30 -08:00
deads2k e90c2bd7dc make patch call update admission chain after applying the patch 2016-01-20 16:21:27 -05:00
Madhusudan.C.S 664589df71 Auto-generated code. 2016-01-20 10:44:26 -08:00
Madhusudan.C.S bd3b476bbf Update types, add defaulting code, conversions and validation. 2016-01-20 10:44:19 -08:00
Madhusudan.C.S 6a6699a1b2 Add new types for DaemonSet update. 2016-01-20 10:33:49 -08:00
Justin Santa Barbara 9f44c72ba9 AWS: findInstancesByNodeNames should not make O(N) API calls
findInstancesByNodeNames was a simple loop around
findInstanceByNodeName, which made an EC2 API call for each call.

We've had trouble with this sort of behaviour hitting EC2 rate limits on
bigger clusters (e.g. #11979).

Instead, change this method to fetch _all_ the tagged EC2 instances, and
then loop through the local results.  This is one API call (modulo
paging).

We are currently only using findInstancesByNodeNames for the load
balancer, where we attach every node, so we were fetching all but one of
the instances anyway.

Issue #11979
2016-01-20 12:37:22 -05:00
Yu-Ju Hong dc5b35a570 Set default status to pending for pods from non-apiserver sources 2016-01-20 09:36:01 -08:00
Paul Morie a45cbcd8a2 Add validation for EnvVarSource variant 2016-01-20 11:10:09 -05:00
Justin Santa Barbara 0586d866de AWS: Eliminate assumptions about all load-balancer ports matching
It costs us basically nothing to just check all the ports, and
protects us against future changes to the controller.
2016-01-20 09:30:46 -05:00
Justin Santa Barbara 12dd568662 AWS: Fix comment to reflect new method name
TCPLoadBalancer.EnsureTCPLoadBalancer => LoadBalancer.EnsureLoadBalancer
2016-01-20 09:28:28 -05:00
Justin Santa Barbara 30882265b6 AWS: Remove dead code
I think I added these functions by mistake; they aren't used and
apparently never were.
2016-01-20 09:23:53 -05:00
Dan Mace eb778217ad Support rolling update to 0 desired replicas
Support a desired replica count of 0 for the new RC. Users sometimes
want to roll out a new "inactive" template with the intent of scaling
it up manually later.
2016-01-20 09:21:13 -05:00
deads2k 14396fc464 add subject access review types 2016-01-20 08:24:15 -05:00
k8s-merge-robot 1c861d43ac Merge pull request #18298 from pmorie/secret-env
Auto commit by PR queue bot
2016-01-20 03:55:40 -08:00
k8s-merge-robot 6c8bf484d2 Merge pull request #15322 from mattjmcnaughton/15229-rename-ValidatePositiveField-and-ValidatePositiveQuantity
Auto commit by PR queue bot
2016-01-20 02:35:12 -08:00
Hitoshi Mitake a33f459c39 clientcmd: remove needless format specifier in a log
Current BuildConfigFromFlags() seems to print a log like below when
config path isn't specified:
```
W0120 15:30:06.196820   13323 client_config.go:359] error creating
inClusterConfig, falling back to default config: %vunable to load
in-cluster configuration, KUBERNETES_SERVICE_HOST and
KUBERNETES_SERVICE_PORT must be defined
```

This commit removes the needless "%v"
2016-01-20 15:36:52 +09:00
k8s-merge-robot ecf6038720 Merge pull request #19734 from caesarxuchao/generate-fake-client
Auto commit by PR queue bot
2016-01-19 20:42:59 -08:00
Yu-Ju Hong cfb5442b2d Turn on kubecontainer.Cache in kubelet 2016-01-19 18:15:10 -08:00
Chao Xu fb81b2278e client-gen now generates the fake client. 2016-01-19 17:27:17 -08:00
k8s-merge-robot 864065be97 Merge pull request #19621 from mikedanese/retrofit-controller-manager
Auto commit by PR queue bot
2016-01-19 17:22:42 -08:00
Yu-Ju Hong f1535a0d4c Don't handle graceful deletion of mirror pods in status manager 2016-01-19 16:47:57 -08:00
James DeFelice 75f487f7bf AbsPath should be compatible with proxy-prefixes:
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
Mike Danese 39c7ea57b0 test: make ValidateCount throw an error instead of a log
We can either fix it here or at every callsite. Every callsite is
currently using this method incorrectly.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-19 15:59:32 -08:00
Eric Tune 4a3d4defdf Validate kubernetes.io/dockerconfigjson secrets
Added unit test.
2016-01-19 12:35:30 -08:00
Jan Safranek f912870784 openstack: Use common SafeFormatAndMount() for mounting.
There is no reason for OpenStack + Cinder to use it's own variant of format
& mount.
2016-01-19 09:36:38 +01:00
Matt McNaughton 90d68a53b3 Rename Positive qualifier to Nonnegative
It makes more sense for `ValidatePositiveField` and
`ValidatePositiveQuantity` methods to be named `ValidateNonnegativeField`
and `ValidateNonnegativeQuantity` as that is what is truly being
checked. This commit simply updates the method names everywhere they are
used.
2016-01-18 17:29:15 -05:00
Mike Danese a885d84cc9 leaderelection: retrofit controller-manager with leaderelection client
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-18 14:05:55 -08:00
Paul Morie 60cf252e8b Add validation for variant-type of EnvVarSource 2016-01-18 15:07:48 -05:00
Paul Morie 394a7bb4d0 Regen for secrets in env 2016-01-18 12:32:32 -05:00
Paul Morie c548054560 Add ability to consume secrets in env vars 2016-01-18 12:20:51 -05:00
Marek Grabowski 810544633e Merge pull request #19751 from mikedanese/fix-nil
deployment: fix nil pointer panic
2016-01-18 18:08:33 +01:00
mqliang 6fe899b007 remove unused eventBroadcaster in gc controller 2016-01-18 20:40:11 +08:00
Piotr Szczesniak 9659057986 Revert "Enable kubecontainer.Cache in kubelet" 2016-01-18 13:35:41 +01:00
Lantao Liu 4c37dbe6e6 Merge pull request #19690 from Random-Liu/fix-bug-in-status-test
Fix bug in status/manager_test.go
2016-01-18 01:15:16 -08:00
k8s-merge-robot ad827c6b62 Merge pull request #19573 from madhusudancs/daemonset-update-move-utils
Auto commit by PR queue bot
2016-01-17 08:16:11 -08:00
k8s-merge-robot fcf8263b1b Merge pull request #19572 from pwittrock/exportfsmetrics
Auto commit by PR queue bot
2016-01-17 07:46:02 -08:00
k8s-merge-robot 0051dcc83e Merge pull request #19560 from Random-Liu/format-reconcile-log
Auto commit by PR queue bot
2016-01-17 04:51:05 -08:00
k8s-merge-robot a5e79a9f47 Merge pull request #19536 from bprashanth/daemon_replace
Auto commit by PR queue bot
2016-01-17 04:22:56 -08:00
Random-Liu 0e612afa98 Start using PodSyncResult in dockertools 2016-01-17 00:42:45 -08:00
Random-Liu f2176643e7 Add unit test for PodSyncResult 2016-01-17 00:42:45 -08:00
Random-Liu 2d31d8ed4c Add PodSyncResult 2016-01-17 00:42:44 -08:00
k8s-merge-robot d5dde09e10 Merge pull request #19465 from thockin/docs-nit
Auto commit by PR queue bot
2016-01-16 13:32:36 -08:00
k8s-merge-robot 4cd20f54fc Merge pull request #19460 from bprashanth/kubectl_desc_ing
Auto commit by PR queue bot
2016-01-16 12:55:54 -08:00
k8s-merge-robot 4969f11089 Merge pull request #19439 from bprashanth/compute_dep
Auto commit by PR queue bot
2016-01-16 10:38:11 -08:00
k8s-merge-robot ac0d01f8ca Merge pull request #19436 from yujuhong/status_cache_p2
Auto commit by PR queue bot
2016-01-16 09:24:19 -08:00
k8s-merge-robot ffed4e1a3a Merge pull request #19428 from yifan-gu/rkt_isolator
Auto commit by PR queue bot
2016-01-16 08:48:38 -08:00
k8s-merge-robot 3816c1798f Merge pull request #19411 from eparis/boolflag-def-val
Auto commit by PR queue bot
2016-01-16 06:23:48 -08:00
k8s-merge-robot 4010c214e4 Merge pull request #19752 from hongchaodeng/listandwatch
Auto commit by PR queue bot
2016-01-15 23:01:37 -08:00
Hongchao Deng 9a10e95f6e docs: Reflector ListAndWatch 2016-01-15 18:19:19 -08:00
k8s-merge-robot fab5fbde7c Merge pull request #19507 from mikedanese/kubelet-config
Auto commit by PR queue bot
2016-01-15 18:14:53 -08:00
Mike Danese 78d27a5d2f deployment: fix nil pointer panic 2016-01-15 17:58:01 -08:00
Mike Danese 936c8cd597 Merge pull request #19685 from resouer/testing
Replace fake handler using testing pkg
2016-01-15 17:47:53 -08:00
Janet Kuo d693ffaa57 Fix incorrect expectation when deployment scaling down old rcs 2016-01-15 16:29:53 -08:00
Janet Kuo 5a22e30b7d Sync deployment status when with RecreateDeploymentStrategy 2016-01-15 16:10:06 -08:00
Mike Danese fe8ae1a28a autogenerated 2016-01-15 16:05:49 -08:00
Chao Xu 9d23d75071 Merge pull request #19499 from caesarxuchao/scale-client-gen
client-gen: typed client with only the expansion interface
2016-01-15 15:49:25 -08:00
Mike Danese 1162cfd3b1 kubelet: move most of kubelet server configuration to a config object.
This is part of migrating kubelet configuration to the componentconfig api
group and is preliminary to retrofitting client configuration and
implementing full fledged API group mechinary.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-15 15:31:59 -08:00
Tim St. Clair 5a0dc30b51 Add blank /stats/summary kubelet endpoint
Add a `/stats/summary` endpoint to the kubelet which will return an
empty Summary{} struct (json formatted), as a summary API
placeholder. Once the next cAdvisor release is vendored, the summary
API will be filled in.
2016-01-15 14:55:54 -08:00
Random-Liu 8fb056d258 Add getTestPod() to avoid sharing object among test cases 2016-01-15 11:22:15 -08:00
Michail Kargakis 08d8843a9c kubectl: Support exposing deployments 2016-01-15 17:02:24 +01:00
k8s-merge-robot 21aa683fb5 Merge pull request #18974 from pmorie/config-env
Auto commit by PR queue bot
2016-01-15 06:42:56 -08:00
combk8s 5b383dad62 fix image gc bug 2016-01-15 16:43:22 +08:00
k8s-merge-robot 0834890c42 Merge pull request #17741 from freehan/nodedown
Auto commit by PR queue bot
2016-01-15 00:02:48 -08:00
harry 98222b4d8b Replace to tag
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
k8s-merge-robot ec002e52ab Merge pull request #19661 from mikedanese/le-config
Auto commit by PR queue bot
2016-01-14 22:27:14 -08:00
Harry Zhang 936a11e775 Use networking to hold network related pkgs
Change names of unclear methods

Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Mike Danese 33c72db59c Merge pull request #19528 from resouer/strings-util
Create strings pkg to fix util issue
2016-01-14 21:19:17 -08:00
harry 7405c7899b Add strings pkg to hold strings utils
Replace funtions with strings pkg

Fix all references and rename the pkg
2016-01-15 12:37:50 +08:00
Minhan Xia 01829432db update pod status once node becomes NotReady 2016-01-14 17:41:36 -08:00
Mike Danese 533a42948e Merge pull request #19553 from liggitt/abac_typo
Fix example ABAC policy file
2016-01-14 17:04:41 -08:00
Mike Danese 558d0cc65d Merge pull request #19617 from hongchaodeng/watch_cache
small refactor on watch cache
2016-01-14 17:04:13 -08:00
Mike Danese 82509a46a7 Merge pull request #19585 from smarterclayton/skip_mount
Skip format and mount test on windows or mac
2016-01-14 17:03:44 -08:00
Phillip Wittrock bb216e53da Define stats api fields for exporting filesystem metrics #17331 2016-01-14 15:52:35 -08:00
Yu-Ju Hong c9faecba9d Merge pull request #19668 from Random-Liu/fix-bug-in-reconcile
Fix bug in needsReconcile
2016-01-14 14:29:29 -08:00
Mike Danese 9745d1cbf0 Merge pull request #19626 from mikedanese/kubelet-labels
kubelet: use ConfigurationMap instead of json
2016-01-14 14:08:53 -08:00
Prashanth B 926b94fefc Merge pull request #19493 from bprashanth/kubelet_fix
Errors in network setup should prevent pod creation
2016-01-14 13:49:19 -08:00
Yu-Ju Hong 15950daa7f Restore the old behavior of setting pod status to pending 2016-01-14 13:46:26 -08:00
Mike Danese 1f0b10bd22 Merge pull request #19538 from mesosphere/jdef_mesos_026_compat
MESOS: compatibility w/ mesos v0.26
2016-01-14 13:44:42 -08:00
Random-Liu fed61731f1 Fix bug in needsReconcile 2016-01-14 13:44:02 -08:00
Mike Danese 87bce64014 Merge pull request #19607 from hongchaodeng/fix
typo fix in watch_cache.go
2016-01-14 13:42:18 -08:00
Mike Danese 1acfb151b6 Merge pull request #19433 from janetkuo/deployment-e2e-flake-fix
Fix flaky e2e: Use expectation model for deployment's new rc creation
2016-01-14 13:23:46 -08:00
Chao Xu b8be5e1340 generate client for scale, which has only the expansion interface 2016-01-14 12:14:00 -08:00
Mike Danese 41df8749a8 Merge pull request #19470 from gmarek/kubemark-performance
Shorten the sleep amount in the fake docker client
2016-01-14 11:55:24 -08:00
Mike Danese 4c771b4296 Merge pull request #19613 from swagiaal/improve-rbd-errors
RBD return output in error case
2016-01-14 11:52:47 -08:00
Mike Danese e253b54d40 Merge pull request #19568 from caesarxuchao/namespace-clientgen
client-gen: add a nonNamespaced comment tag
2016-01-14 11:49:36 -08:00
Mike Danese 14378485f3 Merge pull request #19629 from yifan-gu/rkt_debug_logging
rkt: Add useful debugging message.
2016-01-14 11:49:18 -08:00
Mike Danese 968deadcee autogenerated
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-14 11:23:50 -08:00
Mike Danese daa7040195 move leader election configuration into component configuration
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-14 11:20:09 -08:00
Chao Xu ec9771ccb6 add nonNamespaced comment tag; change the interface name 2016-01-14 10:46:08 -08:00
Mike Danese 35a3785cf6 kubelet: use ConfigurationMap instead of json 2016-01-14 09:32:42 -08:00
Yu-Ju Hong 07cf5cff48 Enable kubecontainer.Cache in kubelet 2016-01-14 09:31:24 -08:00
Sami Wagiaalla 52c9a3abe2 RBD return output in error case 2016-01-14 11:33:33 -05:00
Paul Morie 17c8c8f9fc Regenerate for configMap in env 2016-01-14 10:40:56 -05:00
Eric Paris aad4b4477d Make "BoolFlag" booleans not require =true 2016-01-14 09:07:00 -05:00
gmarek 257e964537 Add Equal funtion to metrics 2016-01-14 10:58:03 +01:00
k8s-merge-robot bf315d4563 Merge pull request #19374 from timstclair/housekeep
Auto commit by PR queue bot
2016-01-14 01:42:52 -08:00
k8s-merge-robot 2655e1f767 Merge pull request #19361 from tombenner/add_current_context
Auto commit by PR queue bot
2016-01-14 01:09:12 -08:00
Michal Minar 3188e123a9 Add missing field label conversions
Added missing field labels conversion functions for kinds:
- ConfigMap
- DaemonSet
- Deployment
- Endpoints
- Event
- Ingress
- Job
- PersistentVolume
- PersistentVolumeClaim
- ResourceQuota
- Secret
- Service

Completed conversion functions of few other kinds:
- Namespace
- ServiceAccount

Added tests suite for the above.

Signed-off-by: Michal Minar <miminar@redhat.com>
2016-01-14 10:00:45 +01:00
k8s-merge-robot a385de1e43 Merge pull request #19357 from timstclair/stats-refactor
Auto commit by PR queue bot
2016-01-13 23:54:48 -08:00
k8s-merge-robot 36dc6eab34 Merge pull request #19300 from caesarxuchao/move-SwaggerSchema-to-disocovery
Auto commit by PR queue bot
2016-01-13 23:20:08 -08:00
k8s-merge-robot 5462a37dfe Merge pull request #17700 from yujuhong/status_cache
Auto commit by PR queue bot
2016-01-13 22:47:57 -08:00
k8s-merge-robot 9e97cfc2e8 Merge pull request #14200 from swagiaal/run-fsck-before-format
Auto commit by PR queue bot
2016-01-13 22:11:45 -08:00
k8s-merge-robot 6a5ea5ec04 Merge pull request #19239 from markturansky/fixup_pv_controllers
Auto commit by PR queue bot
2016-01-13 21:34:05 -08:00
Daniel Schonfeld 12cbc9ff89 optimize ExternalId() and InstanceId() to returned cached results directly from the metadata service 2016-01-13 23:36:57 -05:00
mqliang 640ce23930 make env variable parsing more robust 2016-01-14 10:30:15 +08:00
Yifan Gu 74b8ffd156 rkt: Add useful debugging message. 2016-01-13 17:15:49 -08:00
k8s-merge-robot 5007d7c4a9 Merge pull request #19492 from caesarxuchao/add-manual-methods
Auto commit by PR queue bot
2016-01-13 16:53:42 -08:00
k8s-merge-robot ec78f3d5a9 Merge pull request #19349 from caesarxuchao/generate-updatestatus
Auto commit by PR queue bot
2016-01-13 16:51:33 -08:00
Chao Xu 5addb86f6a conditionally generate UpdateStatus method 2016-01-13 15:45:21 -08:00
Hongchao Deng 821a196373 small refactor on watch cache 2016-01-13 14:00:59 -08:00
Paul Morie 6cfd101251 Add support for ConfigMap keys in env vars 2016-01-13 17:00:15 -05:00
k8s-merge-robot c059dfdb9b Merge pull request #18712 from pmorie/config-kubectl
Auto commit by PR queue bot
2016-01-13 13:51:29 -08:00
Weixu Zhuang 2af68d25b8 resolve the bug when cluster CIDR is not /8
We will have the rigth formula to generate correct maxCIDRs now.
Previous code assume cluster CIDR is /8 which may not be true.
Now it generates maxCIDR based on the info of cluster IP.
2016-01-13 11:55:19 -08:00
Hongchao Deng c5cebf44ce typo fix in watch_cache.go 2016-01-13 11:23:34 -08:00
k8s-merge-robot e7f29514ab Merge pull request #19307 from caesarxuchao/remove-namespaceifscoped
Auto commit by PR queue bot
2016-01-13 11:01:54 -08:00
Yu-Ju Hong b56ed1a8c2 Support populating the runtime cache in PLEG
This changes does not turn on this feature (cache) for kubelet.
2016-01-13 10:19:47 -08:00
Yu-Ju Hong 032c0a4074 Add container.Cache for storing container.PodStatus
This cache will be used to stores the PodStatus of all pods/containers
visible on the node. This will elimiate the need for pod workers to query the
container runtime directly.
2016-01-13 10:19:47 -08:00
Chao Xu 6a104ee46c move SwaggerSchema to DiscoveryClient 2016-01-13 10:11:53 -08:00
Chao Xu 144b5acd08 move ServerVersion to DiscoveryClient 2016-01-13 10:11:52 -08:00
Sami Wagiaalla 7767698459 Remove SupportsOwnershipManagement volume attribute 2016-01-13 10:37:10 -05:00
Sami Wagiaalla 4ac151321a Call SetVolumeOwnership from volume plugins 2016-01-13 10:37:10 -05:00
Sami Wagiaalla 125295ba40 Remove manageVolumeOwnership from kubelet 2016-01-13 10:37:10 -05:00
Sami Wagiaalla f650648aae Add fsGroup to SetUp and SetUpAt 2016-01-13 10:37:10 -05:00
Sami Wagiaalla e33e4ae055 Move manageVolumeOwnership to pkg/volume/volume.go 2016-01-13 10:36:59 -05:00
He Simei 7dacd3fe61 use param indices 2016-01-13 19:23:58 +08:00
k8s-merge-robot 9e66a8f134 Merge pull request #18855 from deads2k/gv-stop-reverse
Auto commit by PR queue bot
2016-01-13 01:37:31 -08:00
k8s-merge-robot 077d1ddb61 Merge pull request #16713 from mqliang/RecreateDeployment
Auto commit by PR queue bot
2016-01-13 01:04:51 -08:00
k8s-merge-robot c475b4ee35 Merge pull request #18611 from timstclair/allocatable-impl2
Auto commit by PR queue bot
2016-01-12 22:48:12 -08:00
Mike Danese f71657d9a6 retrofit the scheduler with the leader election client.
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-12 21:37:03 -08:00
k8s-merge-robot a47c170377 Merge pull request #19356 from mikedanese/le-2
Auto commit by PR queue bot
2016-01-12 21:33:34 -08:00
mqliang 92798408af implement reconcileRecreateDeployment 2016-01-13 11:27:26 +08:00
Clayton Coleman 389d5e48cb Skip format and mount test on windows or mac 2016-01-12 21:43:50 -05:00
Tim St. Clair e2ffd007f7 Implement node Allocatable
Add `kube-reserved` and `system-reserved` flags for configuration
reserved resources for usage outside of kubernetes pods. Allocatable is
provided by the Kubelet according to the formula:
```
Allocatable = Capacity - KubeReserved - SystemReserved
```

Also provides a method for estimating a reasonable default for
`KubeReserved`, but the current implementation probably is low and needs
more tuning.
2016-01-12 17:00:43 -08:00
Yu-Ju Hong 4ab505606b Always overwrite items in kubelet's work queue
This allows kubelet to change the next sync time based on the last result.
2016-01-12 16:25:19 -08:00
Yu-Ju Hong 73a4f8225c PLEG should report events if a container is removed
Currently, pleg would report a event if a container transitions from running to
exited between relisting. However, if would not report any event if a container
gets stopped and removed between relisting. This event will eventually be
handled when the pod syncs periodically, but this is undesirable. This change
ensures that we detect all such events.
2016-01-12 16:25:19 -08:00
Madhusudan.C.S 4caa8a2c1d Move pod template hash and label adding util functions to their packages.
These utilities are useful outside Deployments as well, for example
in DaemonSets for DaemonSet updates. So move them to their own util
packages.
2016-01-12 16:11:00 -08:00
Mike Danese bf763bba95 Merge pull request #19498 from pwittrock/nodelabels
Node labels: Remove node-labels-file command line option.  Change --n…
2016-01-12 15:12:57 -08:00
Janet Kuo c2463a5aef Generalize name of expectations since they aren't only used for pods 2016-01-12 14:48:57 -08:00
Janet Kuo e1554c0f4d Fix flaky e2e: Use expectation model for deployment's new rc creation 2016-01-12 14:48:57 -08:00
Derek Parker 55f09009c7 rkt: Include size in ListImages 2016-01-12 14:44:40 -08:00
k8s-merge-robot 6d367480f9 Merge pull request #19267 from caesarxuchao/options-client-gen
Auto commit by PR queue bot
2016-01-12 14:23:21 -08:00
k8s-merge-robot 0df7e695d4 Merge pull request #19458 from davidopp/notsclose
Auto commit by PR queue bot
2016-01-12 13:53:13 -08:00
Nikhil Jindal 0f3cf1095e Merge pull request #19438 from nikhiljindal/apiServerLibrary
api server library: Extracting out code to run a http server
2016-01-12 13:11:18 -08:00
Phillip Wittrock f1c8384ff4 Node labels: Remove node-labels-file command line option. Change --node-label format from key=value to key:value to be consitent with how the header key:value is specified on command line. 2016-01-12 12:57:12 -08:00
Random-Liu acb74454dc Format reconcile log with format.Pod(pod) 2016-01-12 12:03:16 -08:00
Chao Xu 64083a0576 Generate the clientset 2016-01-12 11:30:04 -08:00
liggitt 23dc96f08e Fix example ABAC policy file 2016-01-12 14:22:20 -05:00
Chao Xu 78b2a823a9 add expansion methods 2016-01-12 11:13:17 -08:00
Chao Xu 2e5da8b881 Merge pull request #19379 from caesarxuchao/manual-methods
client-gen: generate an interface which allows user to expand typed client's methods
2016-01-12 11:09:38 -08:00
Mike Danese 441baf07d6 add OnNewLeader callback to leaderelection client 2016-01-12 10:43:59 -08:00
Daniel Smith a4442c916f Merge pull request #19324 from sdminonne/bug_fix
to fix comment for apis.extensions.JobCondition
2016-01-12 10:42:24 -08:00
James DeFelice ad1803a4ce construct master URIs from MasterInfo.Address if present; prefer /state over /state.json 2016-01-12 17:49:19 +00:00
Prashanth Balasubramanian 4f8b744b19 Rename daemon->resource in thirdparty client 2016-01-12 08:18:25 -08:00
Michail Kargakis dd84bba64c Fix job status conditions bloat
When a job is complete, the controller will indefinitely update its conditions
with a Complete condition. This change makes the controller exit the
reconcilation as soon as the job is already found to be marked as complete.
2016-01-12 16:41:44 +01:00
Sylvain Baubeau b9dfe1b737 Use Openstack os-ext-ips extension to qualify IP address types
fixes #18409
2016-01-12 15:03:47 +01:00
k8s-merge-robot 5b43a12775 Merge pull request #17754 from WeixuZhuang/node_controller
Auto commit by PR queue bot
2016-01-12 02:47:23 -08:00
k8s-merge-robot 67ac4e3838 Merge pull request #18410 from Random-Liu/reconcile-pod-status
Auto commit by PR queue bot
2016-01-12 02:17:09 -08:00
k8s-merge-robot c255181509 Merge pull request #18248 from resouer/images-dev
Auto commit by PR queue bot
2016-01-11 23:53:43 -08:00
k8s-merge-robot 9b106c6e6d Merge pull request #18058 from mqliang/httpProbe
Auto commit by PR queue bot
2016-01-11 23:21:01 -08:00
David Oppenheimer 8ac484793d Comment out calls to httptest.Server.Close() to work around
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
k8s-merge-robot 6f50699b93 Merge pull request #17192 from SuhasAnand/SuhasAnand-rbd-attachdisk-fix_unnecessary_call
Auto commit by PR queue bot
2016-01-11 22:07:00 -08:00
Tom Benner 52739bc82b Add kubectl config current-context 2016-01-11 21:54:24 -08:00
Prashanth Balasubramanian cc09a603dd Code changes 2016-01-11 16:27:12 -08:00
Saad Ali 651206fd90 Merge pull request #19393 from yujuhong/fix_dockerclient
Fix fake docker client to corretly report status of containers
2016-01-11 13:56:41 -08:00
Saad Ali f5ea4f4671 Merge pull request #19392 from yujuhong/runtime_mock
Add a container runtime mock for testing
2016-01-11 13:03:37 -08:00
Prashanth Balasubramanian 4fe4f1f20e Errors in network setup should prevent pod creation 2016-01-11 11:16:15 -08:00
Chao Xu a0489e8685 add expansion interface 2016-01-11 10:46:24 -08:00
gmarek 573c3ca320 Shorten the sleep amount in the fake docker client 2016-01-11 12:15:11 +01:00
Salvatore Dario Minonne 172d7ee32c to fix comment for apis.extensions.JobCondition 2016-01-11 11:07:50 +01:00
k8s-merge-robot 170c03a85f Merge pull request #16354 from mdshuai/valid-supplemental-groups
Auto commit by PR queue bot
2016-01-11 00:48:34 -08:00
Tim Hockin 5002b784f9 Clarify --external-ip in kubectl expose docs
Also fix a couple minor punctuation issues.
2016-01-10 23:29:57 -08:00
mdshuai 27934da9cc Validate uids and gids for securitycontext 2016-01-11 15:17:25 +08:00
harry c0d49450e4 Fix volume wrapper doesn't have name
Integration test
2016-01-11 15:08:26 +08:00
Prashanth Balasubramanian 99af2da6c0 Fix kubectl describe ingress 2016-01-10 19:05:49 -08:00
Random-Liu 5b4a210d49 Add reconcile support in kubelet 2016-01-10 01:35:07 -08:00
David Oppenheimer 9856ed8f2a Merge pull request #19368 from krousey/record_race
Fix data race by eliminating concurrency in test
2016-01-09 22:42:24 -08:00
k8s-merge-robot ce9b117a19 Merge pull request #16698 from mml/issue3885
Auto commit by PR queue bot
2016-01-09 13:38:41 -08:00
k8s-merge-robot 609cdfd267 Merge pull request #19331 from resouer/hash-util
Auto commit by PR queue bot
2016-01-09 13:08:01 -08:00
nikhiljindal f8d6c56ba6 Extracting server run code to genericapiserver 2016-01-08 18:34:34 -08:00
Yu-Ju Hong 712612c2dc Treat first-seen, non-pending pods as updates
Kubelet doesn't perform checkpointing and loses all its internal states after
restarts. It'd then mistaken pods from the api server as new pods and attempt
to go through the admission process. This may result in pods being rejected
even though they are running on the node (e.g., out of disk situation). This
change adds a condition to check whether the pod was seen before and categorize
such pods as updates. The change also removes freeze/unfreeze mechanism used to
work around such cases, since it is no longer needed and it stopped working
correctly ever since we switched to incremental updates.
2016-01-08 17:21:43 -08:00
Yifan Gu dda62129d1 rkt: Add unit tests for setApp. 2016-01-08 13:41:18 -08:00
Yifan Gu cc656ae6ac rkt: Refactor setIsolators.
Replace manually creating isolators with isolator constructors.
Also add support for supplementary group IDs.
2016-01-08 13:31:21 -08:00
k8s-merge-robot 8ea6faef0b Merge pull request #18109 from timstclair/resource-granule
Auto commit by PR queue bot
2016-01-08 13:16:15 -08:00
k8s-merge-robot 37b5726716 Merge pull request #14431 from Defensative/UDP-LB
Auto commit by PR queue bot
2016-01-08 12:39:02 -08:00
k8s-merge-robot e0e305c6be Merge pull request #19337 from danielschonfeld/optimize-list-routes
Auto commit by PR queue bot
2016-01-08 10:19:47 -08:00
Jan Safranek 8c48250a55 Add an integration test for volume tags. 2016-01-08 19:09:29 +01:00
k8s-merge-robot 07d86af385 Merge pull request #18250 from mvdan/unversioned-test-close
Auto commit by PR queue bot
2016-01-08 06:06:49 -08:00
k8s-merge-robot 33085cc2ae Merge pull request #19238 from therc/master
Auto commit by PR queue bot
2016-01-08 04:10:53 -08:00
k8s-merge-robot 2106c72133 Merge pull request #17548 from timstclair/suffix
Auto commit by PR queue bot
2016-01-08 01:52:16 -08:00
harry 3a9de6ee56 Updated generated code and docs 2016-01-08 17:13:02 +08:00
harry zhang 27ca7dc71e Expose image list in node status
Change image manager to use repotag
2016-01-08 17:01:31 +08:00
k8s-merge-robot 9264340338 Merge pull request #17854 from smarterclayton/basic_proto
Auto commit by PR queue bot
2016-01-07 22:03:36 -08:00
Justin Santa Barbara 03900b1dc9 AWS: Use a strongly typed mountDevice
We've had problems in the past from using a string with passing the
wrong value when detaching; stronger typing would have caught this for
us.
2016-01-08 00:25:11 -05:00
Yu-Ju Hong b969599daf Fix fake docker client to corretly report status of containers 2016-01-07 18:20:41 -08:00
Alex Robinson 6528999856 Resolve old TODO that was waiting on us to move off of go 1.3 2016-01-07 21:06:00 -05:00
Yu-Ju Hong c997fb3715 Add a container runtime mock for testing 2016-01-07 18:02:49 -08:00
Jeff Lowdermilk 57c409174f Merge pull request #19344 from janetkuo/flake-deployment
Wait for rc store synced before syncing deployment
2016-01-07 16:16:29 -08:00
Isaac Hollander McCreery 791cae90f0 Merge pull request #19350 from brendandburns/oncall
Improve error reporting a little in ingress e2e.
2016-01-07 15:51:31 -08:00
Daniel Martí 91fbff99dc Properly close test http servers in unversioned
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:

	client_test.go:522: expected an error, got Get http://127.0.0.1:46070/api: dial tcp 127.0.0.1:46070: socket: too many open files

Steps to reproduce (no longer fails):

	godep go test -short -run '^$' -o test .
	./test -test.run '^TestGetSwaggerSchema' -test.count 100

Note that this might not fail if your `ulimit -n` is not low enough.
2016-01-08 00:10:54 +01:00
Tim St. Clair e50059de07 Enforce minimum resource granularity
Enforce minimum resource granularity of milli-{core, bytes} for Storage,
Memory, and CPU resource types. For Storage and Memory, milli-bytes are
allowed for backwards compatability, but the behavior is
undefinied (depends on docker implementation).
2016-01-07 14:55:19 -08:00
Kris dd9301ede9 Fix data race by eliminating concurrency in test
I broke out the error retry logic into a named function that could be
tested independently of the rest of the event processing framework. This
allows the test to know when the retry logic is done.

The problem with the original test was there was no reliable way to know
when it was done trying record an event. A sentinal event was being
used, but there is no ordering guarantee. I could have added
synchronization around attempts tracking to fix the data race, but the
test case was still fundamentally flawed and would error occasionally.
2016-01-07 13:00:42 -08:00
k8s-merge-robot 13260188d5 Merge pull request #19355 from mikedanese/le-1
Auto commit by PR queue bot
2016-01-07 12:24:05 -08:00
Tim St. Clair 3c72506f10 Fixed test & error code 2016-01-07 11:55:26 -08:00
Daniel Schonfeld 24c44e7a8e optimize ListRoutes to fetch instances only once per call
Issue #12121 - fixes courtesy of @justinsb - thank you
2016-01-07 14:32:37 -05:00
Tim St. Clair 1fd72a7871 Change default cAdvisor housekeeping interval to 10s
Change the default interval cAdvisor uses to gather stats to 10
seconds.
2016-01-07 11:29:15 -08:00
Brendan Burns afeda35a52 Merge pull request #19336 from justinsb/aws_initialize_metadata
AWS: Provide newly required initialization arguments
2016-01-07 11:04:55 -08:00
k8s-merge-robot ab6edd8170 Merge pull request #19093 from smarterclayton/split_proxy_and_scheduler
Auto commit by PR queue bot
2016-01-06 19:26:41 -08:00
Clayton Coleman 715b77cbcd Split proxy and scheduler arguments
Keep options and flags distinct from initialization
2016-01-06 21:34:31 -05:00
Clayton Coleman 791d160b42 Split the Kubelet flag options and struct
Reduces the size of the app/server.go file and ensures that the flags
and their defaults are clearly separated.
2016-01-06 21:23:06 -05:00
Tim St. Clair 368447ff3f Rector kubelet stats serving
Changes include:
- Moving stats serving & routes to pkg/kubelet/server/stats/handler.go
- Managing the routes with restful.WebService, rather than manual
parsing
- Misc cleanup

These changes will make adding the new routes for /stats/summary more
manageable.
2016-01-06 17:37:12 -08:00
Matt Liggett c6e9ad066e Initial node drain implementation for #3885.
It cordons (marks unschedulable) the given node, and then deletes every
pod on it, optionally using a grace period.  It will not delete pods
managed by neither a ReplicationController nor a DaemonSet without the
use of --force.

Also add cordon/uncordon, which just toggle node schedulability.
2016-01-06 17:28:18 -08:00
Chao Xu ea0086468c remove the use of NamespaceIfScoped from generated clients 2016-01-06 16:20:44 -08:00
Mike Danese 592ca23a93 add GetLeader and IsLeader to the leaderelection client 2016-01-06 16:20:41 -08:00
Brendan Burns 07b3ab720d Improve error reporting a little in ingress e2e.
Also add Output() to the util/exec Cmd interface.
2016-01-06 15:25:04 -08:00
Chao Xu f0ddc2d969 Stop using NamespaceIfScoped in events.go 2016-01-06 15:13:07 -08:00
Chao Xu 3e211d4f84 Merge pull request #19270 from caesarxuchao/client-gen-file-lowercase
Client gen file lowercase
2016-01-06 15:09:03 -08:00
Janet Kuo c782aaa504 Wait for rc store synced before syncing deployment 2016-01-06 12:43:06 -08:00
Justin Santa Barbara e7c3a08947 AWS: Provide newly required initialization arguments
It seems that some formerly optional arguments are now required in the
latest aws-sdk-go, see e.g.
https://github.com/aws/aws-sdk-go/issues/452.
2016-01-06 13:37:02 -05:00
harry 2a52976983 Use hashutil to hold hash tools 2016-01-06 22:28:58 +08:00
Paul Morie 9c18067e60 Add kubectl support for ConfigMap 2016-01-06 09:03:39 -05:00
Daniel Martí 5505706891 Properly close tmp files in unversioned
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:

	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:39768: accept4: too many open files; retrying in 5ms
	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 5ms
	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 10ms
	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 20ms

Steps to reproduce (no longer fails):

	godep go test -short -run '^$' -o test .
	./test -test.run '^TestDoRequestNewWayFile$' -test.count 100

Note that this might not fail if your `ulimit -n` is not low enough.
2016-01-06 12:55:42 +01:00
k8s-merge-robot d1668c6656 Merge pull request #19269 from yifan-gu/rkt_refactor
Auto commit by PR queue bot
2016-01-05 22:28:02 -08:00
Clayton Coleman 1220464f2a Exclude new groupversion types from protobuf 2016-01-05 22:57:33 -05:00
k8s-merge-robot 38f926dbb9 Merge pull request #19206 from Random-Liu/remove-wired-docker-label
Auto commit by PR queue bot
2016-01-05 19:32:01 -08:00
k8s-merge-robot 66d3cbf889 Merge pull request #16900 from madhusudancs/avoid-kubelet-oscillation
Auto commit by PR queue bot
2016-01-05 17:14:13 -08:00
Minhan Xia 17d0074df6 Merge pull request #19302 from yujuhong/fix_restarts
Fix container restarts caused by kubelet restarts
2016-01-05 16:27:41 -08:00
Chao Xu f51da22bcf regenerate the typed clients 2016-01-05 16:20:46 -08:00
Random-Liu 884dc5c9e5 Put TerminationGracePeriod, DeletionGracePeriod and PreStopHandler to docker labels 2016-01-05 15:45:29 -08:00
k8s-merge-robot 8b72fff9c0 Merge pull request #19259 from gmarek/small-fix
Auto commit by PR queue bot
2016-01-05 15:13:03 -08:00
Yu-Ju Hong 343240d559 Fix container restarts caused by kubelet restarts
There has been a recent regression causing kubelet to assume no containers are
running for the pod if kubelet has not seen the pod before. This would cause
all containers to be restarted after kubelet gets restarted. This change fixes
the bug.
2016-01-05 14:24:22 -08:00
Quinton Hoole e663dbc302 Merge pull request #17733 from tpounds/aws-sdk-v1.0.2
Update aws-sdk-go to v1.0.x
2016-01-05 13:02:23 -08:00
Kenneth Shelton 9e6c45c395 Updated comments
Updated documentation
Fixed e2e test
2016-01-05 20:51:21 +00:00
Kenneth Shelton d399a8f8cc * Added UDP LB support (for GCE) 2016-01-05 20:51:21 +00:00
k8s-merge-robot d30f99b377 Merge pull request #18946 from smarterclayton/httplog
Auto commit by PR queue bot
2016-01-04 21:34:09 -08:00
k8s-merge-robot 4a89481fbb Merge pull request #19034 from Random-Liu/deprecate-running-pod-in-syncpod
Auto commit by PR queue bot
2016-01-04 18:51:18 -08:00
k8s-merge-robot 57d135e2af Merge pull request #19017 from yujuhong/relist_latency
Auto commit by PR queue bot
2016-01-04 18:17:38 -08:00
Yifan Gu 2767f10b61 rkt: refactoring on constructing the app section of rkt pods. 2016-01-04 16:27:52 -08:00
Trevor Pounds bbc181d1f8 Remove unused EC2 metadata functions. 2016-01-04 16:10:23 -08:00
Trevor Pounds 89d7eb050a Update AWS cloud provider to aws-sdk-go v1.0.2. 2016-01-04 16:10:23 -08:00
k8s-merge-robot 9c5ede63fc Merge pull request #19274 from krousey/apiserver_flake
Auto commit by PR queue bot
2016-01-04 16:08:29 -08:00
Kris 552e998b1e Fix a premature server shutdown error
Sometimes the test server would close down the TCP socket before all
requests could finish.
2016-01-04 15:31:01 -08:00
Nikhil Jindal af9834ea75 Merge pull request #19040 from nikhiljindal/serverLibrary
api server library: moving API registration logic to generic api server
2016-01-04 14:31:33 -08:00
Tim St. Clair 40e90886e6 Add micro- and nano- suffixes 2016-01-04 14:08:24 -08:00
Madhusudan.C.S 059c2aa799 Mitigate node out of disk status oscillation by delaying it.
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.

Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.

Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
deads2k e2d280a592 external versions no longer need reordering 2016-01-04 15:07:54 -05:00
Yu-Ju Hong 7d180b337b Record pleg pod relist interval and latency
Relisting latency/interval affects how quick kubelet discovers changes. Record
the metrics in Prometheus to surface such information.
2016-01-04 10:56:38 -08:00
Marek Grabowski 4606171ad0 Merge pull request #19187 from wojtek-t/add_sleep_in_etcd_server
Add sleep to EtcdTestServer Terminate.
2016-01-04 19:29:34 +01:00
Random-Liu 2ea11690b8 Remove running pod from SyncPod() of container runtime 2016-01-04 10:18:46 -08:00