- 26 Aug, 2016 40 commits
-
-
Matthew Wong authored
-
Mike Danese authored
Revert "Avoid disk eviction node e2e test using up all the disk space"
-
Dawn Chen authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue More scheduling debug in federated replica set cc: @quinton-hoole @jianhuiz @kubernetes/sig-cluster-federation
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use updated deployment after rollback @kubernetes/deployment **Release note**: <!-- Steps to write your release note: 1. Use the release-note-* labels to set the release note state (if you have access) 2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. --> ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove annoying log In large clusters, those were ~85% of logs in controller manager (2.3M lines), which doesn't provide any value...
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix hang/websocket timeout when streaming container log with no content When streaming and following a container log, no response headers are sent from the kubelet `containerLogs` endpoint until the first byte of content is written to the log. This propagates back to the API server, which also will not send response headers until it gets response headers from the kubelet. That includes upgrade headers, which means a websocket connection upgrade is not performed and can time out. To recreate, create a busybox pod that runs `/bin/sh -c 'sleep 30 && echo foo && sleep 10'` As soon as the pod starts, query the kubelet API: ``` curl -N -k -v 'https://<node>:10250/containerLogs/<ns>/<pod>/<container>?follow=true&limitBytes=100' ``` or the master API: ``` curl -N -k -v 'http://<master>:8080/api/v1/<ns>/pods/<pod>/log?follow=true&limitBytes=100' ``` In both cases, notice that the response headers are not sent until the first byte of log content is available. This PR: * does a 0-byte write prior to handing off to the container runtime stream copy. That commits the response header, even if the subsequent copy blocks waiting for the first byte of content from the log. * fixes a bug with the "ping" frame sent to websocket streams, which was not respecting the requested protocol (it was sending a binary frame to a websocket that requested a base64 text protocol) * fixes a bug in the limitwriter, which was not propagating 0-length writes, even before the writer's limit was reached
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Avoid disk eviction node e2e test using up all the disk space
-
Wojciech Tyczynski authored
-
Marcin Wielgus authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Proper phase/finalizer logic in federated namespace controller Part 1 of delete logic cleanup. Part 2 will contain namespace content deletion and tests. cc: @quinton-hoole @kubernetes/sig-cluster-federation
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubectl: cast notFound error to struct Fixes https://github.com/kubernetes/kubernetes/issues/28378 (the 404 flake) @kubernetes/kubectl @kubernetes/deployment
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Grab etcd logs from kubemark & retry etcd starts to avoid image pull errors Ref #31105 @gmarek
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Bump cluster autoscaler to 0.3.0-beta4
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Bumped Rescheduler version
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Petset hotlooping issue. Part of the fix for #27634 It completely fixes it when we also get https://github.com/kubernetes/kubernetes/pull/31396 merged.
-
Marcin Wielgus authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Enable gc by default in more tests I think this should only affect the 100-node test. cc @lavalamp
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix getting pods from all namespaces **What this PR does / why we need it**: Use Heapster handler for pods from all namespaces (added in the new version). Depends on #30993
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Tweak resource constraints in scalability tests [flaky tests fix] Ref #31105
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue persist services need to be retried in service controller cache. fix issue reported by @anguslees more detail on #25189
-
Marcin Wielgus authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [kube-proxy] Fix naming errors and sentence breaking in pkg/proxy/healthcheck <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md 2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md 3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes --> **What this PR does / why we need it**: addresses #31484 @girishkalele
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue rkt: Force `rkt fetch` to fetch from remote to conform the image pull policy. Fix https://github.com/kubernetes/kubernetes/issues/27646 Use `--no-store` option for `rkt fetch` to force it to fetch from remote. However, `--no-store` will fetch the remote image regardless of whether the content of the image has changed or not. This causes performance downgrade when the image tag is ':latest' and the image pull policy is 'always'. The issue is tracked in https://github.com/coreos/rkt/issues/2937.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Nginx ingress e2es Runs the basic ingress conformance suite: https://github.com/kubernetes/kubernetes/blob/master/test/e2e/ingress_utils.go#L85
-
Piotr Szczesniak authored
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Print to stderr when attach failed @kubernetes/kubectl
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Build and push kube-dns for 1.4 release. Fix #31355. Following docker images had been uploaded: gcr.io/google_containers/kubedns-amd64:1.7 gcr.io/google_containers/kubedns-arm:1.7 gcr.io/google_containers/kubedns-arm64:1.7 Build for ppc64le is disabled by default, and it failed to be built using: `KUBE_BUILD_PPC64LE=y make release` I'm still working on making the ppc64le build. Updates will be added following this thread. @girishkalele @thockin
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add ReclaimPolicy to the resource printer for 'get pv' Propose we add the RECLAIMPOLICY (persistentVolumeReclaimPolicy) from resource_printer.go to show the policy when a user does a ```kubectl get pv``` ``` [root@k8dev nfs]# kubectl get pv NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM REASON AGE pv-nfs 1Gi RWO Retain Available 1m pv-nfs2 1Gi RWO Delete Available 4s ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Allow services which use same port, different protocol to use the same nodePort for both fix #20092 @thockin @smarterclayton ptal.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix various typos in pkg/apis Just fixed some typos + "englishify" some stuff in pkg/apis
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Handle overlapping deployments gracefully Fixes #30028
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Filter internal Kubernetes labels from Prometheus metrics **What this PR does / why we need it**: Kubernetes uses Docker labels as storage for some internal labels. The majority of these labels are not meaningful metric labels and a few of them are even harmful as they're not static and cause wrong aggregation results. This change provides a custom labels func to only attach meaningful labels to cAdvisor exported metrics. **Which issue this PR fixes** google/cadvisor#1312 **Special notes for your reviewer**: Depends on google/cadvisor#1429. Once that is merged, I'll update the vendor update commit. **Release note**: ```release-note Remove environment variables and internal Kubernetes Docker labels from cAdvisor Prometheus metric labels. Old behavior: - environment variables explicitly whitelisted via --docker-env-metadata-whitelist were exported as `container_env_*=*`. Default is zero so by default non were exported - all docker labels were exported as `container_label_*=*` New behavior: - Only `container_name`, `pod_name`, `namespace`, `id`, `image`, and `name` labels are exposed - no environment variables will be exposed ever via /metrics, even if whitelisted ``` --- Given that we have full control over the exported label set, I shortened the pod_name, pod_namespace and container_name label names. Below an example of the change (reformatted for readability). ``` # BEFORE container_cpu_cfs_periods_total{ container_label_io_kubernetes_container_hash="5af8c3b4", container_label_io_kubernetes_container_name="sync", container_label_io_kubernetes_container_restartCount="1", container_label_io_kubernetes_container_terminationMessagePath="/dev/termination-log", container_label_io_kubernetes_pod_name="popularsearches-web-3165456836-2bfey", container_label_io_kubernetes_pod_namespace="popularsearches", container_label_io_kubernetes_pod_terminationGracePeriod="30", container_label_io_kubernetes_pod_uid="6a291e48-47c4-11e6-84a4-c81f66bdf8bd", id="/docker/68e1f15353921f4d6d4d998fa7293306c4ac828d04d1284e410ddaa75cf8cf25", image="redacted.com/popularsearches:42-16-ba6bd88", name="k8s_sync.5af8c3b4_popularsearches-web-3165456836-2bfey_popularsearches_6a291e48-47c4-11e6-84a4-c81f66bdf8bd_c02d3775" } 72819 # AFTER container_cpu_cfs_periods_total{ container_name="sync", pod_name="popularsearches-web-3165456836-2bfey", namespace="popularsearches", id="/docker/68e1f15353921f4d6d4d998fa7293306c4ac828d04d1284e410ddaa75cf8cf25", image="redacted.com/popularsearches:42-16-ba6bd88", name="k8s_sync.5af8c3b4_popularsearches-web-3165456836-2bfey_popularsearches_6a291e48-47c4-11e6-84a4-c81f66bdf8bd_c02d3775" } 72819 ``` Feedback requested on: * Label names. Other suggestions? Should we keep these very long ones? * Do we need to export io.kubernetes.pod.uid? It makes working with the metrics a bit more complicated and the pod name is already unique at any time (but not over time). The UID is aslo part of `name`. As discussed with @timstclair, this should be added to v1.4 as the current labels are harmful. PTAL @jimmidyson @fabxc @vishh -
m1093782566 authored
Change-Id: Iee36ff4e497052f473f95f8f0a92421d85e3c416
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Filter duplicate network packets in promiscuous bridge mode (with ebtables) also fixes: #30783
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix the creation of the jobResultsCache.json file. Let's try this again. ref https://github.com/kubernetes/release/pull/60
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Split the version metric out to its own package This PR breaks a client dependency on prometheus. Combined with #30638, the client will no longer depend on these packages.
-