1. 30 May, 2017 3 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #46590 from yastij/disruption-getPodsForPdb · 4e3bd25a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      avoiding unnecessary loop to copy pods listed
      
      **What this PR does / why we need it**: avoids unnecessary loop to copy pods listed
      
      **Which issue this PR fixes** : fixes #46433 
      
      **Release note**:
      
      ```release-note
      ```
      /assign @wojtek-t
      4e3bd25a
    • Kubernetes Submit Queue's avatar
      Merge pull request #46600 from fabriziopandini/kubeadm108 · 82765ba3
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Kubeadm - Make code OS-agnostic
      
      **What this PR does / why we need it**:
      Kubernetes just got Windows Containers alpha support, opening the opportunity for kubeadm to also be used to setup, at least, Windows Server 2016 or newer worker nodes. With that in mind, we should take the effort of writing OS-agnostic code whenever possible, e.g. when dealing with the filesystem.
      
      **Which issue this PR fixes** 
      https://github.com/kubernetes/kubeadm/issues/108
      
      **Special notes for your reviewer**:
      
      **Release note**:
      82765ba3
    • Kubernetes Submit Queue's avatar
      Merge pull request #46594 from xychu/golint · cc432dbc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix golint error in apimachinery/pkg/{fields,lables}
      
      Also add these two packages to linted packages lists
      
      
      
      **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
      ```
      cc432dbc
  2. 29 May, 2017 29 commits
  3. 28 May, 2017 8 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #46457 from nicksardo/gce-api-refactor · 1444d252
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46407, 46457)
      
      GCE - Refactor API for firewall and backend service creation
      
      **What this PR does / why we need it**:
       - Currently, firewall creation function actually instantiates the firewall object; this is inconsistent with the rest of GCE api calls. The API normally gets passed in an existing object.
       - Necessary information for firewall creation, (`computeHostTags`,`nodeTags`,`networkURL`,`subnetworkURL`,`region`) were private to within the package. These now have public getters.
       - Consumers might need to know whether the cluster is running on a cross-project network. A new `OnXPN` func will make that information available.
       - Backend services for regions have been added. Global ones have been renamed to specify global. 
       - NamedPort management of instance groups has been changed from an `AddPortsToInstanceGroup` func (and missing complementary `Remove...`) to a single, simple `SetNamedPortsOfInstanceGroup`
       - Addressed nitpick review comments of #45524 
      
      ILB needs the regional backend services and firewall refactor.  The ingress controller needs the new `OnXPN` func to decide whether to create a firewall.
      
      **Release note**:
      ```release-note
      NONE
      ```
      1444d252
    • Kubernetes Submit Queue's avatar
      Merge pull request #46407 from liggitt/namespace-delete-collection · 66a1d07e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 46407, 46457)
      
      Remove deletecollection support from namespace object
      
      Namespace storage accidentally picked up deletecollection support from embedding the generic store. If invoked, it skips the custom namespace `Delete()` storage method that enforces finalization, and skips the namespace lifecycle admission plugin that protects immortal namespaces from deletion.
      
      Given the data integrity implications of skipping namespace finalization, I'd backport this as far as we're releasing patch releases.
      
      ```release-note
      The namespace API object no longer supports the deletecollection operation.
      ```
      66a1d07e
    • Kubernetes Submit Queue's avatar
      Merge pull request #39164 from danwinship/networkpolicy-v1 · 382a1700
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Move NetworkPolicy to v1
      
      Move NetworkPolicy to v1
      
      @kubernetes/sig-network-misc 
      
      **Release note**:
      ```release-note
      NetworkPolicy has been moved from `extensions/v1beta1` to the new
      `networking.k8s.io/v1` API group. The structure remains unchanged from
      the beta1 API.
      
      The `net.beta.kubernetes.io/network-policy` annotation on Namespaces
      to opt in to isolation has been removed. Instead, isolation is now
      determined at a per-pod level, with pods being isolated if there is
      any NetworkPolicy whose spec.podSelector targets them. Pods that are
      targeted by NetworkPolicies accept traffic that is accepted by any of
      the NetworkPolicies (and nothing else), and pods that are not targeted
      by any NetworkPolicy accept all traffic by default.
      
      Action Required:
      
      When upgrading to Kubernetes 1.7 (and a network plugin that supports
      the new NetworkPolicy v1 semantics), to ensure full behavioral
      compatibility with v1beta1:
      
          1. In Namespaces that previously had the "DefaultDeny" annotation,
             you can create equivalent v1 semantics by creating a
             NetworkPolicy that matches all pods but does not allow any
             traffic:
      
                 kind: NetworkPolicy
                 apiVersion: networking.k8s.io/v1
                 metadata:
                   name: default-deny
                 spec:
                   podSelector:
      
             This will ensure that pods that aren't match by any other
             NetworkPolicy will continue to be fully-isolated, as they were
             before.
      
          2. In Namespaces that previously did not have the "DefaultDeny"
             annotation, you should delete any existing NetworkPolicy
             objects. These would have had no effect before, but with v1
             semantics they might cause some traffic to be blocked that you
             didn't intend to be blocked.
      ```
      382a1700
    • Dan Winship's avatar
      Regenerate files · 0923f860
      Dan Winship authored
      0923f860
    • Dan Winship's avatar
      0683e55f
    • Kubernetes Submit Queue's avatar
      Merge pull request #46538 from shyamjvs/kubemark-chmod · 1fd6e97a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      chmod +x kubemark scripts
      
      Just noticed. We don't need to do chmod each time.
      
      /cc @wojtek-t @gmarek
      1fd6e97a
    • Kubernetes Submit Queue's avatar
      Merge pull request #44947 from xiangpengzhao/fix-issue-template · 4e143b81
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Update troubleshooting link in ISSUE_TEMPLATE.md
      
      **What this PR does / why we need it**:
      Since our troubleshooting page has been moved, we should update the issue template.
      
      **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**:
      ref: #44434
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      4e143b81
    • Kubernetes Submit Queue's avatar
      Merge pull request #46413 from zjj2wry/volumn · bcec7c76
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      fix some typo in docs[example/volumes]
      
      **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
      NONE
      ```
      bcec7c76