Commit Graph

11569 Commits

Author SHA1 Message Date
k8s-merge-robot
e3938ce15f Merge pull request #20495 from childsb/recycler_template_fix
Auto commit by PR queue bot
2016-02-13 11:30:14 -08:00
k8s-merge-robot
dee94c5355 Merge pull request #20897 from wojtek-t/fix_identical_writes
Auto commit by PR queue bot
2016-02-13 06:24:34 -08:00
Jordan Liggitt
dd5d98d80a regen codecs 2016-02-13 09:15:39 -05:00
k8s-merge-robot
524aaa2f7f Merge pull request #21152 from kargakis/fix-cleanup-policy
Auto commit by PR queue bot
2016-02-13 03:47:33 -08:00
k8s-merge-robot
19c8d73cac Merge pull request #18077 from soltysh/stop_deployment
Auto commit by PR queue bot
2016-02-12 22:47:04 -08:00
k8s-merge-robot
14e9b3cff2 Merge pull request #21101 from madhusudancs/daemonset-dontprohibit-update
Auto commit by PR queue bot
2016-02-12 19:20:44 -08:00
k8s-merge-robot
15893a48d9 Merge pull request #21091 from janetkuo/sync-pod-deployment
Auto commit by PR queue bot
2016-02-12 18:53:37 -08:00
k8s-merge-robot
d6b81640ed Merge pull request #21012 from cjcullen/handlertest
Auto commit by PR queue bot
2016-02-12 15:00:24 -08:00
Yu-Ju Hong
3072754c8b Avoid unnecessary GET request when updating pod status
When sending out an pod status update, kubelet

GETs the pod from the apiserver
Terminates if the apiserver returns an not found error; otherwise, proceed to
to update.
Even after a pod has been deleted, there might still be queued up updates for
the pod. This leads to expensive, unncessary GET operations. The situation is
worse when there are batch creation/deletion of a significant number of pods
(e.g., E2E tests), leaving many updates in the queue.

This change checks whether a pod exists before GET the pod from the apiserver
to avoid redundant GETs.
2016-02-12 14:59:18 -08:00
Eric Tune
825dc470cc Add a validation helper function.
I will use this in a subsequent PR as part of #12298
2016-02-12 14:38:22 -08:00
k8s-merge-robot
8a4a73e372 Merge pull request #20517 from janetkuo/enable-deployments-default
Auto commit by PR queue bot
2016-02-12 14:26:12 -08:00
Random-Liu
ae759dc206 Add unit test for PodSyncResult 2016-02-12 14:15:25 -08:00
k8s-merge-robot
4a24406579 Merge pull request #20990 from timstclair/summary-api
Auto commit by PR queue bot
2016-02-12 13:25:25 -08:00
Clayton Coleman
d23c531869 Can't replace a generic resource that is cluster scoped
It should be allowed to invoke kubectl replace with a JSON file that has
no resource version set.  Namespaced resources were working correctly,
but cluster resources were silently failing to lookup the current state
of the object to get the resource version because we weren't using
NamespaceIfScoped(). Added a failing test.
2016-02-12 16:20:37 -05:00
CJ Cullen
52b16129dc Re-GET nodes during CIDR allocation (to avoid cascading bad resource version). 2016-02-12 13:08:54 -08:00
Janet Kuo
4e8b4871c4 Add e2e test for kubectl run should generate deployment 2016-02-12 12:29:14 -08:00
Janet Kuo
311385e76c Make deployment the default in kubectl run 2016-02-12 12:29:14 -08:00
Janet Kuo
2874f30c05 Enable Deployments by default 2016-02-12 12:29:14 -08:00
Rudi Chiarito
b3863eae82 Add instance-type label to cloud providers
Fully implemented for AWS and GCE
2016-02-12 15:02:03 -05:00
Kris
4c58302b5b Adding dynamic client 2016-02-12 11:49:00 -08:00
Mike Danese
5516b8684f Merge pull request #20937 from madhusudancs/daemonset-update-type-revert
Revert DaemonSet update.
2016-02-12 10:36:04 -08:00
Michail Kargakis
b9839d0677 controller: fix cleanup policy for deployments
Cleanup policy should run on all replica sets and not only on those that
have pods (we will not cleanup those anyway).
2016-02-12 19:14:18 +01:00
Mike Danese
32d844e59c Merge pull request #21036 from mqliang/master-syncStore
revert #19973
2016-02-12 10:04:26 -08:00
Eric Chiang
92d37d5cc5 plugin/pkg/auth/authenticator/token/oidc: get groups from custom claim 2016-02-12 09:58:18 -08:00
Mike Danese
010ab300db Merge pull request #21119 from pmorie/atomic-writer-linux
Run atomic_writer_test only on linux
2016-02-12 09:50:26 -08:00
deads2k
9f003f7db3 allow patch to handle multiple types 2016-02-12 11:12:09 -05:00
k8s-merge-robot
ad7ed67904 Merge pull request #20213 from jsafrane/devel/pv-reload
Auto commit by PR queue bot
2016-02-12 06:49:29 -08:00
k8s-merge-robot
678958a706 Merge pull request #19868 from jsafrane/devel/syncclaim-twice
Auto commit by PR queue bot
2016-02-12 06:21:21 -08:00
deads2k
2d0fe7dbf1 let singularization handle non-conflicting ambiguity 2016-02-12 08:28:32 -05:00
Maciej Szulik
b929424135 Scale deployments fall-back to regular deployment update 2016-02-12 10:17:35 +01:00
Jan Safranek
1d0b1c227b Add PV.Name into names of generated GCE/AWS/OSP volumes.
Volume names have now format <cluster-name>-dynamic-<pv-name>.

pv-name is guaranteed to be unique in Kubernetes cluster, adding
<cluster-name> ensures we don't conflict with any running cluster
in the cloud project (kube-controller-manager --cluster-name=XXX).

'kubernetes' is the default cluster name.
2016-02-12 09:46:59 +01:00
Wojciech Tyczynski
2e97793840 Don't store no-op updates in etcd. 2016-02-12 09:23:28 +01:00
Janet Kuo
2731e5fe20 Check pod HasSynced in deployment controller manager 2016-02-12 00:11:27 -08:00
Lantao Liu
77b6f14f86 Change pod in probe update to pod uid. 2016-02-12 05:02:31 +00:00
mqliang
7be9071584 create some integer min/max function 2016-02-12 11:20:11 +08:00
Paul Morie
cc967972a1 Run atomic_writer_test only on linux 2016-02-11 22:10:51 -05:00
k8s-merge-robot
b5c12d10b8 Merge pull request #20764 from mikedanese/controller-manager-componentconfig
Auto commit by PR queue bot
2016-02-11 16:47:58 -08:00
Madhusudan.C.S
8c558088ee Allow a DaemonSet pod template to be updated in storage.
This should allow users to update DaemonSet pods by manually deleting
the corresponding running pods. Users can use this mechanism for
DaemonSet updates until we implement Deployment style rolling update
for DaemonSet.
2016-02-11 16:07:32 -08:00
k8s-merge-robot
f853c7448a Merge pull request #21055 from mqliang/replicaset-delete
Auto commit by PR queue bot
2016-02-11 15:42:36 -08:00
k8s-merge-robot
662a4291f3 Merge pull request #19488 from derekwaynecarr/fix_19129
Auto commit by PR queue bot
2016-02-11 15:08:55 -08:00
Avesh Agarwal
c0e1623be2 Fix kubectl get error when both all-namespaces and namespace are provided.
As per kubectl get help, --namespace should be ignored with all-namespaces,
but kubectl get pods --all-namespaces --namespace=<name-space> gives
following error:

"the namespace from the provided object "default" does not match the
namespace "". You must pass '--namespace=default' to perform this
operation."

This commit fixes this error issue.
2016-02-11 17:06:04 -05:00
Kris
8396df57e6 Never rate limit watches 2016-02-11 13:50:05 -08:00
Mike Danese
33c4332b28 autogenerated 2016-02-11 13:14:47 -08:00
Mike Danese
31b8905da7 move controller manager to compoenent config 2016-02-11 13:13:03 -08:00
Mike Danese
23ad84b0c7 place damonset pods on not ready nodes 2016-02-11 13:11:05 -08:00
k8s-merge-robot
f6ae6b47ae Merge pull request #20687 from vishh/systemd-support
Auto commit by PR queue bot
2016-02-11 13:06:29 -08:00
Jordan Liggitt
20216fa607 Provide current namespace to InClusterConfig 2016-02-11 15:51:31 -05:00
derekwaynecarr
06f26189f0 Update kubectl create subcommand to use printer flags 2016-02-11 15:37:47 -05:00
derekwaynecarr
cc2137fccc Fixup validation for containers requests or limits to use quantity comparison 2016-02-11 15:34:00 -05:00
Maciej Szulik
0ea31b56ed Adding reaper for deployments 2016-02-11 19:02:32 +01:00