Commit Graph

11365 Commits (378ef9746e4109b87a84cce584dadb715d46b4b4)

Author SHA1 Message Date
Paul Morie 24aade64f5 Validate that volume mountpoints are unique 2016-03-17 23:52:34 -04:00
k8s-merge-robot 10204f8b31 Merge pull request #23167 from cjcullen/sshcheck
Auto commit by PR queue bot
2016-03-17 20:36:20 -07:00
k8s-merge-robot 98bede7f2d Merge pull request #23110 from wojtek-t/migrate_to_new_deep_copy_generator
Auto commit by PR queue bot
2016-03-17 19:21:23 -07:00
CJ Cullen 5f3929f75d Add a SSHKey sync check to the master's healthz (when using SSHTunnels). 2016-03-17 19:14:25 -07:00
k8s-merge-robot 78adb885c4 Merge pull request #23143 from vishh/23113
Auto commit by PR queue bot
2016-03-17 17:59:25 -07:00
k8s-merge-robot 35d7469815 Merge pull request #23129 from mikedanese/kube-service-affinity
Auto commit by PR queue bot
2016-03-17 16:11:53 -07:00
k8s-merge-robot ad7a0da5af Merge pull request #23089 from saad-ali/addZoneToErr
Auto commit by PR queue bot
2016-03-17 15:07:28 -07:00
nikhiljindal 9ab16395e9 running hack/build-ui.sh 2016-03-17 15:05:25 -07:00
Yu-Ju Hong deafa44d61 kubelet: send all recevied pods in one update
The kubelet sync loop relies on getting one update as the signal that the
specific source is ready. This change ensures that we don't send multiple
updates (ADD, UPDATE) for the first batch of pods. This is required to prevent
the cleanup routine from killing pods prematurely.
2016-03-17 14:24:35 -07:00
k8s-merge-robot 782ba437f1 Merge pull request #23003 from deads2k/no-proxy-cidr
Auto commit by PR queue bot
2016-03-17 14:16:11 -07:00
Vishnu kannan 516559022c 1. Make kubelet default to 10ms for CPU quota if limit < 10m for
backwards compat.
2. Update documentation to reflect minimum CPU limits.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-17 13:30:06 -07:00
Jordan Liggitt ea8669661a Use versioned object when computing patch 2016-03-17 16:19:05 -04:00
k8s-merge-robot a7f1466556 Merge pull request #19577 from caesarxuchao/expose-swagger-for-discovery-types
Auto commit by PR queue bot
2016-03-17 12:50:17 -07:00
k8s-merge-robot cda4583984 Merge pull request #23035 from xinxiaogang/xnxin-master
Auto commit by PR queue bot
2016-03-17 12:05:56 -07:00
Mike Danese e21ebbcac4 give the kubernetes service client ip session affinity 2016-03-17 09:38:22 -07:00
k8s-merge-robot 435bc35812 Merge pull request #23091 from nikhiljindal/namespaceSwaggerSpec
Auto commit by PR queue bot
2016-03-17 08:35:06 -07:00
Wojciech Tyczynski 7e2fdeae7b Regenerate autogenerate files 2016-03-17 15:22:19 +01:00
k8s-merge-robot 4e67d9606c Merge pull request #23083 from janetkuo/rollout-undo-paused-check
Auto commit by PR queue bot
2016-03-17 06:28:39 -07:00
k8s-merge-robot 53c6b35b71 Merge pull request #23038 from wojtek-t/rename_raw_json_to_raw
Auto commit by PR queue bot
2016-03-17 04:05:43 -07:00
k8s-merge-robot 2880708444 Merge pull request #23030 from timothysc/api_etcd_error
Auto commit by PR queue bot
2016-03-17 03:30:59 -07:00
Wojciech Tyczynski e610c137c0 Regenerate auto-generated files 2016-03-17 09:30:02 +01:00
Shawn Smith 0ea3e43f1c use Fatalf 2016-03-17 15:18:04 +09:00
Xiaogang Xin f5c631e220 kubernetes/kubernetes#23034 Fix controller-manager race condition issue which cause endpoints flush during restart 2016-03-17 11:08:48 +08:00
nikhiljindal 96044b7f43 Fixing the check to determine if the resource is namespaced 2016-03-16 17:46:05 -07:00
saadali 26e3d7a27a Add zone to GCE "disk not found" error message 2016-03-16 17:31:12 -07:00
Janet Kuo 2bd30c7572 Stop the users from rolling back a paused deployment in kubectl rollout undo 2016-03-16 15:46:22 -07:00
Sami Wagiaalla b77abe56a2 Check claimRef UID when processing a recycled PV 2016-03-16 17:00:05 -04:00
deads2k ab03317d96 support CIDRs in NO_PROXY 2016-03-16 16:22:54 -04:00
k8s-merge-robot c412dcba7f Merge pull request #23023 from caesarxuchao/minor-fix-aliases
Auto commit by PR queue bot
2016-03-16 10:35:36 -07:00
k8s-merge-robot 41c85d1113 Merge pull request #22999 from smarterclayton/better_auth_error
Auto commit by PR queue bot
2016-03-16 09:59:20 -07:00
Wojciech Tyczynski 218d3e5923 Rename RawJSON to Raw in runtime.Unknown and add ContentType & ContentEncoding. 2016-03-16 16:43:58 +01:00
Tim Hockin a073c80e45 Use newer home for gcfg package
Switch from obsolete "github.com/scalingdata/gcfg" to "gopkg.in/gcfg.v1".
2016-03-16 08:42:08 -07:00
tobad357 3d530f7f37 Fix for issue #22932 infinite pod restarts
This fixes an issue when using CNI where the hash of a Container object will differ between creation and change checks due to the docker image exporting ports
2016-03-16 22:43:39 +08:00
k8s-merge-robot 71a3b91ac1 Merge pull request #22966 from timstclair/server
Auto commit by PR queue bot
2016-03-16 04:54:27 -07:00
k8s-merge-robot 22e3e79c53 Merge pull request #22930 from AdoHe/change_global_timeout
Auto commit by PR queue bot
2016-03-16 01:44:02 -07:00
k8s-merge-robot 17d8e61244 Merge pull request #22921 from liggitt/job-validation
Auto commit by PR queue bot
2016-03-16 01:11:20 -07:00
k8s-merge-robot 460ece34d5 Merge pull request #22928 from caesarxuchao/print-client-gen-command
Auto commit by PR queue bot
2016-03-16 00:38:39 -07:00
k8s-merge-robot a4097fa4f1 Merge pull request #22891 from yifan-gu/rkt_version
Auto commit by PR queue bot
2016-03-16 00:04:55 -07:00
Jordan Liggitt 64f51723c8 Avoid populating job selector from pod template labels in autoSelector case 2016-03-16 02:23:01 -04:00
Timothy St. Clair d3da93c174 Renaming api/errors/etcd to api/errors/storage as it no longer
has any etcd specific dependencies.  Reference issue #17546
2016-03-15 20:23:47 -05:00
Phillip Wittrock 57bd9d4289 Merge pull request #23020 from vishh/godeps-cadvisor
Updating cadvisor deps to v0.22.2
2016-03-15 16:53:49 -07:00
Yifan Gu fe2c3c351a rkt: Split checkVersion() to two parts: get version, and check version.
This enables rkt runtime to setup versions during creation,
this fixes a kubelet nil pointer panic when kubelet tries to get the
rkt versions but it's not set.
2016-03-15 16:35:26 -07:00
Chao Xu ed78b9adbe let the apiserver's swaggerapi endpoint reports discovery types 2016-03-15 16:32:20 -07:00
Phillip Wittrock 6170326db1 Merge pull request #23012 from caesarxuchao/fix-22996
Make fullyLabeledReplicas optional in rc status
2016-03-15 16:09:57 -07:00
Chao Xu 51886c3880 move aliasToResource to a field of DefaultRESTMapper 2016-03-15 16:07:25 -07:00
Vishnu kannan d269775929 Update cadvisor linux module to work with the cadvisor v0.22.2
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-15 16:02:05 -07:00
Alex Mohr 6dc63f805f Add a rate limiter to the GCE cloudprovider
It will poll for operation completion with at most 10 qps to avoid
triggering GCE's rate limits.
2016-03-15 15:47:32 -07:00
Chao Xu 9bdd30fdf1 make fullyLabeledReplicas optional in rc and rs status 2016-03-15 15:10:55 -07:00
k8s-merge-robot 204d426dd3 Merge pull request #22310 from krousey/adapterbreak
Auto commit by PR queue bot
2016-03-15 14:28:38 -07:00
k8s-merge-robot 4b3e2b57ac Merge pull request #22948 from janetkuo/e2e-test-not-mutate
Auto commit by PR queue bot
2016-03-15 13:18:06 -07:00
Janet Kuo 26bcdb1bd6 Separate GetOldRS and GetNewRS in deployment controller (get and mutate) and deployment util (get only) 2016-03-15 10:23:20 -07:00
Clayton Coleman dccf114fdd Display a better error on unauthorized
Not being logged in is a common user error, and the message we display
can be more specific to an end user. Provide a friendly message with the
server message in parethesis (in case this is a more complex server
error).
2016-03-15 12:51:23 -04:00
Jan Safranek f270cb1b9b Allow 39 atached EBS devices.
AWS has soft support limit for 40 attached EBS devices. Assuming there is just
one root device, use the rest for persistent volumes.

The devices will have name /dev/xvdba - /dev/xvdcm, leaving /dev/sda - /dev/sdz
to the system.

Also, add better error handling and propagate error
"Too many EBS volumes attached to node XYZ" to a pod.
2016-03-15 17:28:59 +01:00
Michail Kargakis 23343425b8 kubectl: print errors that wont be reloaded in the editor 2016-03-15 15:01:28 +01:00
AdoHe 28e1d1af65 reduce component status probe timeout to 20s for quickly timeout 2016-03-14 22:18:55 -04:00
Tim St. Clair 8cb820be0e Set correct applicatoin/json mime type for some kubelet endpoints 2016-03-14 18:04:17 -07:00
k8s-merge-robot bf1bb5d309 Merge pull request #22899 from justinsb/aws_fix_e2e
Auto commit by PR queue bot
2016-03-14 17:37:13 -07:00
k8s-merge-robot 7d0de5c7d6 Merge pull request #19905 from ixdy/export-go-version
Auto commit by PR queue bot
2016-03-14 15:51:30 -07:00
k8s-merge-robot 2458871b52 Merge pull request #22746 from deads2k/fix-discover-config
Auto commit by PR queue bot
2016-03-14 15:15:16 -07:00
Kris 4d404ded1a Moving adapters to their own packages 2016-03-14 14:22:34 -07:00
Jeff Grafton fb663f2cd5 Include Go version, platform, and other build info in version string
Additionally update MatchesServerVersion to only check GitVersion,
GitCommit, and GitTreeState.
2016-03-14 13:55:28 -07:00
Chao Xu ec02dfc9f0 generated changes 2016-03-14 10:28:20 -07:00
Jordan Liggitt ad20045c8d Correctly identify namespace subresources in GetRequestInfo 2016-03-14 13:03:33 -04:00
k8s-merge-robot b26d6cb706 Merge pull request #22785 from wojtek-t/fix_resthandler_test
Auto commit by PR queue bot
2016-03-14 08:32:58 -07:00
harry f19d59cf35 Move flag into sub pkg 2016-03-14 21:30:38 +08:00
k8s-merge-robot c195b574fe Merge pull request #22910 from liggitt/delete-collection
Auto commit by PR queue bot
2016-03-14 03:12:44 -07:00
Jordan Liggitt 5e68cec23c Test relative timestamps using UTC 2016-03-13 20:46:59 -04:00
Jordan Liggitt 655048add9 Decrease verbosity of namespace controller trace logging 2016-03-12 22:56:31 -05:00
Jordan Liggitt 3594370cfe register internal types with scheme for reference unit test 2016-03-12 19:06:20 -05:00
Jordan Liggitt a1c2267f20 Decrease parallelism in deletecollection test, lengthen test etcd certs 2016-03-12 18:30:12 -05:00
Jordan Liggitt d008283942 Tolerate multiple registered versions in a single group 2016-03-12 12:49:41 -05:00
Justin Santa Barbara 3e12e8b7cc AWS e2e: don't try to build a full cloudprovider in e2e
We have previously tried building a full cloudprovider in e2e for AWS;
this wasn't the best idea, because e2e runs on a different machine than
normal operations, and often doesn't even run in AWS.  In turn, this
meant that the cloudprovider had to do extra work and have extra code,
which we would like to get rid of.  Indeed, I got rid of some code which
tolerated not running in AWS, and this broke e2e.
2016-03-12 06:14:45 -05:00
k8s-merge-robot 3b208815fd Merge pull request #22713 from yifan-gu/rkt_fix_entrypoint
Auto commit by PR queue bot
2016-03-12 01:41:53 -08:00
k8s-merge-robot 1ad0c97837 Merge pull request #22847 from caesarxuchao/matching-replicas
Auto commit by PR queue bot
2016-03-12 01:10:43 -08:00
Chao Xu a6240c1ab8 add FullyLabeledReplicas in Replicaset Status and ReplicationController Status 2016-03-11 23:55:04 -08:00
k8s-merge-robot 45064e19d1 Merge pull request #22793 from justinsb/fix_22792
Auto commit by PR queue bot
2016-03-11 20:37:25 -08:00
k8s-merge-robot 26e309c753 Merge pull request #22784 from justinsb/fix_17626
Auto commit by PR queue bot
2016-03-11 20:04:13 -08:00
k8s-merge-robot 5f5ac27996 Merge pull request #22502 from caesarxuchao/ignore-notfound-etcd
Auto commit by PR queue bot
2016-03-11 15:53:51 -08:00
k8s-merge-robot de7193a095 Merge pull request #22788 from justinsb/fix_22786
Auto commit by PR queue bot
2016-03-11 15:13:06 -08:00
k8s-merge-robot 949b2e612a Merge pull request #22791 from justinsb/fix_15073
Auto commit by PR queue bot
2016-03-11 13:43:32 -08:00
Brian Grant b7984b2fa7 Merge pull request #22862 from jlowdermilk/typo
fix typo in kubectl run help string
2016-03-11 12:26:48 -08:00
Brian Grant d514a65c8d Merge pull request #22802 from ncdc/httpstream-reset-streams-when-closing-connection
Close streams with Reset instead of Close when closing streaming connections
2016-03-11 12:21:19 -08:00
Brian Grant 3defbc6680 Merge pull request #22410 from nikhiljindal/apiReferenceFlag
Deprecating --api-version flag
2016-03-11 12:14:43 -08:00
Brian Grant 532ba5a3c6 Merge pull request #21535 from AdoHe/restore_secure_etcd
restore ability to run against secured etcd
2016-03-11 12:14:06 -08:00
nikhiljindal 593b78f925 Deprecating --api-version flag 2016-03-11 10:12:44 -08:00
Jeff Lowdermilk 627615c870 fix typo in kubectl run help string 2016-03-11 10:11:14 -08:00
Brian Grant 5cc7790f45 Merge pull request #22853 from deads2k/parse-version
allow resource.version.group in kubectl
2016-03-11 10:11:00 -08:00
Brian Grant c6b4518aed Merge pull request #22666 from pmorie/pod-ip-flake-redux
Fix flake in pod IP as env var e2e
2016-03-11 09:42:40 -08:00
Andy Goldstein 7230bd1096 Fix rkt GetPods() order
Use an array to store the pod IDs and use that to build the pod array with consistent ordering,
instead of map ordering, which is random and causes test flakes.
2016-03-11 12:32:22 -05:00
Brian Grant 1c50f1831c Merge pull request #22849 from soltysh/issue22836
Added api discovery to kubectl run, based on which we decide which generators to use
2016-03-11 09:04:12 -08:00
Justin Santa Barbara e40595fa57 AWS volumes: Release disk from attaching map on error
If AWS gives us an actual error (vs just timing out), we know the disk
did not attach, and so we can remove it immediately from the attaching
map.
2016-03-11 11:40:39 -05:00
Andy Goldstein 01b33ec330 Close streams with Reset instead of Close when closing streaming connections
This ensures that the call to close the underlying streaming connection will execute immediately,
instead of waiting for all streams to gracefully shut down.
2016-03-11 11:28:08 -05:00
AdoHe 7228b9b987 restore ability to run against secured etcd 2016-03-11 11:21:16 -05:00
Maciej Szulik f27871e60d Added api discovery to kubectl run, based on which we decide which generators to use 2016-03-11 16:59:14 +01:00
deads2k 5bd161a9cc allow resource.version.group in kubectl 2016-03-11 10:21:50 -05:00
k8s-merge-robot 502d2457bb Merge pull request #22682 from smarterclayton/credential_logging
Auto commit by PR queue bot
2016-03-11 05:32:03 -08:00
k8s-merge-robot accd6a49be Merge pull request #22767 from yifan-gu/rkt_getpods
Auto commit by PR queue bot
2016-03-11 04:08:38 -08:00
Brian Grant e5748a44d6 Merge pull request #22840 from liggitt/preferred-gvk
Prefer fetched version when determining HPA group version kind
2016-03-11 00:41:39 -08:00
Brian Grant 5bd45d26ac Merge pull request #22772 from AdoHe/kubectl_update_wide
update wide option output
2016-03-10 23:19:02 -08:00
harry 5b359213b1 Refactor env into sub pkg
Refactor env into sub pkg
2016-03-11 13:52:45 +08:00
AdoHe 9788101e11 update wide option output 2016-03-11 00:29:37 -05:00
k8s-merge-robot 65605023d5 Merge pull request #22602 from justinsb/multizone_label_dynamic_pvs
Auto commit by PR queue bot
2016-03-10 21:19:05 -08:00
Jordan Liggitt 560b02b3ec Prefer fetched version when determining HPA group version kind 2016-03-11 00:03:38 -05:00
k8s-merge-robot a5369a2c1e Merge pull request #22828 from janetkuo/scale-down-flake
Auto commit by PR queue bot
2016-03-10 20:40:23 -08:00
k8s-merge-robot 144e818ae0 Merge pull request #22811 from madhusudancs/kubectl-rs-autoscale
Auto commit by PR queue bot
2016-03-10 17:16:26 -08:00
Janet Kuo 4a181dacec Fix the possible negative scale down value; add logs when scaling down 2016-03-10 16:01:18 -08:00
k8s-merge-robot 7341b0a265 Merge pull request #22766 from aveshagarwal/master-limitranges-validation-fix
Auto commit by PR queue bot
2016-03-10 15:59:23 -08:00
Madhusudan.C.S dfc62b56cc Enable kubectl autoscale for replica sets.
Also add some tests for it.
2016-03-10 15:05:54 -08:00
k8s-merge-robot 5db0feb202 Merge pull request #22017 from caesarxuchao/fix-21955
Auto commit by PR queue bot
2016-03-10 14:37:43 -08:00
Paul Morie 5194c12d9e Fix flake in pod IP as env var e2e 2016-03-10 16:32:03 -05:00
k8s-merge-robot 5b00059fd2 Merge pull request #22762 from soltysh/job_run
Auto commit by PR queue bot
2016-03-10 13:22:29 -08:00
Andy Goldstein cdd339505e Merge pull request #22758 from madhusudancs/replicaset-nonpointer-template
ReplicaSetSpec.Template shouldn't be a pointer.
2016-03-10 15:35:04 -05:00
Maciej Szulik de83631768 Added job/v1 generator to kubectl run 2016-03-10 19:56:57 +01:00
deads2k 7fdbea8a53 add user-agent defaulting for discovery 2016-03-10 13:32:31 -05:00
Avesh Agarwal 427774306c Fix validation of resources (cpu, memory, storage) for limit range types. 2016-03-10 11:33:53 -05:00
Justin Santa Barbara 16730aba96 AWS: Tag created EBS volumes with our cluster tag
Fix #22792
2016-03-10 08:13:50 -05:00
Justin Santa Barbara 79b2b7edef AWS EBS: Remove the attached volumes cache
There are known issues with the attached-volume state cache that just aren't
possible to fix with the current interface.

Replace it with a map of the active attach jobs (that was the original
requirement, to avoid a nasty race condition).

This costs us an extra DescribeInstance call on attach/detach, but that
seems worth it if it ends this class of bugs.

Fix #15073
2016-03-10 07:50:35 -05:00
Wojciech Tyczynski b264805796 JSON serializer implements serializer interface 2016-03-10 13:26:05 +01:00
Justin Santa Barbara 0921af4aca AWS: Don't pass empty filters to AWS requests
It gives an error: `The filter 'null' is invalid`

Instead of a zero-length filter list, provide a nil value.

Fix #22786
2016-03-10 07:22:31 -05:00
Wojciech Tyczynski 0e73783c68 Fix resthandler_test in Go 1.6 2016-03-10 13:03:02 +01:00
Justin Santa Barbara 7c82fe7389 AWS: Increase timeout deleting ELB; log remaining security groups
Either ELB is slow to delete (in which case the bumped timeout will
help), or the security groups are otherwise blocked (in which case
logging them will help us track this down).

Fix #17626
2016-03-10 06:57:13 -05:00
Madhusudan.C.S 6fc1837e5e Auto-generated code. 2016-03-09 21:24:24 -08:00
Madhusudan.C.S db48dcf583 ReplicaSetSpec.Template shouldn't be a pointer.
PodTemplateSpec should be consistent for all the types in extensions/v1beta1.

See PR #19510.
2016-03-09 21:24:16 -08:00
Madhusudan.C.S e8ee3eda2a Pass ResourceVersion in Scale object back to RC before updating RC so that it can be used to check for conflicts. 2016-03-09 19:44:21 -08:00
k8s-merge-robot 108f722657 Merge pull request #22724 from madhusudancs/scale-hpa-stopgap-1.2
Auto commit by PR queue bot
2016-03-09 19:16:26 -08:00
Madhusudan.C.S fe26381c90 Support for both map-based and set-based selectors in extensions/v1beta1.Scale
Here are a list of changes along with an explanation of how they work:
1. Add a new string field called TargetSelector to the external version of
   extensions Scale type (extensions/v1beta1.Scale). This is a serialized
   version of either the map-based selector (in case of ReplicationControllers)
   or the unversioned.LabelSelector struct (in case of Deployments and
   ReplicaSets).
2. Change the selector field in the internal Scale type (extensions.Scale) to
   unversioned.LabelSelector.
3. Add conversion functions to convert from two external selector fields to a
   single internal selector field. The rules for conversion are as follows:
   i.   If the target resource that this scale targets supports LabelSelector
        (Deployments and ReplicaSets), then serialize the LabelSelector and
        store the string in the TargetSelector field in the external version
        and leave the map-based Selector field as nil.
   ii.  If the target resource only supports a map-based selector
        (ReplicationControllers), then still serialize that selector and
	store the serialized string in the TargetSelector field. Also,
	set the the Selector map field in the external Scale type.
   iii. When converting from external to internal version, parse the
        TargetSelector string into LabelSelector struct if the string isn't
	empty. If it is empty, then check if the Selector map is set and just
	assign that map to the MatchLabels component of the LabelSelector.
   iv.  When converting from internal to external version, serialize the
        LabelSelector and store it in the TargetSelector field. If only
	the MatchLabel component is set, then also copy that value to
	the Selector map field in the external version.
4. HPA now just converts the LabelSelector field to a Selector interface
   type to list the pods.
5. Scale Get and Update etcd methods for Deployments and ReplicaSets now
   return extensions.Scale instead of autoscaling.Scale.
6. Consequently, SubresourceGroupVersion override and is "autoscaling"
   enabled check is now removed from pkg/master/master.go
7. Other small changes to labels package, fuzzer and LabelSelector
   helpers to piece this all together.
8. Add unit tests to HPA targeting Deployments and ReplicaSets.
9. Add an e2e test to HPA targeting ReplicaSets.
2016-03-09 17:54:17 -08:00
Yifan Gu 56be600c2b rkt: Fix GetPods().
Group containers from different rkt pods into one k8s pod if
they have the same k8s pod UID.
2016-03-09 17:46:44 -08:00
k8s-merge-robot af2f003585 Merge pull request #22740 from wojtek-t/fix_fake_handler_test
Auto commit by PR queue bot
2016-03-09 16:35:40 -08:00
Justin Santa Barbara c771bf43c4 Ubernetes Lite: apply auto-labels to dynamically provisioned volumes
Fix #22532
2016-03-09 15:17:45 -05:00
Madhusudan.C.S 6b34a2bac6 Selector operator strings should all be lowercase to be consistent with other operators. 2016-03-09 10:02:37 -08:00
Wojciech Tyczynski 46ba2bfc89 Fix fake_handler test in Go 1.6 2016-03-09 14:24:42 +01:00
Yifan Gu 4a63f7f74c rkt: Support ENTRYPOINT/CMD substitution. 2016-03-08 18:32:18 -08:00
k8s-merge-robot fa21ef11bd Merge pull request #22708 from mikedanese/revert-revert
Auto commit by PR queue bot
2016-03-08 14:51:25 -08:00
k8s-merge-robot dba955e112 Merge pull request #22521 from wojtek-t/support_go_16_in_gofmt
Auto commit by PR queue bot
2016-03-08 13:14:45 -08:00
Mike Danese e0431d8409 Revert "Revert "continuously delete pods on nodes that don't exist""
This reverts commit da0a72f2c2.
2016-03-08 11:00:35 -08:00
k8s-merge-robot 55530bc8f7 Merge pull request #22664 from bprashanth/cleanup-hairpin
Auto commit by PR queue bot
2016-03-08 05:36:18 -08:00
k8s-merge-robot 8b186991e2 Merge pull request #22607 from Random-Liu/restart-unknown-state-container
Auto commit by PR queue bot
2016-03-08 05:02:35 -08:00
Justin Santa Barbara cb818a01d0 AWS: Fix some error messages
Some error messages had incorrect spacing.  Prefer Warningf to Warning,
and fix some of those problems.
2016-03-08 06:29:29 -05:00
Wojciech Tyczynski 525d14e0bc Fix gofmt errors 2016-03-08 09:46:47 +01:00
Marek Grabowski da0a72f2c2 Revert "continuously delete pods on nodes that don't exist" 2016-03-08 09:38:53 +01:00
Clayton Coleman 31e3265317 Credential providers are not newsworthy
Move the info to debugging level.
2016-03-07 21:50:39 -05:00
k8s-merge-robot ed473cbfc7 Merge pull request #22064 from justinsb/aws_internal_lb
Auto commit by PR queue bot
2016-03-07 18:14:46 -08:00
k8s-merge-robot 111d92f110 Merge pull request #22667 from mikedanese/node-control-pods
Auto commit by PR queue bot
2016-03-07 17:32:01 -08:00
Mike Danese c404e7c6d1 continuously delete pods on nodes that don't exist 2016-03-07 16:01:33 -08:00
k8s-merge-robot f046d6c83e Merge pull request #22420 from AdoHe/kubectl_swagger_cache
Auto commit by PR queue bot
2016-03-07 15:18:56 -08:00
k8s-merge-robot bfde580cdd Merge pull request #22656 from derekwaynecarr/fix_node_e2e_systemd
Auto commit by PR queue bot
2016-03-07 14:41:43 -08:00
k8s-merge-robot 0e861a88ec Merge pull request #22626 from xinxiaogang/xnxin-master
Auto commit by PR queue bot
2016-03-07 14:05:29 -08:00
derekwaynecarr 26dbbdb244 kubelet stats should ignore .mount cgroups associated with container on systemd 2016-03-07 14:57:29 -05:00
Prashanth Balasubramanian 544d0a5c05 Cleanup hairpin flag in the kubelet. 2016-03-07 11:55:09 -08:00
k8s-merge-robot dc46ae031d Merge pull request #22336 from cjcullen/evict
Auto commit by PR queue bot
2016-03-07 08:42:40 -08:00
k8s-merge-robot 492c5d68fb Merge pull request #21694 from aveshagarwal/master-sort-by-versioned
Auto commit by PR queue bot
2016-03-07 08:09:55 -08:00
k8s-merge-robot ec9c67d65d Merge pull request #22516 from kargakis/resolve-fenceposts-together
Auto commit by PR queue bot
2016-03-07 07:37:12 -08:00
k8s-merge-robot a914bbd0b8 Merge pull request #22578 from smarterclayton/set_runtime_owners
Auto commit by PR queue bot
2016-03-07 06:18:54 -08:00
CJ Cullen e7fc608df7 Immediately evict pods and delete node when cloud says node is gone. 2016-03-07 06:07:51 -08:00
k8s-merge-robot 6669e43f1c Merge pull request #22622 from Kaffa-MY/k8s-flocker
Auto commit by PR queue bot
2016-03-07 05:43:39 -08:00
Michail Kargakis 1388919976 controller: resolve unavailable in conjuction with surge for deployments
Due to rounding down for maxUnavailable, we may end up with deployments
that have zero surge and unavailable pods something that 1) is not allowed
as per validation, 2) blocks deployments. If we end up in such a situation
set maxUnavailable to 1 on the theory that surge might not work due to
quota.
2016-03-07 13:03:41 +01:00
Michail Kargakis 77097d9a20 kubectl: set maxUnavailable to 1 if both fenceposts resolve to zero
Due to rounding down for maxUnavailable, we may end up with rolling updates
that have zero surge and unavailable pods something that 1) is not allowed
as per validation, 2) blocks updates. If we end up in such a situation
set maxUnavailable to 1 on the theory that surge might not work due to
quota.
2016-03-07 13:03:41 +01:00
k8s-merge-robot 88d0ac4a67 Merge pull request #22628 from wojtek-t/efficient_resource_quota_controller
Auto commit by PR queue bot
2016-03-07 02:39:24 -08:00
Yang Meng a5189d8bd1 update mountpath of volume after migration 2016-03-07 18:00:06 +08:00
k8s-merge-robot 89c9c24987 Merge pull request #21964 from caesarxuchao/fix-thirdparty-parameter
Auto commit by PR queue bot
2016-03-07 00:59:17 -08:00
Wojciech Tyczynski e2ebc50648 Don't sync all objects for replenishment as often as ResourceQuota. 2016-03-07 08:31:09 +01:00
Xiaogang Xin e2eccddc6f kubernetes/kubernetes#22625 Fix issue of out-of-date `Terminating` mirror pod status
- During `kubelet` `syncPod`, check mirror pod `DeletionTimestamp` value to determine whether re-create mirror pod for running static pod.
2016-03-07 13:42:41 +08:00
k8s-merge-robot b07d040ad8 Merge pull request #22576 from yujuhong/ignore_containers
Auto commit by PR queue bot
2016-03-06 17:01:38 -08:00
k8s-merge-robot 95ab1936ea Merge pull request #22559 from krousey/discbreak
Auto commit by PR queue bot
2016-03-06 12:47:07 -08:00
k8s-merge-robot bc295857db Merge pull request #22285 from AdoHe/fix_service_export
Auto commit by PR queue bot
2016-03-06 10:06:22 -08:00
Yu-Ju Hong b1a6ee26ef Ignore "no such container" error when generating pod status
This allows the pod continue to sync if one container in a corrupt state.
2016-03-06 08:46:31 -08:00
Justin Santa Barbara 02e79b9e52 AWS: If we have no subnets, bail out early
We know the ELB call will fail, so we error out early rather than
hitting the API.  Preserves rate limit quota, and also allows us to give
a more self-evident message.

Fix #21993
2016-03-06 09:41:29 -05:00
Justin Santa Barbara 5cf837452b AWS: Fix problems identifying subnets for internal ELBs
We tacitly supported this before, but we broke this with the
public-subnet detection.

Fix #22527
2016-03-06 09:41:29 -05:00
k8s-merge-robot 8ab8231c20 Merge pull request #22577 from jpiccari/master
Auto commit by PR queue bot
2016-03-06 00:18:53 -08:00
k8s-merge-robot c7a50206c0 Merge pull request #22579 from bprashanth/graceful_rc
Auto commit by PR queue bot
2016-03-05 23:42:11 -08:00
k8s-merge-robot fa0bf812d6 Merge pull request #22467 from Random-Liu/push-down-runtime-version-check
Auto commit by PR queue bot
2016-03-05 22:34:19 -08:00
Chao Xu ff446ece57 adding a test to make sure the ignore NotFound error patch is working 2016-03-05 22:32:58 -08:00
k8s-merge-robot 005c67a1ef Merge pull request #22445 from derekwaynecarr/quota_replenish_perf
Auto commit by PR queue bot
2016-03-05 22:00:37 -08:00
k8s-merge-robot f31647ec38 Merge pull request #22556 from sjenning/add-configmap-kubectl-usage
Auto commit by PR queue bot
2016-03-05 20:04:29 -08:00
Seth Jennings 4ca54b0c9c add configmap to kubectl subcommand list 2016-03-05 20:20:00 -06:00
Prashanth Balasubramanian 7f5c9bd676 Track deletes in rc manager with a UID expectations cache. 2016-03-05 18:18:18 -08:00
k8s-merge-robot 5dde64c4ec Merge pull request #22264 from gmarek/scheduler
Auto commit by PR queue bot
2016-03-05 15:13:16 -08:00
k8s-merge-robot 791c694c21 Merge pull request #22132 from pmorie/remove-atomic-sentinel
Auto commit by PR queue bot
2016-03-05 12:06:16 -08:00
k8s-merge-robot 357a9d1fdf Merge pull request #22033 from yifan-gu/rkt_get_status
Auto commit by PR queue bot
2016-03-05 10:46:47 -08:00
k8s-merge-robot 3c5b57b217 Merge pull request #21805 from childsb/CanSupport_fix
Auto commit by PR queue bot
2016-03-05 10:09:35 -08:00
k8s-merge-robot 2e03822386 Merge pull request #21335 from deads2k/make-rc-logs-work
Auto commit by PR queue bot
2016-03-05 09:37:24 -08:00
k8s-merge-robot f359bd96a7 Merge pull request #20578 from dcbw/dont-cni-hostnet-pods
Auto commit by PR queue bot
2016-03-05 09:03:12 -08:00
AdoHe 5fdfc4bde3 fix can not export service bug 2016-03-05 11:23:50 -05:00
k8s-merge-robot b198c820cd Merge pull request #22402 from erictune/psp-simplify
Auto commit by PR queue bot
2016-03-05 07:55:19 -08:00
k8s-merge-robot 822374ff95 Merge pull request #22123 from justinsb/aws_awsinstance_refactor
Auto commit by PR queue bot
2016-03-05 06:50:55 -08:00
Justin Santa Barbara 43e6602c42 AWS: Fix test failure introduced by rebase 2016-03-05 08:11:30 -05:00
Justin Santa Barbara cff564b1a6 AWS: Remove dead code and fix up comments 2016-03-05 08:09:40 -05:00
Justin Santa Barbara f8e6098e4d AWS: Update tests for refactoring 2016-03-05 08:09:40 -05:00
Justin Santa Barbara af9efa02b4 AWS: Remove getSelfAWSInstance, use field directly
Now that we always populate the local instance, we don't need a getter.
2016-03-05 08:09:40 -05:00
Justin Santa Barbara 8c492c7536 AWS: Don't store the AZ on the cloud
Now we have Ubernetes-Lite, an AWSCloud can span multiple AZs.
2016-03-05 08:09:40 -05:00
Justin Santa Barbara ddb5072a54 AWS: Don't pretend getSelfAWSInstance can return an error
It can't any more; this simplifies calling code.
2016-03-05 08:09:40 -05:00
Justin Santa Barbara 40d0afbb1b AWS: Capture VPC ID into AWSCloud, avoiding requeries
By storing the VPC ID on AWSCloud, we avoid the need to requery or to
pass it around.
2016-03-05 08:09:40 -05:00
Justin Santa Barbara 00b666f853 AWS: Rename getInfo -> describeInstance/describeVolume
Makes it clearer that we are making an AWS API call
2016-03-05 08:09:40 -05:00
Justin Santa Barbara efa68a3590 AWS: Build awsInstance as part of cloud provider creation
We need getSelfAWSInstance to be working anyway; we might as well build
it early, and then we can use its methods to extract e.g. the VPC ID
2016-03-05 08:09:40 -05:00
Justin Santa Barbara 0375fa057f AWS: Refactor newAWSInstance
Now that we can't build an awsInstance from metadata, because of the
PrivateDnsName issue, we might as well simplify the arguments.

Create a 'placeholder' method though - newAWSInstanceFromMetadata - that
documents the desire to use metadata, shows how we would get it, but
links to the bug which explains why we can't use it.
2016-03-05 08:09:40 -05:00
k8s-merge-robot bba65e8afc Merge pull request #18134 from feihujiang/markGenericTopLevelPrefixProxyDeprecated
Auto commit by PR queue bot
2016-03-05 05:08:52 -08:00
k8s-merge-robot 2808973503 Merge pull request #22038 from mqliang/daemonset-cache
Auto commit by PR queue bot
2016-03-05 03:38:55 -08:00
k8s-merge-robot 953e21c8f9 Merge pull request #22526 from kargakis/another-rolling-updater-fix
Auto commit by PR queue bot
2016-03-05 03:07:15 -08:00
Lantao Liu 45064d7a1e Always restart container in unknown state. 2016-03-05 10:42:26 +00:00
k8s-merge-robot 663f7b8a4c Merge pull request #22487 from vishh/node-status-cpu-hardcap
Auto commit by PR queue bot
2016-03-05 02:32:33 -08:00