Commit Graph

11025 Commits (791c694c215078a5408d53a97f0ab08fc8fb4286)

Author SHA1 Message Date
Vishnu kannan f9129b02a5 Start for real background tasks in container manager.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-02 14:55:26 -08:00
Tim St. Clair 3ad59de829 Garbage collect containers for deleted pods 2016-03-02 14:35:17 -08:00
k8s-merge-robot ec77d0841d Merge pull request #22376 from caesarxuchao/add-log-nodecontroller
Auto commit by PR queue bot
2016-03-02 13:36:34 -08:00
Janet Kuo e42eab59bc Add comments about deployment revision update 2016-03-02 11:19:48 -08:00
Chao Xu f8dd7fe1de log the succussful forceful deletion 2016-03-02 11:18:55 -08:00
Madhusudan.C.S 8b7e56d242 Allow cross-group subresource registrations in the APIInstaller.
This allows subresources which belong to different API groups than
their parents to be registered in the APIInstaller and REST handlers
installed for them. The specific changes that makes this possible
are:

1. Allow subresource overrides to be specified while registering an
   API group.
2. Use those overrides in the APIInstaller while validating the
   resource/subresource group version to allow subresources which
   belong to a different group to be registered if they have an
   override specified.
3. Use the RESTMapper supplied in the override to map the REST paths
   to the correct subresource storage object, i.e. correct group
   version kinds.
2016-03-02 10:57:30 -08:00
k8s-merge-robot 7f9ee58550 Merge pull request #22129 from pmorie/kubectl-describe-volumes
Auto commit by PR queue bot
2016-03-02 09:10:48 -08:00
gmarek 89f0699035 Increase MaxPods in Kubemark 2016-03-02 16:21:16 +01:00
Paul Morie 834776aa1f Add resource quota for ConfigMap 2016-03-02 09:59:51 -05:00
k8s-merge-robot cc19c9fdfa Merge pull request #21671 from kargakis/add-exposed-ports-in-pod-desc
Auto commit by PR queue bot
2016-03-02 06:40:28 -08:00
Marcin Wielgus 24b12b9191 In HPA metric client make average from samples from the last 1 minute 2016-03-02 15:06:27 +01:00
Maciej Szulik 1b56d79f64 Unifying empty/none/not set values in describer 2016-03-02 13:57:39 +01:00
k8s-merge-robot 73b39e9f1e Merge pull request #22293 from dchen1107/test
Auto commit by PR queue bot
2016-03-02 03:35:05 -08:00
Piotr Szczesniak 205e3e607d Added default cpu target for HPA 2016-03-02 09:38:26 +01:00
Brian Grant 0867e250c6 Merge pull request #22326 from janetkuo/only-increase-revision
RS revision number should only be updated when necessary
2016-03-01 20:07:42 -08:00
Brian Grant 4b213ed263 Merge pull request #22245 from nikhiljindal/deploymentTimeoutErrors
Improving deployment e2e failure error messages
2016-03-01 18:46:13 -08:00
nikhiljindal cb8414e247 Resetting maxUnavailable for kubectl rolling update to 0 2016-03-01 18:44:59 -08:00
Brian Grant 6deb2612dc Merge pull request #22243 from nikhiljindal/updatePodWithRetries
deployment e2e flake: Fix updatePodWithRetries to get and then immediately try update
2016-03-01 18:44:17 -08:00
nikhiljindal 0dae82f6f1 Improving deployment e2e failure error messages 2016-03-01 17:58:32 -08:00
Yu-Ju Hong 4846c1e1b2 pleg: add an internal clock for testability
Also add tests for the health check.
2016-03-01 17:53:03 -08:00
Random-Liu a88dad1c3e Backoff restart container with liveness probing failure 2016-03-01 17:36:12 -08:00
Janet Kuo 67bfe5d796 Avoid copying deployment revision annotations to rs 2016-03-01 17:25:44 -08:00
Yu-Ju Hong 94368df91a kubelet: monitor the health of pleg
PLEG is reponsible for listing the pods running on the node. If it's hung
due to non-responsive container runtime or internal bugs, we should restart
kubelet.
2016-03-01 17:24:27 -08:00
Yu-Ju Hong e770f25882 pleg: add more tests for detecting missing container/pods 2016-03-01 17:23:23 -08:00
Janet Kuo 1706df6242 Revision number should be updated only when it's smaller than it should be 2016-03-01 17:12:24 -08:00
Dawn Chen a90ac42dd8 Kill docker daemon after configing cbr0 if flag --babysit-daemon is true so that babysitter process can restart it again with proper configurations and checkpoint file. 2016-03-01 16:46:31 -08:00
Tim St. Clair 3b9feb561c Use the default interface for reporting network stats. 2016-03-01 16:17:04 -08:00
weixu fb13a0d4b0 Remove unused import package from pkg/client/unversioned/daemon_sets_test.go
To make it pass the unit test, following is previous failing log for unit test

_output/dockerized/go/src/k8s.io/kubernetes/pkg/client/unversioned/daemon_sets_test.go:20: imported and not used: "k8s.io/kubernetes/pkg/client/unversioned"
ok  	k8s.io/kubernetes/pkg/client/restclient	0.056s
ok  	k8s.io/kubernetes/pkg/client/transport	0.368s
ok  	k8s.io/kubernetes/pkg/client/typed/dynamic	0.039s
FAIL	k8s.io/kubernetes/pkg/client/unversioned [build failed]
2016-03-01 16:15:16 -08:00
Saad Ali 719158d2c8 Merge pull request #22277 from gmarek/spam
Reduce spam in Kubelet logs
2016-03-01 15:48:59 -08:00
Saad Ali f9b1a33b12 Merge pull request #21953 from timstclair/testing
Move kubelet test-only files to test-only packages
2016-03-01 15:48:10 -08:00
Saad Ali c4ccd5188f Merge pull request #22110 from timstclair/volumetest
Move test-only volume files to test-only volume package
2016-03-01 15:47:41 -08:00
k8s-merge-robot bef2b8f1ed Merge pull request #21927 from caesarxuchao/fix-404-links
Auto commit by PR queue bot
2016-03-01 15:41:32 -08:00
Yu-Ju Hong 9d3806bceb Set timeout for accessing credential provider's URL
This changes sets the timeout and also adds the retry mechanism.
2016-03-01 15:41:16 -08:00
Saad Ali a4192ad156 Merge pull request #22297 from kubernetes/revert-21187-evict
Revert "Evict pods w/o rate-limit when cloud says node is gone."
2016-03-01 15:35:29 -08:00
k8s-merge-robot 57ecc24db5 Merge pull request #22305 from bprashanth/deploy_label
Auto commit by PR queue bot
2016-03-01 15:27:09 -08:00
nikhiljindal b65180c314 Update updatePodWithRetries to get and then update 2016-03-01 14:40:21 -08:00
k8s-merge-robot e7fb1a29e1 Merge pull request #22107 from yujuhong/stop_probing
Auto commit by PR queue bot
2016-03-01 14:17:50 -08:00
k8s-merge-robot 6dee237d85 Merge pull request #21790 from vishh/seccomp
Auto commit by PR queue bot
2016-03-01 12:21:47 -08:00
Prashanth Balasubramanian b9eb552e07 Update the re-fetched pod with deployment labels. 2016-03-01 11:47:53 -08:00
CJ Cullen 506df24c1f Revert "Evict pods w/o rate-limit when cloud says node is gone." 2016-03-01 11:04:18 -08:00
k8s-merge-robot fec00b535f Merge pull request #21187 from cjcullen/evict
Auto commit by PR queue bot
2016-03-01 10:45:22 -08:00
k8s-merge-robot 94a2319804 Merge pull request #22211 from derekwaynecarr/quota_fix
Auto commit by PR queue bot
2016-03-01 10:13:44 -08:00
Tim St. Clair 7b6d843309 Move test-only files to test-only packages 2016-03-01 09:11:32 -08:00
gmarek 459c954ff8 Reduce spam in Kubelet logs 2016-03-01 15:50:25 +01:00
Christopher Batey aebd4c95e1 Use testify for AWS provider
This has two main advantages:

* The use of the mock package to verify API calls against the aws SDK
* Nicer error messages for asserts without having to use if statements
2016-03-01 14:32:45 +00:00
mqliang 7e1ab26c06 add lookup cache for daemonset 2016-03-01 22:04:56 +08:00
k8s-merge-robot 4057803e96 Merge pull request #22265 from wojtek-t/set_request_in_density
Auto commit by PR queue bot
2016-03-01 04:25:26 -08:00
k8s-merge-robot 47fda638b6 Merge pull request #21744 from ethernetdan/defaultrestmapper-pkg-path-check
Auto commit by PR queue bot
2016-03-01 04:25:23 -08:00
k8s-merge-robot 6e6550a105 Merge pull request #21989 from justinsb/fix_21986
Auto commit by PR queue bot
2016-03-01 03:51:43 -08:00
Wojciech Tyczynski 4a7af87984 Set requests in scalability tests 2016-03-01 12:15:23 +01:00
k8s-merge-robot e7d0f06c4a Merge pull request #21736 from resouer/check-register
Auto commit by PR queue bot
2016-03-01 02:21:56 -08:00
k8s-merge-robot 739285b146 Merge pull request #21265 from stevekuznetsov/skuznets/new-sa
Auto commit by PR queue bot
2016-03-01 01:14:06 -08:00
k8s-merge-robot 8d90b2a61b Merge pull request #22213 from janetkuo/deployment-type-assert
Auto commit by PR queue bot
2016-03-01 00:08:48 -08:00
k8s-merge-robot 5b415a7aed Merge pull request #22210 from janetkuo/deployment-e2e
Auto commit by PR queue bot
2016-02-29 22:44:40 -08:00
k8s-merge-robot c9bd9e9c95 Merge pull request #22223 from nikhiljindal/deploymente2eFlake
Auto commit by PR queue bot
2016-02-29 20:20:35 -08:00
k8s-merge-robot a608cc94e8 Merge pull request #22156 from caesarxuchao/revert-20202
Auto commit by PR queue bot
2016-02-29 18:24:31 -08:00
Janet Kuo 1b831babe7 Move deployment Add/Update/DeleteFunc into functions 2016-02-29 18:19:48 -08:00
Janet Kuo 1960243d82 Fix type assertion error in deployment controller DeleteFunc 2016-02-29 18:19:33 -08:00
derekwaynecarr c9e4c846e6 Incorrect type passed into quota reflector 2016-02-29 20:48:48 -05:00
nikhiljindal 2019d18e9a Fixing a bug in deployment controller cleanupOldReplicaSets 2016-02-29 16:40:35 -08:00
Justin Santa Barbara 818925cc25 Openstack null-support for load balancer source
We return an error if the user specifies a non 0.0.0.0/0 load balancer
source restriction on OpenStack, where we can't enforce the restriction
(currently).
2016-02-29 19:32:15 -05:00
Justin Santa Barbara 49e1149227 AWS: Add support for load balancer source ranges
This refactors #21431 to pull a lot of the code into cloudprovider so it
can be reused by AWS.

It also changes the name of the annotation to be non-GCE specific:
service.beta.kubernetes.io/load-balancer-source-ranges

Fix #21651
2016-02-29 19:32:08 -05:00
Kris f22664159e Move the discovery client to its own package 2016-02-29 15:37:21 -08:00
Tim St. Clair 246b389275 Move test-only volume files to test-only volume package 2016-02-29 14:44:28 -08:00
Janet Kuo f129d97262 Fill missing arg in log 2016-02-29 14:26:19 -08:00
Saad Ali 4183ac174b Merge pull request #21408 from krousey/unversioned_breakup
Move restclient to it's own package
2016-02-29 14:03:09 -08:00
k8s-merge-robot ae2a8da4cc Merge pull request #22155 from Random-Liu/terminated-pods
Auto commit by PR queue bot
2016-02-29 13:49:38 -08:00
Chao Xu 7a85d54d4e fix links 2016-02-29 13:27:29 -08:00
Tim Hockin 56be551416 Validate volume paths do not have ':' 2016-02-29 13:22:45 -08:00
Prashanth Balasubramanian fe0f1121d5 Continue logging failure to contact metadata url, fix conn leak. 2016-02-29 12:47:19 -08:00
Kris e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
Justin Santa Barbara 5b3bb56a4f Apply exponential backoff in servicecontroller before retrying
Issue #21952
2016-02-29 14:47:36 -05:00
Saad Ali 1dd3cb58f8 Merge pull request #22160 from liggitt/token-e2e
Remove short-circuit of token reference cleanup
2016-02-29 10:51:00 -08:00
CJ Cullen 3a8c7a7074 Evict pods w/o rate-limit when cloud says node is gone. 2016-02-29 10:33:50 -08:00
k8s-merge-robot d1d036391a Merge pull request #22177 from AdoHe/update_commented_examples
Auto commit by PR queue bot
2016-02-29 09:18:57 -08:00
AdoHe 9cc668f7c6 update commented examples just remove $ 2016-02-29 09:41:09 -05:00
k8s-merge-robot fe03c663d9 Merge pull request #22094 from alex-mohr/routes
Auto commit by PR queue bot
2016-02-29 05:46:51 -08:00
gmarek a482789cc0 Workaround proxy deadlock in metrics gatherer. 2016-02-29 09:51:50 +01:00
Jordan Liggitt bd552c99c5 Remove cache-based short-circuit of token cleanup 2016-02-29 00:25:49 -05:00
Chao Xu 8566056d18 revert 20202 2016-02-28 19:03:22 -08:00
Michail Kargakis 530dbe4d01 kubectl: add container ports in pod description 2016-02-28 23:33:58 +01:00
Yu-Ju Hong 866c52c8a9 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-28 13:20:40 -08:00
Random-Liu 98283d894c dockertools: fix error exited container list in fake docker client 2016-02-28 13:19:57 -08:00
Random-Liu 96eeb812ff kubelet: clear current pod records before relist 2016-02-28 13:19:47 -08:00
Yu-Ju Hong 388689238b pleg: ensure the cache is updated whenever container are removed
Even though we don't rely on the cache for garbage collection yet, we should
keep it up-to-date.
2016-02-28 13:16:34 -08:00
k8s-merge-robot 13f6daf980 Merge pull request #22141 from AdoHe/kubectl_add_age_column
Auto commit by PR queue bot
2016-02-28 13:09:59 -08:00
k8s-merge-robot 8b19638bd0 Merge pull request #22078 from janetkuo/kill-pods-better
Auto commit by PR queue bot
2016-02-28 10:39:15 -08:00
Brian Grant a56bbbf8bc Merge pull request #22143 from bprashanth/graceful_del
Don't double count graceful deletion
2016-02-28 08:46:52 -08:00
k8s-merge-robot 1d4a9e88e0 Merge pull request #20628 from sttts/sttts-old-mergo-lib
Auto commit by PR queue bot
2016-02-28 04:24:09 -08:00
k8s-merge-robot 5ecbf4ff4a Merge pull request #22138 from bgrant0607/bugfix1
Auto commit by PR queue bot
2016-02-28 02:00:40 -08:00
Prashanth Balasubramanian 859f6b13fa Don't double count graceful deletion. 2016-02-28 00:30:57 -08:00
k8s-merge-robot ff758bec58 Merge pull request #21750 from piosz/hpa-status-current-utilization
Auto commit by PR queue bot
2016-02-28 00:22:26 -08:00
Brian Grant d0dd4f8a93 Restore expectation timeout to 5 minutes. Fix enqueueDeployment. Pass by reference.
Make names of ReplicaSets created by Deployment deterministic for idempotence.
Eliminate use of expectations in Deployment controller.
2016-02-28 07:33:07 +00:00
AdoHe c56c4c87f7 kubectl add AGE column to job, ingress and daemonset 2016-02-28 00:59:01 -05:00
k8s-merge-robot 6f8a951f87 Merge pull request #20446 from derekwaynecarr/quota_scopes
Auto commit by PR queue bot
2016-02-27 19:46:42 -08:00
k8s-merge-robot 527d3e6739 Merge pull request #21728 from yifan-gu/rkt_fix_kill
Auto commit by PR queue bot
2016-02-27 17:45:44 -08:00
k8s-merge-robot e089e841b1 Merge pull request #21593 from fabianofranz/split_bind_flags
Auto commit by PR queue bot
2016-02-27 16:10:19 -08:00
Justin Santa Barbara 2f058fc681 Merge pull request #21499 from swagiaal/count-refs-in-kubelet
Auto commit by PR queue bot
2016-02-27 18:49:08 -05:00
Paul Morie 26471d5723 Remove sentinel file from atomic writer 2016-02-27 16:09:06 -05:00
Paul Morie 7a6a4fab97 Add kubectl describe output for downward API volume 2016-02-27 15:40:13 -05:00
k8s-merge-robot 8a10699942 Merge pull request #22125 from mikedanese/revert-revert-revert
Auto commit by PR queue bot
2016-02-27 11:52:24 -08:00
k8s-merge-robot 6b8e0d45f0 Merge pull request #21349 from Random-Liu/cleanup-should-container-be-restarted
Auto commit by PR queue bot
2016-02-27 09:50:26 -08:00
Mike Danese a50bc3da10 revert deletePods changes in #22100 2016-02-27 08:40:50 -08:00
k8s-merge-robot 7c801f217c Merge pull request #21497 from deads2k/fix-max-in-flight
Auto commit by PR queue bot
2016-02-27 07:59:26 -08:00
k8s-merge-robot 43792754d8 Merge pull request #21469 from wojtek-t/parallel_namespace_deletion
Auto commit by PR queue bot
2016-02-27 07:26:49 -08:00
k8s-merge-robot 99eaf73f0c Merge pull request #22019 from sky-uk/aws-handle-implicit-routing-tables
Auto commit by PR queue bot
2016-02-27 06:53:41 -08:00
k8s-merge-robot 6b676edab8 Merge pull request #21409 from fabianofranz/fix_spdy_roundtripper_with_proxy_auth
Auto commit by PR queue bot
2016-02-27 04:37:24 -08:00
k8s-merge-robot c4ffcbdbaa Merge pull request #21398 from liggitt/time-param
Auto commit by PR queue bot
2016-02-27 03:37:07 -08:00
k8s-merge-robot 394d5da23c Merge pull request #21319 from Clarifai/ensure-lb-servicename
Auto commit by PR queue bot
2016-02-27 02:03:14 -08:00
k8s-merge-robot f0c0af2561 Merge pull request #20528 from mikedanese/varz
Auto commit by PR queue bot
2016-02-27 00:27:18 -08:00
k8s-merge-robot 18130824b2 Merge pull request #21758 from childsb/1308588
Auto commit by PR queue bot
2016-02-26 22:33:20 -08:00
k8s-merge-robot 609e57685f Merge pull request #22099 from vishh/b-27300093
Auto commit by PR queue bot
2016-02-26 22:33:18 -08:00
k8s-merge-robot 00d99ac261 Merge pull request #20347 from ericchiang/authz_grpc
Auto commit by PR queue bot
2016-02-26 22:00:42 -08:00
Mike Danese c1a7e280a3 fix pod eviction for gracefully terminationg pods 2016-02-26 17:34:15 -08:00
derekwaynecarr 01584bfabf Improve rendering of multiple quotas in namespace; show scopes 2016-02-26 20:34:15 -05:00
derekwaynecarr af85fb57c3 Make ResourceQuota admission and controller work generically 2016-02-26 20:34:15 -05:00
derekwaynecarr 553c4701af Add quota evaluator framework 2016-02-26 20:34:14 -05:00
derekwaynecarr df064bd53d ResourceQuota API validation for scopes and new resource types 2016-02-26 20:34:14 -05:00
derekwaynecarr d02c8dcd2e Generated code for ResourceQuota API change 2016-02-26 20:34:14 -05:00
derekwaynecarr 55e3824272 Modify ResourceQuota API to support requests/limits; scope filtering 2016-02-26 20:34:13 -05:00
Yu-Ju Hong 1a3d205faf kubelet: stop probing if liveness check fails
This change puts the worker on hold when the liveness check fails. It will
resume probing when observing a new container ID.
2016-02-26 17:12:27 -08:00
Vishnu kannan 85efe33c16 Use local metadata server, if available, for GCE compute API invocations.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-26 16:54:22 -08:00
k8s-merge-robot 2bca7c5287 Merge pull request #21337 from vishh/ensure-runtime-cgroups
Auto commit by PR queue bot
2016-02-26 16:52:14 -08:00
k8s-merge-robot 551d252497 Merge pull request #21864 from AdoHe/kubectl_job_desired
Auto commit by PR queue bot
2016-02-26 16:18:34 -08:00
Fabio Yeon 658f7ef397 Merge pull request #21738 from jsafrane/devel/fix-admission
Hot-fix admission of volumes that are being provisioned.
2016-02-26 16:05:04 -08:00
Alex Mohr 0816fa2072 Add support for more than 500 results to GCE cloud provider API calls
for Instance.List and Routes.List which we will definitely have
more than 500 of when supporting 1000 nodes.

Add TODOs for other GCE List API calls to do similar fixes.

Add more logging to GCE's routecontroller.go when creating or deleting routes.
2016-02-26 16:03:01 -08:00
Fabio Yeon 53859b032f Merge pull request #22067 from derekwaynecarr/ns_controller_errors
e2e flake fix: Namespace controller error handling improvements
2016-02-26 15:59:32 -08:00
Fabio Yeon 9eed320088 Merge pull request #21740 from Random-Liu/fix-syncpod-unit-test
Fix error logic and leaking goroutine in docker unit test.
2016-02-26 15:51:35 -08:00
Fabio Yeon 97bae1099b Merge pull request #21661 from AdoHe/describe_container_status_optional
make show status in describe.DescribeContainers optional
2016-02-26 15:48:46 -08:00
Fabio Yeon 7d0684e9c4 Merge pull request #21628 from smarterclayton/suppress_debug_logging
Reduce volume of logs generated at v(3)
2016-02-26 15:47:31 -08:00
Fabio Yeon d25449d58e Merge pull request #21310 from wojtek-t/require_versioner
Require versioner in etcdHelper to be non-null.
2016-02-26 15:44:59 -08:00
Fabio Yeon a4c9a7c4c0 Merge pull request #19988 from soltysh/annotate_cmd
Fix kubectl annotate and label to use versioned objects when operating
2016-02-26 15:38:26 -08:00
Janet Kuo 9185c05a91 When comparing timestamp of pods, kill pods with zero timestamps first 2016-02-26 15:35:06 -08:00
Janet Kuo 2b81e751e1 Better choices of what pods to kill 2016-02-26 15:35:06 -08:00
Brian Grant f5a92cc13c Merge pull request #21865 from piosz/cluster-autoscaling-cleanup
Cluster autoscaling cleanup
2016-02-26 15:25:55 -08:00
Fabio Yeon a56a315d99 Revert "kubelet: fix duplicated status updates at pod cleanup" 2016-02-26 14:39:11 -08:00
Fabio Yeon 1bd3e83ce4 Merge pull request #22069 from a-robinson/keymutex-v2
Protect against race conditions in the service controller
2016-02-26 14:37:37 -08:00
Fabio Yeon 90fce905ce Merge pull request #21992 from sky-uk/fix-ebs-volume-instance-lookup
Fix EBS when hostname is not the node name
2016-02-26 13:21:54 -08:00
Fabio Yeon a7165042af Merge pull request #21781 from ncdc/skip-probe-if-container-id-not-set
Skip probe if container ID not yet set
2016-02-26 13:20:48 -08:00
Fabio Yeon caf7b9eba7 Merge pull request #21688 from pmorie/kubectl-describe-pod-config
Add describe output for ConfigMap volumes
2016-02-26 13:16:49 -08:00
Fabio Yeon fedca86c75 Merge pull request #21884 from swagiaal/remove-be-formatted
Remove 'be formatted' from VolumeSource docs
2016-02-26 13:06:01 -08:00
Fabio Yeon e4dd1e66fb Merge pull request #22030 from mikedanese/ds-nil
fix nil pointer in dameonset controller
2016-02-26 13:01:24 -08:00
Alex Robinson ab797d1b65 A load balancer should be updated if a service's UID has changed.
The load balancer's name is determined by the service's UID. If the
service's UID has changed (presumably due to a delete and recreate),
then we need to recreate the load balancer as well to avoid eventually
leaking the old one.
2016-02-26 20:26:27 +00:00
Alex Robinson 4ce5f68ed0 Protect against race conditions in the service controller.
Re-GET the service object when we process it rather than trusting the
delta. This will make for a lot more service get requests given that we
resync all the services every 5 minutes, but will avoid re-ordering of
updates and continually retrying stale updates, as has been described in
a few other issues and PRs.
2016-02-26 20:26:22 +00:00
Fabio Yeon 3dab166da4 Merge pull request #21776 from erictune/job-sel-gen
Selector generation for batch/v1 Job
2016-02-26 11:58:21 -08:00
Yifan Gu 168ec8b80f kubelet: Sort the container statuses in convertStatusToAPIStatus(). 2016-02-26 11:27:03 -08:00
derekwaynecarr a301a2565e Namespace controller error handling improvements 2016-02-26 14:08:28 -05:00
k8s-merge-robot cab55f856b Merge pull request #22044 from davidopp/wait
Auto commit by PR queue bot
2016-02-26 10:33:15 -08:00
Brian Grant 533296b265 Merge pull request #21963 from bgrant0607/bugfix1
Fix expectations in Deployment.
2016-02-26 09:23:24 -08:00
Steve Kuznetsov e5b696ee43 added 'kubectl create sa' to create serviceaccounts 2016-02-26 10:27:37 -05:00