1. 19 Feb, 2017 19 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #41500 from luxas/kubeadm_set_orphans · c2ad28be
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41420, 41500)
      
      Set OrphanDependents=&falseVar so the GC will (or should) remove the dummy Pod
      
      **What this PR does / why we need it**:
      
      ref: https://github.com/kubernetes/kubeadm/issues/149
      
      **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**:
      
      This doesn't remove the Pod yet, only the ReplicaSet, but once the GC is working as expected, it'll remove the Pod with this configuration
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      @errordeveloper @mikedanese @pires @caesarxuchao @krmayankk @kargakis
      c2ad28be
    • Kubernetes Submit Queue's avatar
      Merge pull request #41420 from jbeda/add-public-to-e2e · bd1a2221
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Adds kube-public to the whitelist to not be deleted for e2e tests
      
      We added the `kube-public` namespace but didn't add it to a whitelist of namespaces to not delete as part of e2e cleanup.
      
      ```release-note
      ```
      bd1a2221
    • Kubernetes Submit Queue's avatar
      Merge pull request #39958 from justinsb/dnsprovider_parent · 00b02117
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 39373, 41585, 41617, 41707, 39958)
      
      dnsprovider: Expose parent objects in interfaces
      
      This will allow us to pass e.g. a ResourceRecordChangeset, rather than a
      ResourceRecordChangeset, the parent ResourceRecordSets, and the
      grandparent Zone.
      
      Laying the groundwork for simplifying / optimizing the federation logic.
      
      ```release-note
      NONE
      ```
      00b02117
    • Kubernetes Submit Queue's avatar
      Merge pull request #41707 from shashidharatd/federation-service-e2e-2 · 0dc52d79
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 39373, 41585, 41617, 41707, 39958)
      
      [Federation][e2e] Remove ns creation in federated clusters
      
      **What this PR does / why we need it**:
      In federation e2e, framework creates a namespace for each test case. the same ns is supposed to be created in federated clusters. Due to issues in namespace controller, this was not working earlier. but now it is working.
      so currently the namespace is created twice, once by namespace controller and another when we call `getRegisteredClusters`. depending on the timing of these 2 calls, some [test cases fails ](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-federation/1199#k8sio-federation-secrets-featurefederation-secret-objects-should-not-be-deleted-from-underlying-clusters-when-orphandependents-is-true). So removing the creation of namespace when `getRegisteredClusters` which is unnecessary.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      Fixes flakes in federation e2e.
      
      cc @madhusudancs @nikhiljindal @kubernetes/sig-federation-bugs
      0dc52d79
    • Kubernetes Submit Queue's avatar
      Merge pull request #41617 from timothysc/affinity_annotations_flaggate · 4a75c1b2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 39373, 41585, 41617, 41707, 39958)
      
      Feature-Gate affinity in annotations 
      
      **What this PR does / why we need it**:
      Adds back basic flaggated support for alpha Affinity annotations
      
      **Special notes for your reviewer**:
      Reconcile function is placed in the lowest common denominator, which in this case is schedulercache, because you can't place flag-gated functions in apimachinery. 
      
      **Release note**:
      
      ```
      NONE
      ```
      
      /cc @davidopp
      4a75c1b2
    • Kubernetes Submit Queue's avatar
      Merge pull request #41585 from pwittrock/owners · a962f5d2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 39373, 41585, 41617, 41707, 39958)
      
      Owners file related changes for kubectl and docs contributors
      
      - adding a command to kubectl updates the root .generated_docs file requiring root level approval: move .generated_docs under docs/
      - run hack/update-generated-docs.sh so the docs are up to date
      - add kubectl contributors to test/OWNERS and test/fixtures/pkg/kubectl/OWNERS so they can approve kubectl e2e test changes
      
      
      ```release-note
      NONE
      ```
      a962f5d2
    • Kubernetes Submit Queue's avatar
      Merge pull request #39373 from apprenda/fix_configmap · 7236af61
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 39373, 41585, 41617, 41707, 39958)
      
      Fix ConfigMaps for Windows
      
      **What this PR does / why we need it**: ConfigMaps were broken for Windows as the existing code used linux specific file paths. Updated the code in `kubelet_getters.go` to use `path/filepath` to get the directories. Also reverted back the code in `secret.go` as updating `kubelet_getters.go` to use `path/filepath` also fixes `secrets`
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes https://github.com/kubernetes/kubernetes/issues/39372
      
      ```release-note
      Fix ConfigMap for Windows Containers.
      ```
      
      cc: @pires
      7236af61
    • Anirudh Ramanathan's avatar
      Merge pull request #41716 from Random-Liu/revert-kubemark-npd-change · 3a73d23e
      Anirudh Ramanathan authored
      Revert the npd change in kubemark.
      3a73d23e
    • Random-Liu's avatar
      Revert the npd change in kubemark. · 47fc1d68
      Random-Liu authored
      47fc1d68
    • Kubernetes Submit Queue's avatar
      Merge pull request #41414 from kevin-wangzefeng/tolerationseconds-admission-controller · 070ebfe6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41043, 39058, 41021, 41603, 41414)
      
      add defaultTolerationSeconds admission controller
      
      **What this PR does / why we need it**:
      Splited from #34825, add a new admission-controller that
      1. adds toleration (with tolerationSeconds = 300) for taint `notReady:NoExecute` to every pod that does not already have a toleration for that taint, and
      2. adds toleration (with tolerationSeconds = 300) for taint `unreachable:NoExecute` to every pod that does not already have a toleration for that taint.
      
      **Which issue this PR fixes**: 
      Related issue: #1574
      Related PR: #34825
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      add defaultTolerationSeconds admission controller
      ```
      070ebfe6
    • Kubernetes Submit Queue's avatar
      Merge pull request #41603 from luxas/kubeadm_reorder_kubeconfig · f69570c9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41043, 39058, 41021, 41603, 41414)
      
      kubeadm: Make a separate util package for kubeconfig logic
      
      **What this PR does / why we need it**:
      
      There are a lot of packages that need to consume kubeconfig logic, so it should be in a central place.
      Having it in `kubeadmutil` is suboptimal, because then it get mixed with everything else.
      
      This splits that logic out to a generic place so it then also can be consumed in https://github.com/kubernetes/kubernetes/pull/41417, from where it's broken out.
      
       - Move {admin,kubelet}.conf out as constants
       - Make a separate util package for kubeconfig logic
      
      **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
      NONE
      ```
      f69570c9
    • Kubernetes Submit Queue's avatar
      Merge pull request #41021 from jcbsmpsn/rotate-certificate · eb8e1dd5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41043, 39058, 41021, 41603, 41414)
      
      Rotate the kubelet certificate when about to expire.
      
      Changes the kubelet so it doesn't use the cert/key files directly for
      starting the TLS server. Instead the TLS server reads the cert/key from
      the new CertificateManager component, which is responsible for
      requesting new certificates from the Certificate Signing Request API on
      the API Server.
      eb8e1dd5
    • Kubernetes Submit Queue's avatar
      Merge pull request #39058 from k82cn/add_cscope_git_ignore · 55dd8249
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41043, 39058, 41021, 41603, 41414)
      
      Add cscope related files into .gitignore.
      55dd8249
    • Kubernetes Submit Queue's avatar
      Merge pull request #41043 from soltysh/issue20208 · 4bae7f18
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41043, 39058, 41021, 41603, 41414)
      
      Allow setting replace patchStrategy for structs
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #20208
      
      @liggitt and @ymqytw ptal, you were in the original issue
      4bae7f18
    • Justin Santa Barbara's avatar
      dnsprovider: Expose parent objects in interfaces · fb9af639
      Justin Santa Barbara authored
      This will allow us to pass e.g. a ResourceRecordChangeset, rather than a
      ResourceRecordChangeset, the parent ResourceRecordSets, and the
      grandparent Zone.
      
      Laying the groundwork for simplifying / optimizing the federation logic.
      fb9af639
    • Anirudh Ramanathan's avatar
      Merge pull request #41703 from Random-Liu/fix-kubemark-npd · 8c8dca05
      Anirudh Ramanathan authored
      Fix kubemark hollow-npd.
      8c8dca05
    • shashidharatd's avatar
    • Random-Liu's avatar
      Fix kubemark hollow-npd. · cd194bd9
      Random-Liu authored
      cd194bd9
    • Joe Beda's avatar
  2. 18 Feb, 2017 21 commits