1. 06 Feb, 2017 26 commits
  2. 05 Feb, 2017 4 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #40516 from shashidharatd/kubefed-1 · 419d38a9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      [Federation][kubefed] Add option to expose federation apiserver on nodeport service
      
      **What this PR does / why we need it**:
      This PR adds an option to kubefed to expose federation api server over nodeport. This can be useful to deploy federation in non-cloud environments. This PR is target to address #39271
      
      **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**:
      
      ```
      [Federation] kubefed init learned a new flag, `--api-server-service-type`, that allows service type to be specified for the federation API server.
      [Federation] kubefed init also learned a new flag, `--api-server-advertise-address`, that allows specifying advertise address for federation API server in case the service type is NodePort.
      ```
      
      @kubernetes/sig-federation-misc @madhusudancs
      419d38a9
    • Klaus Ma's avatar
      Using API_HOST_IP to do apiserver health check. · 00960b4d
      Klaus Ma authored
      00960b4d
    • Dr. Stefan Schimanski's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #40031 from ethernetdan/test_owner_sig · b9bb440b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add SIG to test owners
      
      **What this PR does / why we need it**:
      This PR adds a `sig` column to the test owners file generation script.
      
      A problem experienced with the current owners file is that since members are auto-assigned there are times where tests are assigned to non-active users who don't follow up to notifications to fix flakes. By assigning a SIG to each test we can hold a group we know is active responsible for taking care of flakes it's less likely that flakes will fall through the cracks.
      
      **Special notes for your reviewer**:
      * A companion PR will go into *kubernetes/contrib* adding support for mungers parsing this new column.
         * Another PR in contrib will add labeling GitHub flake issues with the appropriate SIG
      * Currently SIGs are not labeled, this will be added in another PR where SIG determinations can be discussed
      
      @saad-ali @pwittrock
      b9bb440b
  3. 04 Feb, 2017 10 commits
    • Phillip Wittrock's avatar
      Switch kubectl version and api-versions to create a discovery client directly. · 9abd2756
      Phillip Wittrock authored
      The clientset will throw an error for aggregated apiservers because the
      clientset looks for specific versions of apis that are compiled into
      the client.  These will be missing from aggregated apiservers.
      The discoveryclient is fully dynamic and does not rely on compiled
      in apiversions.
      9abd2756
    • Kubernetes Submit Queue's avatar
      Merge pull request #40942 from ymqytw/extract_util_from_SMPatch · 2541c166
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40289, 40877, 40879, 39972, 40942)
      
      Extract util used by jsonmergepatch and SMPatch
      
      followup  https://github.com/kubernetes/kubernetes/pull/40666#discussion_r99198931
      
      Extract some util out of the `strategicMergePatch` to make `jsonMergePatch` doesn't depend on `strategicMergePatch`.
      
      ```release-note
      None
      ```
      
      cc: @liggitt
      2541c166
    • Kubernetes Submit Queue's avatar
      Merge pull request #39972 from derekwaynecarr/pod-cgroups-default · a777a8e3
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40289, 40877, 40879, 39972, 40942)
      
      Rename experimental-cgroups-per-pod flag
      
      **What this PR does / why we need it**:
      1. Rename `experimental-cgroups-per-qos` to `cgroups-per-qos`
      1. Update hack/local-up-cluster to match `CGROUP_DRIVER` with docker runtime if used.
      
      **Special notes for your reviewer**:
      We plan to roll this feature out in the upcoming release.  Previous node e2e runs were running with this feature on by default.  We will default this feature on for all e2es next week.
      
      **Release note**:
      ```release-note
      Rename --experiemental-cgroups-per-qos to --cgroups-per-qos
      ```
      a777a8e3
    • Kubernetes Submit Queue's avatar
      Merge pull request #40879 from copejon/pv-e2e-unique-nfs-vol · b1e669ca
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40289, 40877, 40879, 39972, 40942)
      
      PV E2E: provide each spec with a fresh nfs host
      
      **What this PR does / why we need it**:
      PersistentVolume e2e currently reuses an NFS host pod created at the start of the suite and accessed by each test.  This is far less favorable than using a fresh volume per test.  Additionally, this guards against the volume host pod or it's kubelet being disrupted, which has led to flakes.
      
      ```release-note-none
      ```
      b1e669ca
    • Kubernetes Submit Queue's avatar
      Merge pull request #40877 from yujuhong/rm_mirror_annotation · 6adf3e52
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40289, 40877, 40879, 39972, 40942)
      
      Remove the temporary fix for pre-1.0 mirror pods
      
      The fix was introduced to fix #15960 for pre-1.0 pods. It should be safe to remove
      this fix now.
      6adf3e52
    • Kubernetes Submit Queue's avatar
      Merge pull request #40289 from xilabao/fix-save-config-in-create-subcommand · a2931c62
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      fix --save-config in create subcommand
      
      --save-config option doesn't work.
      ```
      #kubectl create rolebinding a --role=b --user=c --save-config  
      rolebinding "a" created
      ```
      old output:
      ```
      #kubectl get rolebinding a -o yaml
      apiVersion: rbac.authorization.k8s.io/v1beta1
      kind: RoleBinding
      metadata:
        creationTimestamp: 2017-01-23T10:09:48Z
        name: a
        namespace: default
        resourceVersion: "281"
        selfLink: /apis/rbac.authorization.k8s.io/v1beta1/namespaces/default/rolebindings/a
        uid: 12abccd6-e154-11e6-819c-525400f84377
      roleRef:
        apiGroup: rbac.authorization.k8s.io
        kind: Role
        name: b
      subjects:
      - apiVersion: rbac/v1alpha1
        kind: User
        name: c
      ```
      
      expected output:
      ```
      #kubectl get rolebinding a -o yaml
      apiVersion: rbac.authorization.k8s.io/v1beta1
      kind: RoleBinding
      metadata:
        annotations:
          kubectl.kubernetes.io/last-applied-configuration: |
            {"kind":"RoleBinding","apiVersion":"rbac.authorization.k8s.io/v1beta1","metadata":{"name":"c","creationTimestamp":null},"subjects":[{"kind":"User","apiVersion":"rbac/v1alpha1","name":"c"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"Role","name":"b"}}
        creationTimestamp: 2017-01-23T10:09:48Z
        name: a
        namespace: default
        resourceVersion: "281"
        selfLink: /apis/rbac.authorization.k8s.io/v1beta1/namespaces/default/rolebindings/a
        uid: 12abccd6-e154-11e6-819c-525400f84377
      roleRef:
        apiGroup: rbac.authorization.k8s.io
        kind: Role
        name: b
      subjects:
      - apiVersion: rbac/v1alpha1
        kind: User
        name: c
      ```
      a2931c62
    • Kubernetes Submit Queue's avatar
      Merge pull request #40911 from nikhiljindal/finalizer1 · 320f7ce6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40906, 40924, 40938, 40902, 40911)
      
      federation: Updating deletion helper to add both finalizers in a single update
      
      Fixes https://github.com/kubernetes/kubernetes/issues/40837
      
      cc @mwielgus @csbell
      320f7ce6
    • Kubernetes Submit Queue's avatar
      Merge pull request #40902 from MHBauer/print-apiserver-log-location · a6e64246
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40906, 40924, 40938, 40902, 40911)
      
      print apiserver log location on apiserver error
      
      **What this PR does / why we need it**:
      Improve user experience. Attempt to direct user to logs of failing component.
      
      **Special notes for your reviewer**:
      In addition to failure, point to logs so that a user can attempt to self remedy and have more information available to debug immediately. A user may not know that the failing component has logs.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      a6e64246
    • Kubernetes Submit Queue's avatar
      Merge pull request #40938 from mikedanese/rotation-permission · 839014ac
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40906, 40924, 40938, 40902, 40911)
      
      allow the kubelet to request certificates
      839014ac
    • Kubernetes Submit Queue's avatar
      Merge pull request #40924 from copejon/pv-e2e-add-flaky-tag · 4810dded
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40906, 40924, 40938, 40902, 40911)
      
      Add [Flaky] tag to persistent volumes tests
      
      **What this PR does / why we need it**:
      Persistent Volume tests continue to flake in CI.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      ```release-note
      NONE
      ```
      4810dded