1. 25 Jan, 2017 21 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #40294 from tsmetana/persistent-volume-test-refactor · 373e7ef0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 39064, 40294)
      
      Refactor persistent volume tests
      
      This is an attempt to make the binder tests a bit more concise. The PVCs are being created by a "templating" function. There is also a handful of PVs in the tests but those vary quite more and I don't think similar approach would save us much code.
      
      Reference:
      https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29006#-KPJuVeDE0O6TvDP9jia
      
      @jsafrane: I hope this is what you have on mind.
      373e7ef0
    • Kubernetes Submit Queue's avatar
      Merge pull request #39064 from xingzhou/update-links · 8ba2c7a9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Updated the document links in examples/guestbook README.
      
      As all the Kubernetes doc has been moved to kubernetes.github.io,
      update all the links in examples/guestbook README to directly
      point at kubernetes.io, especially for the ones with inside page
      anchors.
      8ba2c7a9
    • Kubernetes Submit Queue's avatar
      Merge pull request #40142 from colemickens/colemickens-acr-login-server · d62fca23
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 37055, 40142)
      
      azure: azure container registry: fix login server
      
      **What this PR does / why we need it**:
      
      Fixes the Azure Container Registry integration
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      n/a
      
      **Special notes for your reviewer**:
      
      Before this change, if I created an ACR with name `colemicktest`, then the login server would be `colemicktest-microsoft.azurecr.io`. This code was concating to form `colemicktest.azurecr.io` which does not work.
      
      The fix is to reach into RegistryProperties and read out the login server domain name directly.
      
      Also, this should eliminate that existed when ACR gets to sovereign clouds.
      
      **Release note**:
      
      ```release-note
      azure: fix Azure Container Registry integration
      ```
      d62fca23
    • Kubernetes Submit Queue's avatar
      Merge pull request #37055 from mbohlool/dev · 5b391ae2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add version to OpenAPI spec
      
      OpenAPI is missing a version string. It should follow kubernetes version. It is a bugfix that need to be cherrypicked in 1.5 too.
      5b391ae2
    • Xing Zhou's avatar
      Updated the document links in examples/guestbook README. · 793c58b5
      Xing Zhou authored
      As all the Kubernetes doc has been moved to kubernetes.github.io,
      update all the links in examples/guestbook README to directly
      point at kubernetes.io, especially for the ones with inside page
      anchors.
      793c58b5
    • Kubernetes Submit Queue's avatar
      Merge pull request #40394 from david-mcmahon/fixtoc · 5ab741de
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix TOC.
      
      ```
      cd /path/to/kubernetes/release
      source $(dirname $(readlink -ne $BASH_SOURCE))/lib/common.sh
      common::mdtoc ../kubernetes/CHANGELOG.md
      ```
      
      cc @ixdy
      5ab741de
    • Kubernetes Submit Queue's avatar
      Merge pull request #39515 from xilabao/fix-rsync-err · d5d9a594
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      fix rsync err when make release
      
      fix #39513
      d5d9a594
    • Kubernetes Submit Queue's avatar
      Merge pull request #39523 from xiangfeiz/fixVsphereVolumeExample · f42440cc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40215, 40340, 39523)
      
      Use the same name in volumeMounts and volumes
      
      In some example files of vSphere volumes, volumeMounts and volumes
      have different names. kubectl create will fail with error message
      saying the pod is invalid because volumeMount with the name is not
      found.
      
      
      
      **What this PR does / why we need it**:
      
      **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
      ```
      f42440cc
    • Kubernetes Submit Queue's avatar
      Merge pull request #40340 from smarterclayton/12605 · f9b3e739
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40215, 40340, 39523)
      
      Retry resource quota lookup until count stabilizes
      
      On contended servers the service account controller can slow down,
      leading to the count changing during a run. Wait up to 5s for the count
      to stabilize, assuming that updates come at a consistent rate, and are
      not held indefinitely.
      
      Upstream of openshift/origin#12605 (we create more secrets and flake more often)
      f9b3e739
    • Kubernetes Submit Queue's avatar
      Merge pull request #40215 from shashidharatd/federation-e2e · 243dd9e4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix federation component logging when e2e test case fails
      
      When a federation e2e test case fails, federation component logs (esp. controller-manager) were very useful in debugging the failure cause. Due to recent updates in framework, the logs were not captured. This PR will fix those issues.
      
      cc @kubernetes/sig-federation-misc @nikhiljindal @madhusudancs
      243dd9e4
    • Kubernetes Submit Queue's avatar
      Merge pull request #40315 from madhusudancs/fed-log-uniq-cluster-names · 84e98251
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40335, 40320, 40324, 39103, 40315)
      
      Use the e2e zone name as the cluster name.
      
      This needs a revamp, but for now e2e zone name is used as the
      unique cluster identifier in our e2e tests and we will continue
      to use that pattern.
      
      This is a follow up to PR #38638.
      
      cc @kubernetes/sig-federation-pr-reviews @nikhiljindal
      84e98251
    • Kubernetes Submit Queue's avatar
      Merge pull request #39103 from a-robinson/v1.5 · e6ed1107
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40335, 40320, 40324, 39103, 40315)
      
      Add pod anti-affinity and a disruption budget to cockroachdb example
      
      Pulling in some useful 1.5 features.
      e6ed1107
    • Kubernetes Submit Queue's avatar
      Merge pull request #40324 from chuckbutler/upstream-rebase-forreal · e3ba2571
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40335, 40320, 40324, 39103, 40315)
      
      Splitting master/node services into separate charm layers
      
      **What this PR does / why we need it**:
      
      This branch includes a roll-up series of commits from a fork of the
      Kubernetes repository pre 1.5 release because we didn't make the code freeze.
      This additional effort has been fully tested and has results submit into
      the gubernator to enhance confidence in this code quality vs. the single
      layer, posing as both master/node.
      
      To reference the gubernator results, please see:
      https://k8s-gubernator.appspot.com/builds/canonical-kubernetes-tests/logs/kubernetes-gce-e2e-node/
      
      Apologies in advance for the large commit however, we did not want to
      submit without having successful upstream automated testing results.
      
      This commit includes:
      
       - Support for CNI networking plugins
       - Support for durable storage provided by Ceph
       - Building from upstream templates (read: kubedns - no more template
       drift!)
       - An e2e charm-layer to make running validation tests much simpler/repeatable
       - Changes to support the 1.5.x series of Kubernetes
      
      
      
      **Special notes for your reviewer**:
      
      Additional note: We will be targeting -all- future work against upstream
      so large pull requests of this magnitude will not occur again.
      
      **Release note**:
      
      
      
      
      ```release-note
      - Splits Juju Charm layers into master/worker roles
      - Adds support for 1.5.x series of Kubernetes
      - Introduces a tactic for keeping templates in sync with upstream eliminating template drift
      - Adds CNI support to the Juju Charms
      - Adds durable storage support to the Juju Charms
      - Introduces an e2e Charm layer for repeatable testing efforts and validation of clusters
      
      ```
      e3ba2571
    • Kubernetes Submit Queue's avatar
      Merge pull request #40320 from jeffvance/e2e-vol-hardening · 623b4ef6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40335, 40320, 40324, 39103, 40315)
      
      add some resillency to the new volume-server func
      
      **What this PR does / why we need it**: server-pod `Create` won't fail the test if the server pod already exists.
      
      **Special notes for your reviewer**: Formerly this pr was part of #38214
      623b4ef6
    • Kubernetes Submit Queue's avatar
      Merge pull request #40335 from zmerlynn/b.gcr.io · 2e4939a6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Move b.gcr.io/k8s_authenticated_test to gcr.io/k8s-authenticated-test
      
      **What this PR does / why we need it**:
      
      Per https://cloud.google.com/container-registry/docs/support/deprecation-notices, b.gcr.io access will be deprecated soon.
      
      I've already mirrored the repo to the location specified in this PR.
      2e4939a6
    • David McMahon's avatar
      Fix TOC. · 79f6e27a
      David McMahon authored
      79f6e27a
    • Kubernetes Submit Queue's avatar
      Merge pull request #40384 from zmerlynn/zmerlynn-owners · e2c0bf3f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      pkg/cloudprovider/providers/aws: Add zmerlynn to OWNERS
      e2c0bf3f
    • Kubernetes Submit Queue's avatar
      Merge pull request #40333 from ixdy/bazel-release-tars-version-file · 62627104
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 39260, 40216, 40213, 40325, 40333)
      
      bazel: save git version in kubernetes.tar.gz
      
      **What this PR does / why we need it**: adds a workspace status command for bazel (inspired by #36128) and then uses the saved values to generate the `version` file in `kubernetes.tar.gz`. We need this for `get-kube.sh` to work properly.
      
      **Special notes for your reviewer**: I had to change a few things from #36128 - see comments for explanation.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      62627104
    • Kubernetes Submit Queue's avatar
      Merge pull request #40325 from krousey/upgrades · 2229b1cf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 39260, 40216, 40213, 40325, 40333)
      
      Adding framework to allow multiple upgrade tests
      
      **What this PR does / why we need it**: This adds a framework for multiple tests to run during an upgrade. This also moves the existing services test to that framework.
      2229b1cf
    • Kubernetes Submit Queue's avatar
      Merge pull request #40213 from jszczepkowski/ha-e2e-tests · 7fbb458f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 39260, 40216, 40213, 40325, 40333)
      
      Fixed propagation of kube master certs during master replication.
      
      Fixed propagation of kube-master-certs during master replication.
      7fbb458f
    • Kubernetes Submit Queue's avatar
      Merge pull request #40216 from sttts/sttts-more-cutoffs · df424447
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 39260, 40216, 40213, 40325, 40333)
      
      genericapiserver: more dependency cutoffs
      
      - cut-off pkg/api.Resource and friends - lgtm
      - authn plugins -> k8s.io/apiserver - 
      - webhook authz plugin -> k8s.io/apiserver - lgtm
      - ~~pkg/cert -> k8s.io/apimachinery (will rebase on @deads2k's PR also moving it)~~
      - split pkg/config into kubelet config merger and flags - lgtm
      - split feature gate between generic apiserver and kube - lgtm
      - move pkg/util/flag into k8s.io/apiserver - lgtm
      df424447
  2. 24 Jan, 2017 19 commits