- 22 Mar, 2017 10 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue update influxdb dependency to v1.1.1 and change client to v2 **What this PR does / why we need it**: 1. it updates version of influxdb libraries used by tests to v1.1.1 to match version used by grafana 2. it switches influxdb client to v2 to address the fact that [v1 is being depricated](https://github.com/influxdata/influxdb/tree/v1.1.1/client#description) **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: cc @piosz 1. [vendor/BUILD](https://github.com/KarolKraskiewicz/kubernetes/blob/master/vendor/BUILD) didn't get regenerated after executing `./hack/godep-save.sh` so I left previous version. Not sure how to trigger regeneration of this file. 2. `tests/e2e/monitoring.go` seem to be passing without changes, even after changing version of the client. **Release note**: ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43492, 43489) Authorize PSP usage for pods without service accounts Fixes #43459 ```release-note PodSecurityPolicy authorization is correctly enforced by the PodSecurityPolicy admission plugin. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update Changelog for 1.5.5 Update changelog for 1.5.5 to capture change details now that [vulnerability has been disclosed](https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/kubernetes-announce/7tvmimkHj0k/RLlImP_kBwAJ).
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43481, 43419, 42741, 43480) [Federation] Increase the federation components logging verbosity level in e2e tests. **Release note**: ```release-note NONE ``` cc @kubernetes/sig-federation-pr-reviews /assign @csbell
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43481, 43419, 42741, 43480) controller: work around milliseconds skew in AddAfter AddAfter is not requeueing precisely after the provided time and may skew for some millieseconds. This is really important because controllers don't relist often so a missed check because of ms difference is essentially dropping the key. For example, in [1] the test requeues a Deployment for a progress check after 10s[2] but the Deployment is synced 9ms earlier ending up in the controller not recognizing the Deployment as failed thus dropping it from the queue w/o any error. The drop is fixed by forcing the controller to resync the Deployment but we are going to resync after the full duration. @deads2k if you don't like this I am going to handle this on a case by case basis [1] https://github.com/kubernetes/kubernetes/issues/39785#issuecomment-279959133 [2] https://github.com/kubernetes/kubernetes/blob/c48b2cab0f25abd374ae9308afb19735a4150e19/test/e2e/deployment.go#L1122
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43481, 43419, 42741, 43480) Add e2e test for DaemonSet node selector updates @kargakis @lukaszo @kubernetes/sig-apps-bugs
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43481, 43419, 42741, 43480) Add ETCD env vars for downgrade This is a partial fix for https://github.com/kubernetes/kubernetes/issues/43470
-
Saad Ali authored
-
saadali authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Renamed fluentd-ds-ready annotation We don't want to have alpha annotation as production ready solution. Low risk change, only rename.
-
- 21 Mar, 2017 28 commits
-
-
Jordan Liggitt authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use realistic value for the memory example of kube-reserved and system-reserved Use realistic value for the memory example of kube-reserved and system-reserved Currently, kublet help shows the memory example of kube-reserved and system-reserved as 150G. This 150G is not realistic value and it leads misconfiguration or confusion. This patch changes to example value as 500Mi. Before(same with system-reserved): ``` --kube-reserved value A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently only cpu and memory are supported. See http://releases.k8s.io/HEAD/docs/user-guide/compute-resources.md for more detail. [default=none] ``` After(same with system-reserved): ``` --kube-reserved value A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=500Mi) pairs that describe resources reserved for kubernetes system components. Currently only cpu and memory are supported. See http://releases.k8s.io/HEAD/docs/user-guide/compute-resources.md for more detail. [default=none] ``` -
Kris authored
-
Madhusudan.C.S authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Rate limit HPA controller to sync period Since the HPA controller pulls information from an external source that makes no guarantees about consistency, it's possible for the HPA to get into an infinite update loop -- if the metrics change with every query, the HPA controller will run it's normal reconcilation, post a status update, see that status update itself, fetch new metrics, and if those metrics are different, post another status update, and repeat. This can lead to continuously updating a single HPA. By rate-limiting each HPA to once per sync interval, we prevent this from happening. **Release note**: ```release-note NONE ``` -
Janet Kuo authored
-
Michail Kargakis authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation][e2e] Ensure kubefed times out in federation-up.sh Although this should eventually be moved into kubefed itself, monitor kubefed from federation-up.sh and force it to timeout after being unable to initialize. The motivating factor here is to ensure that CI can timeout after a reasonable attempt at trying to initialize the FCP.
-
Piotr Szczesniak authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43422, 43458) Bump Cluster Autoscaler version to 0.5.0 **What this PR does / why we need it**: This PR bumps Cluster Autoscaler version to 0.5.0. The version is the same as 0.5.0-beta2 (from the code perspective). We are just removing the -beta2 tag from the image. **Release note**: None. cc: @MaciekPytel @fgrzadkowski @wojtek-t
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Ensure slices are serialized as zero-length, not null Fixes https://github.com/kubernetes/kubernetes/issues/43203 null serialization of slices to prevent NPE errors in clients that store and expect to receive non-null JSON values in these fields. Ensures when we are converting to an external slice field that will be serialized even if empty (has `json` tag that does not include `omitempty`), we populate it with `[]`, not `nil` Other places I considered putting this logic instead: * When unmarshaling * Would have to be done for both protobuf and ugorji * Would still have to be done here (or on marshal) to handle cases where we construct objects to return * When marshaling * Would have to switch to use custom json marshaler (currently we use stdlib) * When defaulting * Defaulting isn't run on some fields, notably, pod template in rc/deployment spec * Would still have to be done here (or on marshal) to handle cases where we construct objects to return ```release-note API fields that previously serialized null arrays as `null` and empty arrays as `[]` no longer distinguish between those values and always output `[]` when serializing to JSON. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Keep ResourceQuota admission at the end of the chain Fixes #43426 Moves DefaultTolerationSeconds admission prior to ResourceQuota to keep it at the end of the chain
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Increase memory limit for fluentd-gcp This PR increases fluentd memory limit in fluentd-gcp addon to avoid OOMs. Request is left intact
-
Christian Bell authored
Although this should eventually be moved into kubefed itself, monitor kubefed from federation-up.sh and force it to timeout after being unable to initialize.
-
Marcin Wielgus authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix restore-from-backup.sh script
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue e2e test for cluster-autoscaler draining node **What this PR does / why we need it**: Adds an e2e test for Cluster-Autoscaler removing a node with a pod running (by rescheduling the pod). **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: @mwielgus can you take a look? **Release note**: ```release-note ```
-
Wojciech Tyczynski authored
-
Mik Vyatskov authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Install a REJECT rule for nodeport with no backend Rather than actually accepting the connection, REJECT. This will avoid CLOSE_WAIT. Fixes #43212 @justinsb @felipejfc @spiddy
-
Jordan Liggitt authored
-
Tim Hockin authored
Rather than actually accepting the connection, REJECT. This will avoid CLOSE_WAIT.
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Unify test timeouts under a common name. Some timeouts were too aggressive and since we've slowly been moving every controller to 5 minutes, consolidate everyone under ``federatedDefaultTestTimeout``. To aid in debugging some service-related issues, if a service cannot be deleted, we issue a kubectl describe on it prior to failing.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use uid in config.go instead of pod full name. For https://github.com/kubernetes/kubernetes/issues/43397. In config.go, use pod uid in pod cache. Previously, if we update the static pod, even though a new UID is generated in file.go, config.go will only reference the pod with pod full name, and never update the pod UID in the internal cache. This causes: 1) If we change container spec, kubelet will restart the corresponding container because the container hash is changed. 2) If we change pod spec, kubelet will do nothing. With this fix, kubelet will always restart pod whenever pod spec (including container spec) is changed. @yujuhong @bowei @dchen1107 /cc @kubernetes/sig-node-bugs
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use Semantic.DeepEqual to compare DaemonSet template on updates Switch to `Semantic.DeepEqual` when comparing templates on DaemonSet updates, since we can't distinguish between `null` and `[]` in protobuf. This avoids unnecessary DaemonSet pods restarts. I didn't touch `reflect.DeepEqual` used in controller because it's close to release date, and the DeepEqual in the controller doesn't cause serious issues (except for maybe causing more enqueues than needed). Fixes #43218 @liggitt @kargakis @lukaszo @kubernetes/sig-apps-pr-reviews
-
- 20 Mar, 2017 2 commits
-
-
Random-Liu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42452, 43399) Fix faulty assumptions in summary API testing **What this PR does / why we need it**: 1. on systemd, launch kubelet in dedicated part of cgroup hierarchy 1. bump allowable memory usage for busy box containers as my own local testing often showed values > 1mb which were valid per the memory limit settings we impose 1. there is a logic flaw today in how we report node.memory.stats that needs to be fixed in follow-on. for the last issue, we look at `/sys/fs/cgroup/memory.stat[rss]` value which if you have global accounting enabled on systemd machines (as expected) will report 0 because nothing runs local to the root cgroup. we really want to be showing the total_rss value for non-leaf cgroups so we get the full hierarchy of usage.
-