1. 28 Apr, 2017 7 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #45042 from wongma7/attaching-log · 19795ea7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Log node name when error attaching volume
      
      Helps with debugging to know immediately which node the volume failed to atach to. Went through all plugins, added this to 3. @gnufied
      ```release-note
      NONE
      ```
      19795ea7
    • Kubernetes Submit Queue's avatar
      Merge pull request #44939 from sjenning/adjust-logging · acca01bc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      don't HandleError on container start failure
      
      Failing to start containers is a common error case if there is something wrong with the container image or environment like missing mounts/configs/permissions/etc.  Not only is it common; it is reoccurring as backoff happens and new attempts to start the container are made.  `HandleError` it too verbose for this very common situation.
      
      Replace `HandleError` with `glog.V(3).Infof`
      
      xref https://github.com/openshift/origin/issues/13889
      
      @smarterclayton @derekwaynecarr @eparis
      acca01bc
    • Kubernetes Submit Queue's avatar
      Merge pull request #44888 from caesarxuchao/clean-deepcopy-init · b2d714a7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Prepare for move zz_generated_deepcopy.go to k8s.io/api
      
      This is in preparation to move deep copies to with the types to the types repo (see https://github.com/kubernetes/gengo/pull/47#issuecomment-296855818). The init() function is referring the `SchemeBuilder` defined in the register.go in the same packge, so we need to revert the dependency.
      
      This PR depends on https://github.com/kubernetes/gengo/pull/49, otherwise verification will fail.
      b2d714a7
    • Kubernetes Submit Queue's avatar
      Merge pull request #45055 from nicksardo/glbc-v0.9.3-bump · 5097971d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Bump GLBC version to 0.9.3
      
      **What this PR does / why we need it**:
      Bumps version of GLBC shipped with K8s
      https://github.com/kubernetes/ingress/releases/tag/0.9.3
      ```
      Major Changelog:
      
      Bug fix: adding backends to existing backend-services #652
      Bug fix: handling of secret-based SSL Certs #639
      Add second LB healthcheck/proxy traffic source CIDR #574 #479
      Support backside re-encryption (HTTPS) #519
      ```
      The two noted bugs are common occurrences for GKE users
      
      **Release note**:
      ```release-note
      Bump GLBC version to 0.9.3
      ```
      5097971d
    • Kubernetes Submit Queue's avatar
      Merge pull request #41254 from shashidharatd/federation-service-e2e-1 · 600ab29e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45052, 44983, 41254)
      
      [Federation][e2e] Add 2 new testcases to federation service e2e
      
      **What this PR does / why we need it**:
      Add 2 new test cases for federation services
      - Federation service updation should update clustered service
      - Federation service controller should recreate service shard in cluster, if it gets deleted.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #27623, #35827
      Handles one of the tasks discussed in #41253
      
      **Special notes for your reviewer**:
      
      **Release note**:
      `NONE`
      
      cc @kubernetes/sig-federation-bugs, @nikhiljindal @madhusudancs
      600ab29e
    • Kubernetes Submit Queue's avatar
      Merge pull request #44983 from caesarxuchao/easy-remove-client-go-api-scheme · 8efb5c99
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45052, 44983, 41254)
      
      Non-controversial part of #44523
      
      For easier review of #44523, i extracted the non-controversial part out to this PR.
      8efb5c99
    • Kubernetes Submit Queue's avatar
      Merge pull request #45052 from ixdy/update-gazel · 4c7edeb9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45052, 44983, 41254)
      
      Update gazel to v17
      
      **What this PR does / why we need it**: gazel v17 has a bugfix for creating the `vendor/BUILD` file from scratch. there should be no other changes.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      /assign @mikedanese @spxtr
      4c7edeb9
  2. 27 Apr, 2017 33 commits
    • Chao Xu's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #44510 from bowei/gce-metrics · 09747e6b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44124, 44510)
      
      Add metrics to all major gce operations (latency, errors)
      
      ```release-note
      Add metrics to all major gce operations {latency, errors}
      
      The new metrics are:
      
        cloudprovider_gce_api_request_duration_seconds{request, region, zone}
        cloudprovider_gce_api_request_errors{request, region, zone}
       
      `request` is the specific function that is used.
      `region` is the target region (Will be "<n/a>" if not applicable)
      `zone` is the target zone (Will be "<n/a>" if not applicable)
      
      Note: this fixes some issues with the previous implementation of
      metrics for disks:
      - Time duration tracked was of the initial API call, not the entire
        operation.
      - Metrics label tuple would have resulted in many independent
        histograms stored, one for each disk. (Did not aggregate well).
      ```
      09747e6b
    • Kubernetes Submit Queue's avatar
      Merge pull request #44124 from vmware/VSANPolicySupportPVCScaleCreationFix · 684df6e4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44124, 44510)
      
      Optimize the time taken to create Persistent volumes with VSAN storage capabilities at scale and handle VPXD crashes
      
      Currently creating persistent volumes with VSAN storage capabilities at scale is taking very large amount of time. We have tested at the scale of 500-600 PVC's and its more time for all the PVC requests to go from Pending state to Bound state. 
      
      - In our current design we use a single systemVM - "kubernetes-helper-vm" as a means to create a persistent volume with the VSAN policy configured. 
      
      - Since all the operations are on a single system VM, all requests on scale get queued and executed serially on this system VM. Because of this creating a high number of PVC's is taking very large time.
      
      - Since its a single system VM, all parallel PVC requests most of the time tend to take the same SCSI adapter on the system VM and also same unit number on the SCSI adapter. Therefore the error rate is high.
      
      Inorder to overcome these issues and to optimize the time taken to create persistent volumes with VSAN storage capabilities at scale we have slightly modified the design which is described below:
      
      - In this model, we create a VM on the fly for every persistent volume that is being created. Since all the reconfigure operations to create a disk with the VSAN policy configured are on their individual VM's, all of these PVC's request execute in parallel independent one other.
      
      - With this new design, there will no error rate at all.
      
      Also, we have overcome the problem of vpxd crashes and any other intermediate problems by checking type of the errors.
      
      Fixes https://github.com/vmware/kubernetes/issues/122, https://github.com/vmware/kubernetes/issues/124
      
      @kerneltime  @tusharnt @divyenpatel @pdhamdhere
      
      **Release note**:
      
      ```release-note
      None
      ```
      684df6e4
    • Nick Sardo's avatar
      Bump GLBC version to 0.9.3 · 71ca925b
      Nick Sardo authored
      71ca925b
    • Jeff Grafton's avatar
      Update gazel to v17 · ed7c75e3
      Jeff Grafton authored
      ed7c75e3
    • Kubernetes Submit Queue's avatar
      Merge pull request #44966 from a-robinson/insecure · c2595909
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix cockroachdb statefulset test read/write commands
      
      Explicitly specifying `--insecure` is required on insecure clusters,
      which started being enforced in a very recent release. In 2 weeks
      we'll have a stable image version that we can reliably pin the
      relevant statefulset yaml file to in order to avoid stupid failures
      like this. I'm really sorry for the flakes!
      
      **What this PR does / why we need it**:
      
      It fixes the currently broken statefulset test suite - https://storage.googleapis.com/k8s-gubernator/triage/index.html?job=gci-gce-statefulset&test=CockroachDB
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*:
      
      N/A
      
      **Special notes for your reviewer**:
      
      N/A
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      @kow3ns
      c2595909
    • Kubernetes Submit Queue's avatar
      Merge pull request #45044 from juju-solutions/gkk/e2e-snap · 963e0565
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42740, 44980, 45039, 41627, 45044)
      
      Update kubernetes-e2e charm to use snaps
      
      **What this PR does / why we need it**:
      
      This updates the kubernetes-e2e charm to use snaps instead of Juju resources for payload delivery.
      
      The main advantage of this is that it decouples the charm from the e2e payload, allowing us to support multiple versions of Kubernetes with a single release of the charm.
      
      **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**:
      
      **Release note**:
      
      ```release-note
      Update kubernetes-e2e charm to use snaps
      ```
      963e0565
    • Kubernetes Submit Queue's avatar
      Merge pull request #41627 from gyliu513/kubelet-types · 8b9625d2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42740, 44980, 45039, 41627, 45044)
      
      Improved code coverage for /pkg/kubelet/types
      
      **What this PR does / why we need it**:
      The test coverage for /pkg/kubelet/types was increased from 50% to 87.5%
      
      **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**:
      
      **Release note**:
      
      ```release-note
      ```
      8b9625d2
    • Kubernetes Submit Queue's avatar
      Merge pull request #45039 from shyamjvs/report-metrics-grabber-error · a3c4d9d6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42740, 44980, 45039, 41627, 45044)
      
      Log the error (if any) in e2e metrics gathering step
      
      Because why not.
      
      Ref https://github.com/kubernetes/kubernetes/issues/45038
      
      cc @wojtek-t @gmarek
      a3c4d9d6
    • Kubernetes Submit Queue's avatar
      Merge pull request #44980 from csbell/sync-daemonset · a984a7ed
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42740, 44980, 45039, 41627, 45044)
      
      [Federation] Convert Daemonset to use the generic sync controller
      
      To be rebased on master when @perotinus's configmaps PR merges.
      
      Tested integration and e2e.
      a984a7ed
    • Kubernetes Submit Queue's avatar
      Merge pull request #42740 from mtaufen/tarball-cleanup · 8ab63dd9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42740, 44980, 45039, 41627, 45044)
      
      Cleanup some of the tarball producing code for e2e node tests
      
      This is some e2e node cleanup work I found sitting in a local branch while deleting old local git branches. It looks like it's still useful.
      8ab63dd9
    • Bowei Du's avatar
      Add metrics to all major gce operations {latency, errors} · ee847ebf
      Bowei Du authored
      The new metrics is:
      
        cloudprovider_gce_api_request_duration_seconds{request, region, zone}
        cloudprovider_gce_api_request_errors{request, region, zone}
      
      `request` is the specific function that is used.
      `region` is the target region (Will be "<n/a>" if not applicable)
      `zone` is the target zone (Will be "<n/a>" if not applicable)
      
      Note: this fixes some issues with the previous implementation of
      metrics for disks:
      - Time duration tracked was of the initial API call, not the entire
        operation.
      - Metrics label tuple would have resulted in many independent
        histograms stored, one for each disk. (Did not aggregate well).
      ee847ebf
    • Mike Danese's avatar
      Merge pull request #45046 from mikedanese/fix-build · 310c914a
      Mike Danese authored
      update libc to pick up some fixes
      310c914a
    • Kubernetes Submit Queue's avatar
      Merge pull request #45027 from MaciekPytel/ca_test_gcloud_log · 33f51926
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41106, 44346, 44929, 44979, 45027)
      
      Log error before failing in autoscaling e2e
      
      The gcloud alpha command in e2e fails, but no useful information (error message) is logged.
      33f51926
    • Kubernetes Submit Queue's avatar
      Merge pull request #44979 from shyamjvs/fix-metrics-json-filename · 6b38c11d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41106, 44346, 44929, 44979, 45027)
      
      Make metrics filenames for e2e tests indicate the test better
      
      Currently the names of the json files with metrics for e2e tests are named by appending the `SummaryKind` with a timestamp of the test. It took me some time to figure out which file corresponds to which e2e test due to this. Changing it to have the testname instead of the timestamp.
      
      cc @wojtek-t @gmarek
      6b38c11d
    • Kubernetes Submit Queue's avatar
      Merge pull request #44929 from liggitt/proxy-subresource-patch · 6251ff47
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41106, 44346, 44929, 44979, 45027)
      
      Add PATCH to supported list of proxy subresource verbs
      
      Follow up to #41421 for the proxy subresources
      
      ```release-note
      The proxy subresource APIs for nodes, services, and pods now support the HTTP PATCH method.
      ```
      6251ff47
    • Kubernetes Submit Queue's avatar
      Merge pull request #44346 from mikedanese/build-static · 14a557b1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41106, 44346, 44929, 44979, 45027)
      
      bazel: statically link dockerized components
      14a557b1
    • Mike Danese's avatar
      update libc · 7bb880de
      Mike Danese authored
      7bb880de
    • Kubernetes Submit Queue's avatar
      Merge pull request #41106 from spxtr/gen3 · 98398d5d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Don't check in zz_generated.openapi.go.
      
      `zz_generated.openapi.go` is the file that causes the most merge conflicts of all. In #33440, @thockin updated the makefile to support generating these files on demand, but that didn't play well with bazel/gazel.
      
      In this PR, I add a new build macro that will generate this file with a `go_genrule`. I added support for keeping the BUILD file up to date in mikedanese/gazel#34.
      
      **Release note**:
      ```release-note
      NONE
      ```
      98398d5d
    • Matthew Wong's avatar
      Log node name when error attaching volume · c8278a8a
      Matthew Wong authored
      c8278a8a
    • Kubernetes Submit Queue's avatar
      Merge pull request #45031 from crassirostris/fluent-gcp-monitoring-fix · a2eb8888
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Remove too verbose label from fluentd metrics
      
      /cc @fabxc
      a2eb8888
    • Kubernetes Submit Queue's avatar
      Merge pull request #44549 from shashidharatd/federation-e2e · 68850b87
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44591, 44549)
      
      [Federation][e2e] Fix a failing federation e2e testcase in gce-serial
      
      This is to fix the failing test case in federation [gce-serial](https://k8s-testgrid.appspot.com/cluster-federation#gce-serial) tests. The test case has been failing consistently since we registered the clusters in suite-init instead of doing it in every test case.
      Instead of registering and then unregistering, we will be now unregistering and then registering the cluster to federation. this test will be run in serial and will not affect other test cases too.
      
      
      **Release note**:
      ```
      NONE
      ```
      68850b87
    • Kubernetes Submit Queue's avatar
      Merge pull request #44591 from ixdy/bazel-push-build · 549bd4b7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44591, 44549)
      
      Update repo-infra bazel dependency and use new gcs_upload rule
      
      This PR provides similar functionality to push-build.sh entirely within Bazel rules (though it relies on gsutil).
      
      It's an alternative to #44306.
      
      Depends on https://github.com/kubernetes/repo-infra/pull/13.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      549bd4b7
    • Chao Xu's avatar
      bazel · 95890350
      Chao Xu authored
      95890350
    • Chao Xu's avatar
      easy changes · 3fa7b782
      Chao Xu authored
      3fa7b782
    • Shyam Jeedigunta's avatar
      87bfad85
    • Kubernetes Submit Queue's avatar
      Merge pull request #45017 from MaciekPytel/ca_logging · 493e4486
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Update cluster-autoscaler logging config
      
      Previously cluster-autoscaler would duplicate all logs,
      writing to master /var/log and /tmp inside pod.
      493e4486
    • Kubernetes Submit Queue's avatar
      Merge pull request #44804 from humblec/glusterfs-rearrange · 120fd322
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44996, 44804)
      
      Rearrange glusterfs artifacts to own directory.
      120fd322
    • Kubernetes Submit Queue's avatar
      Merge pull request #44996 from liggitt/token-test · dc92a6fc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Update token controller test to test async retry
      
      Fixes #44819
      
      https://github.com/kubernetes/kubernetes/pull/44625 changed the token controller to queue a retry if the live service account's resourceVersion did not match our cache.
      
      This updates the unit test that was testing that condition to test async queue behavior (which this condition now drives)
      dc92a6fc
    • Mik Vyatskov's avatar
      0625697d
    • Christian Bell's avatar
    • Maciej Pytel's avatar
      Log error before failing in autoscaling e2e · adc1d6a4
      Maciej Pytel authored
      adc1d6a4
    • Jordan Liggitt's avatar
      3f4ded12