1. 05 Jul, 2017 22 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #45467 from ddysher/kubectl-describe-controllerRef · e16b59aa
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix kubectl describe for pods with controllerRef
      
      **What this PR does / why we need it**:
      
      kubectl describe doesn't take controllerRef into consideration, resulting confusing result. e.g. if we have two replicaset with the same selector, one with 1 replica and the other 2 replicase, then both replicaset will show 3 running pods.
      
      ```sh
      $ kubectl describe rs replicaset-2
      Name:           replicaset-2      
      Namespace:      default
      Selector:       environment=prod
      Labels:         environment=prod
      Annotations:    <none>
      Replicas:       2 current / 2 desired
      Pods Status:    3 Running / 0 Waiting / 0 Succeeded / 0 Failed
      Pod Template:
        Labels:       environment=prod
        Containers:
         created-from-replicaset:
          Image:              nginx
          Port:               
          Environment:        <none>
          Mounts:             <none>
        Volumes:              <none>
      Events:
        FirstSeen     LastSeen        Count   From                    SubObjectPath   Type            Reason                  Message
        ---------     --------        -----   ----                    -------------   --------        ------                  -------
        5m            5m              1       replicaset-controller                   Normal          SuccessfulCreate        Created pod: replicaset-2-39szb
        5m            5m              1       replicaset-controller                   Normal          SuccessfulCreate        Created pod: replicaset-2-470jr
      ```
      
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      xref #24946
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Fix kubectl describe for pods with controllerRef 
      ```
      e16b59aa
    • Anthony Yeh's avatar
      Update CHANGELOG.md for v1.6.7. · 8244d85a
      Anthony Yeh authored
      8244d85a
    • Kubernetes Submit Queue's avatar
      Merge pull request #48369 from msau42/local-storage-known-issue · fc7d887c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add local volume bug to known issues
      
      **What this PR does / why we need it**:
      Update known issues with local volume issue #48331
      fc7d887c
    • Kubernetes Submit Queue's avatar
      Merge pull request #48144 from juju-solutions/bug/worker-termination · 40a21312
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48399, 48450, 48144)
      
      Skip errors when unregistering juju kubernetes-workers
      
      **What this PR does / why we need it**: When removing a kubernetes node from using Juju and for some reason kubernetes master fails we should not error the node, instead we should proceed with the removal of the node and the master will recognise that node as unavailable because it will fail heartbeats.
      
      **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/juju-solutions/bundle-canonical-kubernetes/issues/300
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```
      Clean decommission of Juju kubernetes worker units 
      ```
      40a21312
    • Kubernetes Submit Queue's avatar
      Merge pull request #48450 from wwwtyro/rye/lxc-disable-conntrack-max · 7b13208d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48399, 48450, 48144)
      
      configure kube-proxy to run with unset conntrack param when in lxc
      
      **What this PR does / why we need it**: Configures the Juju Charm code to run kube-proxy with `conntrack-max-per-core` set to `0` when in an lxc as a workaround for issues when mounting `/sys/module/nf_conntrack/parameters/hashsize`
      
      **Release note**:
      
      ```release-note
      Configures the Juju Charm code to run kube-proxy with conntrack-max-per-core set to 0 when in an lxc as a workaround for issues when mounting /sys/module/nf_conntrack/parameters/hashsize
      ```
      7b13208d
    • Kubernetes Submit Queue's avatar
      Merge pull request #48399 from k82cn/ordered_pkgs · e773c88b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48399, 48450, 48144)
      
      Group and order imported packages.
      
      **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
      
      **Release note**:
      
      ```release-note-none
      ```
      e773c88b
    • Kubernetes Submit Queue's avatar
      Merge pull request #48445 from deads2k/server-28-panichandler · fdee1d54
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47162, 48444, 48445)
      
      make the panic handler first
      
      Move the panic handler to the beginning of the chain so that panics will get information in the log beyond a stack.
      fdee1d54
    • Kubernetes Submit Queue's avatar
      Merge pull request #48444 from p0lyn0mial/add_fisher_resource_to_wardle_group · cfde9e58
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47162, 48444, 48445)
      
      Introducing a cluster-scoped resource in the wardle.k8s.io group.
      
      **What this PR does / why we need it**:
      This PR adds a cluster-scoped resource to the wardle.k8s.io group.
      The cluster scoped resource has a field that indicates Flunder.Names that are disallowed.
      The resource is going to be used by an admission plugin.
      The admission plugin will list the cluster-scope resources and check against banned names.
      
      **Special notes for your reviewer**:
      Issue: #47868
      
      **Release note**:
      
      ```
      NONE
      ```
      cfde9e58
    • Kubernetes Submit Queue's avatar
      Merge pull request #47162 from FengyunPan/display-none · e5419a56
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47162, 48444, 48445)
      
      Fix output extra comma
      
      /# kubectl get service
      NAME                     CLUSTER-IP       EXTERNAL-IP               PORT(S)          AGE
      nginx-service-test       10.200.6.109     _**,80.11.12.10**_              8000:31637/TCP   6s
      **(output a extra comma)**
      except: 
      nginx-service-test       10.200.6.109     _**80.11.12.10**_              8000:31637/TCP   6s
      
      /# cat lb.yaml 
      apiVersion: v1 
      kind: Service 
      metadata: 
        name: nginx-service-lb3
      spec: 
        ports: 
          - port: 8000
            targetPort: 80 
            protocol: TCP 
        type: LoadBalancer
        selector: 
          name: nginx
        externalIPs: 
          - 80.11.12.10
          - 1.2.3.6
      /# kubectl create -f lb.yaml
      e5419a56
    • Konstantinos Tsakalozos's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #48353 from deads2k/tpr-17-delete-01 · c10cc3de
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48480, 48353)
      
      remove tpr api access
      
      xref https://github.com/kubernetes/kubernetes/issues/48152
      
      TPR tentacles go pretty deep. This gets us started by removing API access and we'll move down from there.
      
      @kubernetes/sig-api-machinery-misc 
      @ironcladlou this should free up the GC implementation since TPRs will no longer be present and failing.
      
      ```release-note
      Removing TPR api access per https://github.com/kubernetes/kubernetes/issues/48152
      ```
      c10cc3de
    • Kubernetes Submit Queue's avatar
      Merge pull request #48480 from liggitt/namespace-reconcile · b12314e2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48480, 48353)
      
      Ensure namespace exists as part of RBAC reconciliation
      
      reconciliation can race with the controller that creates the namespaces containing the bootstrap roles. if it loses, it gets a NotFound error trying to create the namespaced role/rolebinding.
      
      Fixes https://github.com/kubernetes/kubeadm/issues/335
      
      ```release-note
      RBAC role and role-binding reconciliation now ensures namespaces exist when reconciling on startup.
      ```
      b12314e2
    • Kubernetes Submit Queue's avatar
      Merge pull request #47217 from CaoShuFeng/trival_fix · bce32b66
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      [trivial]fix function name in comment
      
      **Release note**:
      
      ```
      NONE
      ```
      bce32b66
    • Kubernetes Submit Queue's avatar
      Merge pull request #48382 from zhangxiaoyu-zidif/fix-format-changelog-1.7 · 1ebd834c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix format of CHANGELOG
      
      **What this PR does / why we need it**:
      Fix format of CHANGELOG
      
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      1ebd834c
    • Kubernetes Submit Queue's avatar
      Merge pull request #48341 from duan-yue/unused_alias · 8067e7af
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48473, 48341)
      
      remove redundant alias
      
      **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 #
      remove redundant alias
      
      **Special notes for your reviewer**:
      
      **Release note**:
      ```release-note
      NONE
      ```
      8067e7af
    • Kubernetes Submit Queue's avatar
      Merge pull request #48473 from zhangxiaoyu-zidif/refactor-preemption · 62d3e8c2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48473, 48341)
      
      Refactor podListEqual()
      
      **What this PR does / why we need it**:
      To solve the problem:
       this is not correct if there are duplicate pods in the list.
       for example: podListEqual([a, a, b], [a, b, b]) will return true
      
      **Special notes for your reviewer**:
       the original method is O(N^2), while current method is 3* O(N).
      I think it is much better.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      62d3e8c2
    • Kubernetes Submit Queue's avatar
      Merge pull request #47384 from shiywang/api403 · c7466801
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48383, 47384)
      
      Fix 401/403 apiserver errors do not return 'Status' objects
      
      fixes https://github.com/kubernetes/kubernetes/issues/45970
      c7466801
    • Kubernetes Submit Queue's avatar
      Merge pull request #48383 from gyliu513/refactor-daemon · 54e77557
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Factored out simulate from nodeShouldRunDaemonPod.
      
      Addressed comments from https://github.com/kubernetes/kubernetes/pull/48189#issuecomment-312223162
      
      
      
      **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
      ```
      
      /sig apps
      54e77557
    • zhangxiaoyu-zidif's avatar
      fix-review · e6c95e7a
      zhangxiaoyu-zidif authored
      e6c95e7a
    • Kubernetes Submit Queue's avatar
      Merge pull request #47504 from xiangpengzhao/fix-ep-notready · d777cd4c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Pods which exit and won't restart should not be in the Endpoints.NotReadyAddresses
      
      **What this PR does / why we need it**:
      Such pods should not be in the Endpoints.NotReadyAddresses:
      * Failed pods with restart policy=Never
      * Succeeded pods with restart policy=Never
      * Succeeded pods with restart policy=OnFailure
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #46776
      
      **Special notes for your reviewer**:
      /cc @wojtek-t 
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      d777cd4c
    • xiangpengzhao's avatar
    • Guangya Liu's avatar
  2. 04 Jul, 2017 18 commits