1. 06 Oct, 2017 16 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #53519 from m1093782566/more-fakes · 4f00d3a6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      implement fakeIPVS update virtual server
      
      **What this PR does / why we need it**:
      
      * Implement UpdateVirtualServer() for FakeIPVS because ipvs/proxier needs it.
      
      * Add UTs - Since there are some real logics in fakeIPVS interface, it's important to add some UTs which can help avoiding some mistakes.
      
      **Which issue this PR fixes**: fixes #53518
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      4f00d3a6
    • Kubernetes Submit Queue's avatar
      Merge pull request #53480 from k82cn/k8s_53425 · fe5c628e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Refresh scheduler equivalence cache when node taints changed.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53425 
      
      **Release note**:
      ```release-note
      None
      ```
      fe5c628e
    • Kubernetes Submit Queue's avatar
      Merge pull request #53184 from k82cn/k8s_42001_6 · aeb4989b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53278, 53184). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Added integration test for TaintNodeByCondition.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: part of #42001 
      
      **Release note**:
      
      ```release-note
      Added integration test for TaintNodeByCondition.
      ```
      aeb4989b
    • Kubernetes Submit Queue's avatar
      Merge pull request #53278 from janetkuo/ds-apps-v1-master · fc81ec01
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53278, 53184). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Add API version apps/v1, and bump DaemonSet to apps/v1
      
      **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)*: kubernetes/features#484
      
      **Special notes for your reviewer**: This PR targets `master`, as a backup if #53223 (targeting features branch) falls through 
      
      @kubernetes/sig-apps-api-reviews 
      
      **Release note**:
      
      ```release-note
      Add API version apps/v1, and bump DaemonSet to apps/v1
      ```
      fc81ec01
    • m1093782566's avatar
      implement fakeIPVS update virtual server · 8f6f3820
      m1093782566 authored
      8f6f3820
    • Kubernetes Submit Queue's avatar
      Merge pull request #53235 from cblecker/clean-fix-two · 6a2ec70a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Move make clean to a static list
      
      **What this PR does / why we need it**:
      #51911 changed the functionality of `make clean` to use `git clean` to remove ignored files. This had unintended consequences, wiping things out like etcd. This changes it back to a static list, managed via a bash script. It's not optimal, but the static list of patterns is more up to date then it was keeping it in the make file.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #52271
      
      **Special notes for your reviewer**:
      
      **Release note**:
      ```release-note
      NONE
      ```
      6a2ec70a
    • Klaus Ma's avatar
      b1e3e413
    • Kubernetes Submit Queue's avatar
      Merge pull request #53028 from jiayingz/flaky-test · 16e42282
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53044, 52956, 53512, 53028). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Fixes the flaky TestDevicePluginReRegistration.
      
      In the current test, there is a race that the new device plugin endpoint
      may not be added to the device plugin manager endpoints at the time when
      we call manager.Devices(). Added the checking and waiting for endpoint
      updates before calling manager.Devices() in the test.
      
      Tested:
      go test -race -count 500 k8s.io/kubernetes/pkg/kubelet/deviceplugin -run
      TestDevicePluginReRegistration -timeout 5h
      
      
      
      **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 #
      https://github.com/kubernetes/kubernetes/issues/52560
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      ```
      16e42282
    • Kubernetes Submit Queue's avatar
      Merge pull request #53512 from jbeda/fix-create-token · 58e1daca
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53044, 52956, 53512, 53028). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Add group by default to kubeadm token create
      
      Changes the default when creating tokens to include the group that is used during `kubeadm init`.  The most likely use of this function is to create/recreate tokens to use with `kubeadm join` so let's make that a default.
      
      fixes https://github.com/kubernetes/kubeadm/issues/483
      
      
      ```release-note
      Change `kubeadm create token` to default to the group that almost everyone will want to use.  The group is system:bootstrappers:kubeadm:default-node-token and is the group that kubeadm sets up, via an RBAC binding, for auto-approval (system:certificates.k8s.io:certificatesigningrequests:nodeclient).
      ```
      
      This is a cherry pick candidate for 1.8.1.
      58e1daca
    • Kubernetes Submit Queue's avatar
      Merge pull request #52956 from m1093782566/ipvs-params · d2276079
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53044, 52956, 53512, 53028). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Add ipvs sync period parameters - align to iptables proxier
      
      **What this PR does / why we need it**:
      
      Add ipvs sync period parameters - align to iptables proxier
      
      **Which issue this PR fixes**: 
      
      fixes #52957
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      d2276079
    • Kubernetes Submit Queue's avatar
      Merge pull request #53044 from Mashimiao/kube-proxy-dep-fix · db614dea
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53044, 52956, 53512, 53028). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Fix wrong deprecated option info
      Signed-off-by: 's avatarMa Shimiao <mashimiao.fnst@cn.fujitsu.com>
      
      **What this PR does / why we need it**:
      `--cleanup-iptables` is replaced by `--cleanup` not `--cleanup-proxyrules`
      
      **Release note**:
      ```
      None
      ```
      db614dea
    • Kubernetes Submit Queue's avatar
      Merge pull request #53130 from m1093782566/test-fake · 2eadc737
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53418, 53366, 53115, 53402, 53130). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Implement delete real server for fakeIPVS and add UTs
      
      **What this PR does / why we need it**:
      
      * Implement DeleteRealServer() for FakeIPVS because ipvs/proxier needs it.
      * Add UTs - Since there are some real logics in fakeIPVS interface, it's important to add some UTs which can help avoiding some mistakes. Sadly, there is already a bug :(
      
      **Which issue this PR fixes**: 
      
      fixes #53137
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      2eadc737
    • Kubernetes Submit Queue's avatar
      Merge pull request #53402 from dougm/import-known-versions-test · feb92e1b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53418, 53366, 53115, 53402, 53130). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Ignore unexported fields in import_known_versions_test
      
      Tests currently fail with:
      
        "import_known_versions_test.go:122: Unexpected type uint in ..."
      
      **What this PR does / why we need it**:
      
      Running `make test` against the latest (f11a551f) fails for me with:
      
      ```
      import_known_versions_test.go:122: Unexpected type uint in schema.GroupVersionKind{Group:"apps", Version:"__internal", Kind:"DaemonSet"}
      
              import_known_versions_test.go:122: Unexpected type uint in schema.GroupVersionKind{Group:"apps", Version:"__internal", Kind:"DaemonSet"}
              import_known_versions_test.go:124: extensions.DaemonSet:
              import_known_versions_test.go:124:   extensions.DaemonSetSpec:
              import_known_versions_test.go:124:     api.PodTemplateSpec:
              import_known_versions_test.go:124:       api.PodSpec:
              import_known_versions_test.go:124:         []api.Container:
              import_known_versions_test.go:124:           api.Container:
              import_known_versions_test.go:124:             []api.EnvVar:
              import_known_versions_test.go:124:               api.EnvVar:
              import_known_versions_test.go:124:                 *api.EnvVarSource:
              import_known_versions_test.go:124:                   api.EnvVarSource:
              import_known_versions_test.go:124:                     *api.ResourceFieldSelector:
              import_known_versions_test.go:124:                       api.ResourceFieldSelector:
              import_known_versions_test.go:124:                         resource.Quantity:
              import_known_versions_test.go:124:                           resource.infDecAmount:
              import_known_versions_test.go:124:                             *inf.Dec:
              import_known_versions_test.go:124:                               inf.Dec:
              import_known_versions_test.go:124:                                 big.Int:
              import_known_versions_test.go:124:                                   big.nat:
              import_known_versions_test.go:124:                                     big.Word:
      ```
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53508
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      feb92e1b
    • Kubernetes Submit Queue's avatar
      Merge pull request #53115 from FengyunPan/fix-auto · 536f9ac1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53418, 53366, 53115, 53402, 53130). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Fix the version detection of OpenStack Cinder
      
      **What this PR does / why we need it**:
      When running Kubernetes against an installation of DevStack which
      deploys the Cinder service at a path rather than a port (ex:
      http://foo.bar/volume rather than http://foo.bar:xxx), the version
      detection fails. It is better to use the OpenStack service catalog.
      OTOH, when initialize cinder client, kubernetes will check the
      endpoint from the OpenStack service catalog, so we can do this
      version detection by it.
      
      There are two case should be fixed in other PR:
      1. revisit the version detection after supporting Cinder V3 API.
      2. add codes to support MicroVersion after gophercloud supports MicroVersion.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50461
      
      **Special notes for your reviewer**:
      /assign @dims 
      /assign @xsgordon 
      
      **Release note**:
      ```release-note
      Using OpenStack service catalog to do version detection
      ```
      536f9ac1
    • Kubernetes Submit Queue's avatar
      Merge pull request #53366 from tcharding/cloud-controller · fc6120cc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53418, 53366, 53115, 53402, 53130). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      cmd: cloud-controller-manager: remove golint_failures entry
      
      **What this PR does / why we need it**:
      
      `cmd/cloud-controller-manager/app` and  `cmd/cloud-controller-manager/app/options` currently appear in `.golint_failures`. We can lint these packages.
      
      `golint` emits the following two warnings
      ```
      comment on exported type CloudControllerManagerServer should be of the form "CloudControllerManagerServer ..."
      comment on exported const ControllerStartJitter should be of the form "ControllerStartJitter ..."
      ```
      
      Fix the documentation comments and remove entries from `.golint_failures`
      
      **Special notes for your reviewer**:
      
      Don't know which sig to label this PR with?
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      /kind cleanup
      fc6120cc
    • Kubernetes Submit Queue's avatar
      Merge pull request #53418 from jingax10/node_ipam_branch · 793ee6f4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53418, 53366, 53115, 53402, 53130). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Minior cleanup in pkg/controller/node/ipam/sync/sync.go
      
      **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
      ```
      793ee6f4
  2. 05 Oct, 2017 24 commits
    • Janet Kuo's avatar
      ad9f9c27
    • Janet Kuo's avatar
      Autogen · fd48a4a8
      Janet Kuo authored
      fd48a4a8
    • Kubernetes Submit Queue's avatar
      Merge pull request #53506 from cblecker/cblecker-build · eee34e13
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Add cblecker to build/ owners
      
      **What this PR does / why we need it**:
      Add myself to `build/` owners. I've done a bit of work with the Makefiles and build container scripts (similar to the stuff I've done in `hack/`. Would love to help review/approve things here. I solemnly swear not to touch things I do not understand :)
      
      /assign @ixdy @spxtr @thockin 
      
      **Release note**:
      ```release-note
      NONE
      ```
      eee34e13
    • Joe Beda's avatar
      Add group by default to kubeadm token create · e053f56d
      Joe Beda authored
      e053f56d
    • Doug MacEachern's avatar
      Ignore unexported fields in import_known_versions_test · 06205696
      Doug MacEachern authored
      Tests currently fail with:
      
        "import_known_versions_test.go:122: Unexpected type uint in ..."
      
      Closes #53508
      06205696
    • Kubernetes Submit Queue's avatar
      Merge pull request #53286 from xiangpengzhao/fix-changelogmd · 41f928f9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Fix bad format of 1.8 release notes
      
      **What this PR does / why we need it**:
      Some links have bad format, this PR fixes them.
      
      **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**:
      /cc @abgworrall 
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      41f928f9
    • Kubernetes Submit Queue's avatar
      Merge pull request #53120 from m1093782566/fake-ipv6 · 3b1b19a1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53227, 53120). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      remove ipv4 in pkg/util/ipvs
      
      **What this PR does / why we need it**:
      
      remove ipv4 in util/ipvs
      
      **Which issue this PR fixes**:
      
      xref: #51866
      
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      3b1b19a1
    • Kubernetes Submit Queue's avatar
      Merge pull request #53227 from vmware/DummyVME2ETestvSphereK8s · 86b23dfb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53227, 53120). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      E2E test to verify clean up of stale dummy VM for vSphere dynamic provisioning
      
      Verify if the dummy stale VM's created during dynamic provisioning are deleted by the clean up routine in vSphere cloud Provider.
      
      **Testing Done:**
      - Create a storage class with invalid policy on a VSAN datastore.
      - Create a PVC using the above storage class
      - Verify if the PVC is not bound.
      - Delete the PVC.
      - Sleep for 6 minutes so that vSphere Cloud Provider clean up routine can delete the stale dummy VM's.
      - Verify if the VM is not present. Otherwise fail the test.
      
      @rohitjogvmw @divyenpatel 
      
      
      ```release-note
      None
      ```
      86b23dfb
    • Christoph Blecker's avatar
      Add cblecker to build/ owners · 693d3c0b
      Christoph Blecker authored
      693d3c0b
    • Janet Kuo's avatar
      Fix typo in apps/v1beta2 default test · 48cb110c
      Janet Kuo authored
      48cb110c
    • Janet Kuo's avatar
      Skip auto-generated apps/v1 codes in golint · 1090840f
      Janet Kuo authored
      1090840f
    • Janet Kuo's avatar
      Enable apps/v1 by default · 5c89c39d
      Janet Kuo authored
      5c89c39d
    • Janet Kuo's avatar
      Add API version apps/v1 · 9813a527
      Janet Kuo authored
      Add a new API version apps/v1.
      apps/v1 has a copy of apps/v1beta2.DaemonSet API.
      9813a527
    • Kubernetes Submit Queue's avatar
      Merge pull request #53493 from piosz/metrics-group · 1baa3043
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Fixed metrics API group name in audit configuration
      1baa3043
    • Jing Ai's avatar
      Merge branch 'master' into node_ipam_branch · 5f40a423
      Jing Ai authored
      5f40a423
    • Piotr Szczesniak's avatar
      747dffcb
    • Kubernetes Submit Queue's avatar
      Merge pull request #53410 from nicksardo/gce-hack-subnet · 9af33988
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51750, 53195, 53384, 53410). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      GCE: Handle missing subnet for legacy networks and auto networks with unique subnet names
      
      Fixes #53409
      
      /assign @bowei 
      
      Tested on three GKE clusters with automatic, manual, and legacy networks.
      
      **Release note**:
      ```release-note
      GCE: Fixes ILB sync on legacy networks and auto networks with unique subnet names
      ```
      9af33988
    • Kubernetes Submit Queue's avatar
      Merge pull request #53384 from leblancd/e2e_ping6 · 51e21578
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51750, 53195, 53384, 53410). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Add ping6 option for e2e ext connectivity test for IPv6-only clusters
      
      e2e tests provide only an (IPv4) ping test for external connectivity.
      
      We need a way to conditionally run a ping6 external connectivity check,
      and disable the (IPv4) ping-based external connectivity check,
      for end-to-end testing on IPv6-only clusters.
      
      This feature will be needed for creating gating IPv6 CI tests.
      
      fixes #53383
      
      
      
      **What this PR does / why we need it**:
      This adds an IPv6 (ping6) version of the external connectivity ping check to the e2e test suite,
      and adds "Feature:" flags for selecting whether the IPv4 or IPv6 (or both) versions
      of the connectivity test should be run. We need this change to be able to use the
      e2e test suite in upstream gating IPv6 CI tests on IPv6-only clusters (at least until
      dual-stack operation is fully supported in Kubernetes).
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53383
      
      **Special notes for your reviewer**:
      Please let me know if there are better tags to use for selecting IPv4 vs IPv6 testing.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      51e21578
    • Kubernetes Submit Queue's avatar
      Merge pull request #53195 from dixudx/add_timeout_for_openstack_cloudprovider · 9e9ebc04
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51750, 53195, 53384, 53410). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      add http request timeout for OpenStack cloud provider
      
      **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 #53191
      
      **Special notes for your reviewer**:
      /assign @NickrenREN @dims @FengyunPan 
      
      **Release note**:
      
      ```release-note
      None
      ```
      9e9ebc04
    • Kubernetes Submit Queue's avatar
      Merge pull request #51750 from jianhuiz/kubectl-custom-colume-not-found · ecfff662
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51750, 53195, 53384, 53410). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      outputs `<none>` for colums not found
      
      **What this PR does / why we need it**:
      
      outputs `<none>` for columns specified by `-o custom-columns` but not found in object
      
      currently kubectl outputs an error of "xxx is not found" when a column is not in the returned json (omitted because of empty value or no such field in the object type at all). This PR suppress this error but outputs `<none>` at that field. This makes it convenient to output the objects details, especially when getting objects of different type in one command.
      
      example:
      ```
      $ kubectl get deploy,rs,po -o custom-columns=NAMESPACE:.metadata.namespace,NAME:.metadata.name,REPLICAS:.status.replicas
      NAMESPACE   NAME                      REPLICAS
      default     deck                      1
      default     deck-433074128            1
      default     deck-433074128-vxcg9      <none>
      ```
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      outputs `<none>` for columns specified by `-o custom-columns` but not found in object
      ```
      
      
      @kubernetes/kubectl-reviewers
      ecfff662
    • Kubernetes Submit Queue's avatar
      Merge pull request #52917 from juanvallejo/jvallejo/support-multiple-node-selection · 65cca36e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53454, 53446, 52935, 53443, 52917). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      add --selector flag support
      
      **Release note**:
      ```release-note
      NONE
      ```
      
      Adds --selector option to kubectl drain,cordon,uncordon, performing
      each action on a list of nodes matching the given label.
      
      If at least one node fails to be cordoned/uncordoned, the command will
      continue to operate on any remaining nodes, uninterrupted, reporting
      any errors it encounters along the way.
      
      If at least one node fails to be drained, the command will halt, printing
      the immediate error encountered, and a list of nodes yet to be drained
      (including the node that just failed to be drained).
      
      cc @kubernetes/sig-cli-misc @fabianofranz @soltysh
      65cca36e
    • Kubernetes Submit Queue's avatar
      Merge pull request #53443 from liggitt/psp-allow-escalation · b0eb7d88
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53454, 53446, 52935, 53443, 52917). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Use pointer for PSP allow escalation
      
      Fixes #53437 
      
      The `AllowPrivilegeEscalation` field was added to PodSpec and PodSecurityPolicySpec in 1.8.0.
      
      In order to remain compatible with pre-1.8.0 behavior, PodSecurityPolicy objects created against a previous release must not restrict this field, which means the field must default to true in PodSecurityPolicySpec. However, the field was added as a `bool`, not a `*bool`, which means that no defaulting is possible.
      
      We have two options:
      1. Require all pre-existing PodSecurityPolicy objects that intend to allow privileged permissions to update to set this new field to true
      2. Change the field to a `*bool` and default it to true.
      
      This PR does the latter. With this change, we have the following behavior:
      
      A 1.8.1+ client/server now has three ways to serialize:
      * `nil` values are dropped from serialization (because `omitempty`), which is interpreted correctly by other 1.8.1+ clients/servers, and is interpreted as false by 1.8.0
      * `false` values are serialized and interpreted correctly by all clients/servers
      * `true` values are serialized and interpreted correctly by all clients/servers
      
      A 1.8.0 client/server has two ways to serialize:
      * `false` values are dropped from serialization (because `omitempty`), which is interpreted as `false` by other 1.8.0 clients/servers, but as `nil` (and therefore defaulting to true) by 1.8.1+ clients/servers
      * `true` values are serialized and interpreted correctly by all clients/servers
      
      The primary concern is the 1.8.0 server dropping the `false` value from serialization, but I consider the compatibility break with pre-1.8 behavior to be more severe, especially if we can resolve the regression in an immediate point release.
      
      ```release-note
      PodSecurityPolicy: Fixes a compatibility issue that caused policies that previously allowed privileged pods to start forbidding them, due to an incorrect default value for `allowPrivilegeEscalation`. PodSecurityPolicy objects defined using a 1.8.0 client or server that intended to set `allowPrivilegeEscalation` to `false` must be reapplied after upgrading to 1.8.1.
      ```
      b0eb7d88
    • Kubernetes Submit Queue's avatar
      Merge pull request #52935 from m1093782566/ipv6 · a2ce3bcf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53454, 53446, 52935, 53443, 52917). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Remove ipv4 constraint of Node IPs in ipvs proxier
      
      **What this PR does / why we need it**:
      
      We are targeting to IPV6. So, we should remove ipv4 constraint of Node IPs in ipvs proxier.
      
      Besides, adding some log messages.
      
      
      **Which issue this PR fixes**:
      
      xref #51866 
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      a2ce3bcf
    • Kubernetes Submit Queue's avatar
      Merge pull request #53446 from sjenning/network-plugin-metrics · eaaa93c7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53454, 53446, 52935, 53443, 52917). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      kubelet: add latency metrics to network plugin manager
      
      This PR adds latency metrics to the network plugin operations, namely `GetPodNetworkStatus()`, `SetUpPod()`, and `TearDownPod()`.
      
      I recently had to debug and issue where a PLEG relist hang was occurring due to a hang in a CNI plugin and it would have been really nice to have these.  Between the these new metrics and `docker_operations_latency_microseconds`, we will be able to account for nearly all the time consuming routines in the PLEG relist.
      
      @derekwaynecarr @smarterclayton @eparis @vishh 
      
      ```release-note
      Metrics were added to network plugin to report latency of CNI operations
      ```
      /sig node
      eaaa93c7