1. 12 Jul, 2017 8 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #47460 from mengqiy/fix_env · cd3f8c39
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48402, 47203, 47460, 48335, 48322)
      
      fix kubectl run --env flag
      
      fixes: kubernetes/kubectl#19
      
      cc: @ddcprg
      
      ```release-note
      `kubectl run --env` no longer supports CSV parsing. To provide multiple env vars, use the `--env` flag multiple times instead of having env vars separated by commas. E.g. `--env ONE=1 --env TWO=2` instead of `--env ONE=1,TWO=2`.
      ```
      cd3f8c39
    • Kubernetes Submit Queue's avatar
      Merge pull request #47203 from spiffxp/selfclient-ipv6-loopback · 3217495f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48402, 47203, 47460, 48335, 48322)
      
      TestLoopbackHostPort should accept IPv6 loopback host
      
      Attempting to get unit tests to pass on darwin per [our unit testing policy](https://github.com/kubernetes/community/blob/master/contributors/devel/testing.md#unit-tests)
      
      part of #48509
      
      /cc @kubernetes/sig-api-machinery-bugs
      3217495f
    • Kubernetes Submit Queue's avatar
      Merge pull request #48402 from ianchakeres/local-storage-teardown-fix · 03360d7b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Local storage teardown fix
      
      **What this PR does / why we need it**: Local storage uses bindmounts and the method IsLikelyNotMountPoint does not detect these as mountpoints. Therefore, local PVs are not properly unmounted when they are deleted.
      
      **Which issue this PR fixes**: fixes #48331
      
      **Special notes for your reviewer**:
      
      You can use these e2e tests to reproduce the issue and validate the fix works appropriately https://github.com/kubernetes/kubernetes/pull/47999
      
      The existing method IsLikelyNotMountPoint purposely does not check mountpoints reliability (https://github.com/kubernetes/kubernetes/blob/4c5b22d4c6b630ff1d76b1d15d74c6597c0aa037/pkg/util/mount/mount_linux.go#L161), since the number of mountpoints can be large. https://github.com/kubernetes/kubernetes/blob/4c5b22d4c6b630ff1d76b1d15d74c6597c0aa037/pkg/util/mount/mount.go#L46
      
      This implementation changes the behavior for local storage to detect mountpoints reliably, and avoids changing the behavior for any other callers to a UnmountPath.
      
      **Release note**:
      
      ```
      Fixes bind-mount teardown failure with non-mount point Local volumes (issue https://github.com/kubernetes/kubernetes/issues/48331).
      ```
      03360d7b
    • Kubernetes Submit Queue's avatar
      Merge pull request #47829 from CaoShuFeng/Warning-Warningf · 3e89fe24
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829)
      
      Use glog.*f when a format string is passed
      
      ref:
      https://godoc.org/github.com/golang/glog
      
      I use the following commands to search all the invalid usage:
      $ grep "glog.Warning(" * -r | grep %
      $ grep "glog.Info(" * -r | grep %
      $ grep "glog.Error(" * -r | grep %
      $ grep ").Info(" * -r | grep % | grep glog.V(
      
      **Release note**:
      
      ```
      NONE
      ```
      3e89fe24
    • Kubernetes Submit Queue's avatar
      Merge pull request #46017 from xilabao/fix-print-of-generic-resources · a9aabd76
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829)
      
      fix self link error of generic resources in describe command
      
      **What this PR does / why we need it**:
      fix Self Link error
      ```
      ./cluster/kubectl.sh describe clusterrole system:controller:ttl-controller
      Name:		system:controller:ttl-controller
      Namespace:	
      Labels:		kubernetes.io/bootstrapping=rbac-defaults
      Annotations:	rbac.authorization.kubernetes.io/autoupdate=true
      API Version:	rbac.authorization.k8s.io/v1alpha1
      Kind:		ClusterRole
      Metadata:
        Creation Timestamp:	2017-05-18T06:42:02Z
        Resource Version:	80
        Self Link:		/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/system%!A(MISSING)controller%!A(MISSING)ttl-controller
        UID:			19a705a4-3b95-11e7-9d55-7427ea6f0fe3
      Rules:
        API Groups:
          
        Resources:
          nodes
        Verbs:
          list
          patch
          update
          watch
        API Groups:
          
        Resources:
          events
        Verbs:
          create
          patch
          update
      Events:	<none>
      ```
      
      **Which issue this PR fixes**: fixes #48743
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      a9aabd76
    • Kubernetes Submit Queue's avatar
      Merge pull request #47130 from shashidharatd/fed-cluster-scripts-cleanup · 6c1552c5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829)
      
      federation: Cleanup cluster scripts of older federation bring up method
      
      **What this PR does / why we need it**:
      Remove older method of bringing up federation via scripts. Currently `kubefed` is the only supported mechanism and is well established and stable.
      
      **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
      NONE
      ```
      6c1552c5
    • Kubernetes Submit Queue's avatar
      Merge pull request #44810 from FengyunPan/fix-Errorf · 8aaffb40
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829)
      
      Return clusterErr rather than err
      
      The updateClusterIngressUIDToMasters() should return clusterErr, not err.
      If the 'err' of 'masterCluster, masterUID, err := ic.getMasterCluster()' is nil and the 'clusterErr' of 'clusterObj, clusterErr := api.Scheme.DeepCopy(cluster)' is not nil, updateClusterIngressUIDToMasters() will return ("", nil).
      
      And do not log fallbackUID when fallbackUID is nil.
      8aaffb40
    • Kubernetes Submit Queue's avatar
      Merge pull request #44412 from StackPointCloud/recheck-pvc-phase · 3f1776e0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829)
      
      recheck pod volumes before marking pod as processed
      
      This PR allows a pod's volumes to be re-checked until all are added correctly.  There's a limited amount of time when a persistent volume claim is still in the Pending phase, and if a pod is created in that time, the volume will not be added.  The issue is not uncommon with helm charts that create all objects in close succession, particularly when using aws-ebs volumes.
      
      fixes #28962
      3f1776e0
  2. 11 Jul, 2017 4 commits
  3. 10 Jul, 2017 5 commits
  4. 08 Jul, 2017 23 commits