1. 03 Jun, 2017 2 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #45184 from DirectXMan12/feature/metrics-client-gen-tweaks · caead741
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46801, 45184, 45930, 46192, 45563)
      
      Tweak client-gen to support metrics API
      
      This PR adds support to client-gen for readonly APIs as well as for customizing the resource name used for a given type.
      
      This is required to support the clients generated for `k8s.io/metrics/pkg/apis/metrics`.
      
      cc @caesarxuchao 
      
      Currently based on #45180
      
      **Release note**:
      ```release-note
      NONE
      ```
      caead741
    • Kubernetes Submit Queue's avatar
      Merge pull request #46801 from dashpole/summary_container_restart · d063ce21
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      [Flaky PR Test] Fix summary test
      
      fixes issue: #46797 
      
      As we can see in the [example failure build log](https://storage.googleapis.com/kubernetes-jenkins/logs/ci-kubernetes-node-kubelet/4319/build-log.txt), the summary containers are pinging google 100s of times a second.  This causes the summary container to be killed occasionally, and fail the test.  The summary containers are only supposed to ping every 10 seconds according to the current test.  As it turns out, we were missing a semicolon, and were not sleeping between pings.  For background, we ping google to generate network traffic, so that the summary test can validate network metrics.
      
      This PR adds the semicolon to make the container sleep between calls, and decreases the sleep time from 10 seconds to 1 second, as 1 call / 10 seconds did not produce enough activity.
      
      cc @kubernetes/kubernetes-build-cops @dchen1107
      d063ce21
  2. 02 Jun, 2017 14 commits
  3. 01 Jun, 2017 24 commits