1. 10 Feb, 2018 2 commits
  2. 09 Feb, 2018 38 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #59514 from vmware/test-infra · 26032711
      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>.
      
      vSphere test infrastructure improvement and new node-unregister test
      
      **What this PR does / why we need it**:
      - Created conf file parsing logic for vSphere tests
      - Created NodeMapper to generate node-vsphere map
      - Updated bootstrap to parse conf file and generate node-vsphere map, and set it in TestContext
      - Moved bootstrap.go and context.go up, in vsphere package to avoid cyclic package dependencies
      - Added node register/unregister test, that consumes new test-infra
      
      **Which issue(s) this PR fixes**:
      Fixes https://github.com/vmware/kubernetes/issues/437
      Fixes https://github.com/vmware/kubernetes/issues/379
      
      **Special notes for your reviewer**:
      - Successfully ran vSphere e2e tests to ensure that the bootstrapping is happening only once. More tests in progress
      - Successfully ran 'Node Unregister'
      
      ```
      bash-3.2$ go run hack/e2e.go --check-version-skew=false --v --test --test_args=‘--ginkgo.focus=Node\sUnregister’
      flag provided but not defined: -check-version-skew
      Usage of /var/folders/97/lnlv1n317xl2ty8hdn7zptxr00b37m/T/go-build743103230/command-line-arguments/_obj/exe/e2e:
      -get
      go get -u kubetest if old or not installed (default true)
      -old duration
      Consider kubetest old if it exceeds this (default 24h0m0s)
      Will run 1 of 724 specs
       
      Feb 5 22:20:09.890: INFO: >>> kubeConfig: /Users/pshahzeb/kube176.json
      Feb 5 22:20:09.903: INFO: Waiting up to 4h0m0s for all (but 0) nodes to be schedulable
      Feb 5 22:20:10.036: INFO: Waiting up to 10m0s for all pods (need at least 0) in namespace ‘kube-system’ to be running and ready
      Feb 5 22:20:10.182: INFO: 13 / 13 pods in namespace ‘kube-system’ are running and ready (0 seconds elapsed)
      Feb 5 22:20:10.182: INFO: expected 4 pod replicas in namespace ‘kube-system’, 4 are Running and Ready.
      Feb 5 22:20:10.203: INFO: Waiting for pods to enter Success, but no pods in “kube-system” match label map[name:e2e-image-puller]
      Feb 5 22:20:10.203: INFO: Dumping network health container logs from all nodes...
      Feb 5 22:20:10.236: INFO: e2e test version: v1.6.0-alpha.0.22494+e66916e052163a-dirty
      Feb 5 22:20:10.261: INFO: kube-apiserver version: v1.9.2
      SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
      ------------------------------
      [sig-storage] Node Unregister [Feature:vsphere] [Slow] [Disruptive]
      node unregister
      /Users/pshahzeb/k8s/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere/vsphere_volume_node_delete.go:53
      [BeforeEach] [sig-storage] Node Unregister [Feature:vsphere] [Slow] [Disruptive]
      /Users/pshahzeb/k8s/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:141
      STEP: Creating a kubernetes client
      Feb 5 22:20:10.268: INFO: >>> kubeConfig: /Users/pshahzeb/kube176.json
      STEP: Building a namespace api object
      Feb 5 22:20:11.043: INFO: No PodSecurityPolicies found; assuming PodSecurityPolicy is disabled.
      STEP: Waiting for a default service account to be provisioned in namespace
      [BeforeEach] [sig-storage] Node Unregister [Feature:vsphere] [Slow] [Disruptive]
      /Users/pshahzeb/k8s/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere/vsphere_volume_node_delete.go:41
      Feb 5 22:20:11.063: INFO: Initializing vc server 10.160.240.176
      Feb 5 22:20:11.063: INFO: ConfigFile &{{administrator@vsphere.local Admin!23 443 true k8s-dc 0} map[10.160.240.176:0xc420babe30] {VM Network} {pvscsi} {10.160.240.176 k8s-dc kubernetes vsanDatastore k8s-cluster}}
      vSphere instances map[10.160.240.176:0xc420b08830]
      [It] node unregister
      /Users/pshahzeb/k8s/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere/vsphere_volume_node_delete.go:53
      STEP: Get total Ready nodes
      Feb 5 22:20:11.566: INFO: vmx file path is [vsanDatastore] 2e98735a-cdb9-c3f3-63d8-020010188a6a/kubernetes-node1.vmx
      STEP: Unregister a node VM
      Feb 5 22:20:11.686: INFO: Powering off node VM kubernetes-node1
      Feb 5 22:20:14.148: INFO: Unregistering node VM kubernetes-node1
      STEP: Verifying the ready node counts
      STEP: Register back the node VM
      Feb 5 22:20:49.490: INFO: Registering node VM kubernetes-node1
      Feb 5 22:20:51.785: INFO: Powering on node VM kubernetes-node1
      STEP: Verifying the ready node counts
      Feb 5 22:21:40.600: INFO: Condition Ready of node kubernetes-node1 is false instead of true. Reason: KubeletNotReady, message: container runtime is down
      Feb 5 22:21:45.625: INFO: Condition Ready of node kubernetes-node1 is false instead of true. Reason: KubeletNotReady, message: container runtime is down
      STEP: Sanity check for volume lifecycle
      STEP: Creating Storage Class With storage policy params
      STEP: Creating PVC using the Storage Class
      STEP: Waiting for claim to be in bound phase
      Feb 5 22:21:50.718: INFO: Waiting up to 5m0s for PersistentVolumeClaim pvc-ztj7g to have phase Bound
       
      Feb 5 22:22:15.053: INFO: PersistentVolumeClaim pvc-ztj7g found and phase=Bound (24.334875493s)
      STEP: Creating pod to attach PV to the node
      STEP: Verify the volume is accessible and available in the pod
      Feb 5 22:22:25.976: INFO: Running ‘/Users/pshahzeb/k8s/kubernetes/_output/bin/kubectl --server=https://10.160.241.49 --kubeconfig=/Users/pshahzeb/kube176.json exec pvc-tester-q7q2w --namespace=e2e-tests-node-unregister-csdrc -- /bin/touch /mnt/volume1/emptyFile.txt’
      Feb 5 22:22:26.740: INFO: stderr: “”
      Feb 5 22:22:26.740: INFO: stdout: “”
      STEP: Deleting pod
      Feb 5 22:22:26.740: INFO: Deleting pod “pvc-tester-q7q2w” in namespace “e2e-tests-node-unregister-csdrc”
      Feb 5 22:22:26.799: INFO: Wait up to 5m0s for pod “pvc-tester-q7q2w” to be fully deleted
      STEP: Waiting for volumes to be detached from the node
      Feb 5 2223:16.966: INFO: Volume “[vsanDatastore] f0c55f5a-7349-1aad-2464-02001067f24e/kubernetes-dynamic-pvc-04775fe5-0b06-11e8-9872-005056809c8d.vmdk” has successfully detached from “kubernetes-node1"
      Feb 5 2223:16.966: INFO: Deleting PersistentVolumeClaim “pvc-ztj7g”
      [AfterEach] [sig-storage] Node Unregister [Feature:vsphere] [Slow] [Disruptive]
      /Users/pshahzeb/k8s/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142
      Feb 5 2223:17.026: INFO: Waiting up to 3m0s for all (but 0) nodes to be ready
      STEP: Destroying namespace “e2e-tests-node-unregister-csdrc” for this suite.
      Feb 5 2223:23.158: INFO: Waiting up to 30s for server preferred namespaced resources to be successfully discovered
      Feb 5 2223:24.421: INFO: namespace: e2e-tests-node-unregister-csdrc, resource: bindings, ignored listing per whitelist
      Feb 5 2223:24.795: INFO: namespace e2e-tests-node-unregister-csdrc deletion completed in 7.715803086s
       
      • [SLOW TEST:194.521 seconds]
      [sig-storage] Node Unregister [Feature:vsphere] [Slow] [Disruptive]
      /Users/pshahzeb/k8s/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/utils/framework.go:22
      node unregister
      /Users/pshahzeb/k8s/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere/vsphere_volume_node_delete.go:53
      ------------------------------
      SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSFeb 5 2223:24.797: INFO: Running AfterSuite actions on all node
      Feb 5 2223:24.798: INFO: Running AfterSuite actions on node 1
       
      Ran 1 of 724 Specs in 194.905 seconds
      SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 723 Skipped PASS
       
      Ginkgo ran 1 suite in 3m15.529747133s
      Test Suite Passed
      2018/02/05 2223:24 util.go:174: Step ‘./hack/ginkgo-e2e.sh --ginkgo.focus=Node\sUnregister’ finished in 3m16.095671615s
      2018/02/05 2223:24 e2e.go:81: Done
      ```
      
      **Release note**:
      ```release-note
      NONE
      ```
      26032711
    • Anago GCB's avatar
      Update CHANGELOG-1.8.md for v1.8.8. · 43c06451
      Anago GCB authored
      43c06451
    • Kubernetes Submit Queue's avatar
      Merge pull request #59661 from shyamjvs/fix-profile-gatherer · 4b694186
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59424, 59672, 59313, 59661). 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>.
      
      Disable symbol resolution by pprof in profile-gatherer
      
      Because otherwise it is failing while trying to symbolize, due to lack of a kube-apiserver binary locally (as noted by @wojtek-t) within the job pod:
      
      ```
      Local symbolization failed for kube-apiserver: open /usr/local/bin/kube-apiserver: no such file or directory
      ```
      
      This does seem to still produce a graph with all named references - so it seems fine to avoid it. The [documentation](https://github.com/google/pprof/blob/master/doc/pprof.md#symbolization) says:
      
      ```
      pprof can add symbol information to a profile that was collected only with address information. This is useful for profiles for compiled languages, where it may not be easy or even possible for the profile source to include function names or source coordinates.
      ```
      
      So my feeling is that for golang, the function names, etc are included in the profile source.
      
      /cc @wojtek-t @kubernetes/sig-scalability-misc 
      
      ```release-note
      NONE
      ```
      4b694186
    • Kubernetes Submit Queue's avatar
      Merge pull request #59313 from MrHohn/e2e-ingress-scale-new · afa8c4fe
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59424, 59672, 59313, 59661). 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 gce-ingress] Scale test to measure ingress create/update latency
      
      **What this PR does / why we need it**:
      Adding a basic scale test. Test procedure:
      - Create O(1) ingresses, measure creation latency for each ingress.
      - Create and update one more ingress, do similar measurement on create & update latency.
      - Repeat first two steps with O(10) ingresses.
      - Repeat first two steps with O(100) ingresses.
      
      Couple side notes:
      - Each ingress reference a separate service.
      - All services share the same set of backend pods.
      - All ingress share one TLS secret.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #NONE 
      
      **Special notes for your reviewer**:
      /assign @rramkumar1 @nicksardo @bowei
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      afa8c4fe
    • Kubernetes Submit Queue's avatar
      Merge pull request #59672 from nicksardo/glbc-alpha · 097efb71
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59424, 59672, 59313, 59661). 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: Bump GLBC version to 0.9.8-alpha.1
      
      **What this PR does / why we need it**:
      Soak on an alpha version of GLBC 0.9.8
      
      
      **Special notes for your reviewer**:
      /assign @bowei 
      /cc @bowei 
      
      **Release note**:
      Release note will be set when we update this to stable 0.9.8. 
      ```release-note
      NONE
      ```
      097efb71
    • Kubernetes Submit Queue's avatar
      Merge pull request #59424 from jingax10/update_etcd_branch · ac3215be
      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>.
      
      Update etcd version from 3.1.10 to 3.2.14 when upgrading a K8s cluster to use IP aliases on GCP.
      
      **What this PR does / why we need it**:
      The default etcd version is already bumped up to 3.2.14 and it cannot be downgraded to 3.1.10. Therefore, in order to successfully update master settings to use IP aliases on GCP, we just update the etcd version to the default value.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      N/A
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      "NONE"
      ```
      ac3215be
    • Kubernetes Submit Queue's avatar
      Merge pull request #59382 from bsalamat/no_system_priority · 15ad2176
      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>.
      
      Disallow PriorityClass names with 'system-' prefix for user defined priority classes
      
      **What this PR does / why we need it**:
      This PR changes our Priority admission controller to disallow PriorityClass names with 'system-' prefix for user defined priority classes. Please refer to #59381 for reasons why we need this.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #59381
      
      **Release note**:
      
      ```release-note
      Disallow PriorityClass names with 'system-' prefix for user defined priority classes.
      ```
      
      ref #57471
      /sig scheduling
      /assign @liggitt
      15ad2176
    • Mehdy Bohlool's avatar
      Update CHANGELOG-1.9.md for v1.9.3. · ac302ed2
      Mehdy Bohlool authored
      ac302ed2
    • prashima's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #59389 from Lihua93/patch-1 · 72896f6e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59447, 59594, 59651, 59389). 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 typo: constucts -> constructs
      
      **What this PR does / why we need it**:
      To fix doc typo
      
      **Release note**:
      ```release-note
      NONE
      ```
      72896f6e
    • Kubernetes Submit Queue's avatar
      Merge pull request #59651 from wojtek-t/print_stderr · 79e02dee
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59447, 59594, 59651, 59389). 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>.
      
      Print stderr from go tool pprof in profile gatherer
      79e02dee
    • Kubernetes Submit Queue's avatar
      Merge pull request #59594 from liggitt/wait-for-patch · 5898d630
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59447, 59594, 59651, 59389). 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>.
      
      Workaround patch using cached version in TestPatch
      
      Deflakes https://github.com/kubernetes/kubernetes/issues/42644 but does not resolve the underlying issue
      
      ```release-note
      NONE
      ```
      5898d630
    • Nick Sardo's avatar
      Bump GLBC version to 0.9.8-alpha.1 · 109b1334
      Nick Sardo authored
      109b1334
    • Kubernetes Submit Queue's avatar
      Merge pull request #59447 from verult/pd-alpha · a35accca
      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>.
      
      Fixes the regression of GCEPD not provisioning correctly on GKE alpha clusters.
      
      Fixes the regression by better distinguishing between single-zone and multi-zone PDs.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #59047
      
      **Special notes for your reviewer**: All PD and dynamic provisioning e2e tests pass, manually verified provision, delete, attach, and detach of both single-zone and multi-zone PDs. Will create e2e tests for multizone PDs in a separate PR.
      
      **Release note**:
      
      
      /sig storage
      /assign @saad-ali
      a35accca
    • Kubernetes Submit Queue's avatar
      Merge pull request #59481 from rojkov/dm-unittests · 76e6da25
      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>.
      
      devicemanager: increase code coverege of endpoint's unit test
      
      Particularly cover the code path when an unhealthy device
      becomes healthy.
      76e6da25
    • Robert Pothier's avatar
      Update Kubeadm proxy handling for IPv6 · 4da39ae7
      Robert Pothier authored
      This updates HTTPProxyCheck with brackets around
      the ipv6 address to handle adding :port
      4da39ae7
    • Jordan Liggitt's avatar
      cb24bd03
    • Kubernetes Submit Queue's avatar
      Merge pull request #59232 from liubin/fix4 · 977d03bd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59607, 59232). 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>.
      
      Make log content more information
      
      And change some `fmt.Errorf` to `fmt.Error`
      977d03bd
    • Kubernetes Submit Queue's avatar
      Merge pull request #59607 from harsh-px/px-pvc · afaabe05
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59607, 59232). 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>.
      
      Pass pvc namespace and annotations to Portworx Create API
      Signed-off-by: 's avatarHarsh Desai <harsh@portworx.com>
      
      **What this PR does / why we need it**:
      
      Fixes #59606
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      afaabe05
    • Shyam Jeedigunta's avatar
    • Wojciech Tyczynski's avatar
      3e3dee68
    • Kubernetes Submit Queue's avatar
      Merge pull request #59548 from linyouchong/lyc-201802082 · aee2cff1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59466, 58912, 59605, 59548). 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 incorrect logic in canSupport
      
      **What this PR does / why we need it**:
      if `spec.PersistentVolume` is nil or `spec.Volume` is nil, func `canSupport` should return false.
      
      **Release note**:
      ```
      NONE
      ```
      /release-note-none
      /sig storage
      aee2cff1
    • Kubernetes Submit Queue's avatar
      Merge pull request #59605 from msau42/local-e2es · afcb0bf1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59466, 58912, 59605, 59548). 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>.
      
      Rename and restructure local PV tests
      
      **What this PR does / why we need it**:
      Reorganizes the local PV tests to have a more consistent structure.
      @kubernetes/sig-storage-pr-reviews 
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      afcb0bf1
    • Kubernetes Submit Queue's avatar
      Merge pull request #58912 from mlmhl/volume_mount · 3ee818c2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59466, 58912, 59605, 59548). 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>.
      
      return a more human readable error message if mount an unformatted vo…
      
      **What this PR does / why we need it**:
      
      If an unformatted volume is requested as read only mode, according device mount operation will fail, and the message is verbose and obscure. We should check this scenario and return a more human readable message.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #58911
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      /sig storage
      3ee818c2
    • Kubernetes Submit Queue's avatar
      Merge pull request #59466 from humblec/hide-configuration · 8268f6d5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 59466, 58912, 59605, 59548). 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>.
      
      Gluster: Remove provisioner configuration from info message.
      Signed-off-by: 's avatarHumble Chirammal <hchiramm@redhat.com>
      
      
      
      **What this PR does / why we need it**:
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      
      ```
      8268f6d5
    • Kubernetes Submit Queue's avatar
      Merge pull request #57682 from nikhita/customresource-metrics · 8eae0a8a
      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>.
      
      Collect prometheus metrics for custom resources
      
      Enables apiserver metrics for custom resources.
      
      Fixes #55146
      
      **Release note**:
      
      ```release-note
      Enable apiserver metrics for custom resources.
      ```
      
      /cc sttts deads2k kargakis brancz
      8eae0a8a
    • Kubernetes Submit Queue's avatar
      Merge pull request #59623 from ixdy/bazel-source-date-epoch · 05944b1d
      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>.
      
      bazel: support using SOURCE_DATE_EPOCH to override date
      
      **What this PR does / why we need it**: ports #48708 to apply to the bazel build as well.
      Note that bazel already sets `BUILD_TIMESTAMP` using `SOURCE_DATE_EPOCH`, but we have our own timestamp variable, so we need to fix it too.
      
      We could combine this with something like
      ```shell
      SOURCE_DATE_EPOCH=$(git log -1 --format=%cd --date=format:%s)
      ```
      to get closer to repeatable builds. (This uses the timestamp from the last git commit.)
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      /assign @BenTheElder @mikedanese
      05944b1d
    • Kubernetes Submit Queue's avatar
      Merge pull request #59619 from jianliao82/patch-1 · 5d8f6ed4
      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>.
      
      Update azure_loadbalancer.md to fix typo
      
      fix typo 
      incase -> in case
      selction -> selection
      
      
      
      **What this PR does / why we need it**:
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      fix typo 
      incase -> in case
      selction -> selection
      ```
      5d8f6ed4
    • Kubernetes Submit Queue's avatar
      Merge pull request #55684 from wu-qiang/kms-plugin-grpc-api · 53207e1b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 58437, 59490, 55684). 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>.
      
      gRPC-based KMS plugin service
      
      **What this PR does / why we need it**:
      Implement for issue https://github.com/kubernetes/kubernetes/issues/51965
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #51965
      
      **Special notes for your reviewer**:
      @destijl @sakshamsharma @deads2k @ericchiang
      The implementation based on the document https://docs.google.com/document/d/1S_Wgn-psI0Z7SYGvp-83ePte5oUNMr4244uanGLYUmw/edit
      **Release note**:
      
      ```release-note
      Implement envelope service with gRPC, so that KMS providers can be pulled out from API server.
      ```
      53207e1b
    • Kubernetes Submit Queue's avatar
      Merge pull request #59490 from agau4779/gce-unittest · 0b6a0a69
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 58437, 59490, 55684). 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] Unit test ExternalLoadBalancer
      
      **What this PR does / why we need it**:
      
      - Unit tests for `pkg/cloudprovider/providers/gce/gce_loadbalancer_external.go`
      - Tests creating, updating, and deleting an external LoadBalancer
      
      **Future Improvements**
      In order to further test `gce_loadbalancer_external.go`, we should add tests for the following cases:
      
      - Network Tiers - when the current/desired network tier doesn't match, existing resources with the wrong tier should be torn down
      - Expect an error when the TargetPool does not exist
      - Expect an error when the LoadBalancer Firewall does not exist
      - Case when TargetPool needs to be recreated 
      - Case when IP needs to be released (calls gce.DeleteRegionAddress)
      ```release-note
      NONE
      ```
      0b6a0a69
    • Jeff Grafton's avatar
      c0d0c7bc
    • Kubernetes Submit Queue's avatar
      Merge pull request #58437 from tossmilestone/scheduler-golint · c179b8a0
      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>.
      
      Enable golinting for scheduler packages.
      
      **What this PR does / why we need it**:
      Enable golinting for scheduler packages
      
      **Which issue(s) this PR fixes**:
      Fixes #58234 
      
      **Special notes for your reviewer**:
      - `pkg/scheduler/api` and `pkg/scheduler/api/v1` are not removed from `hack/.golint_failures`, because there are auto-generated go files by `deepcopy-gen` in the package, which have golint errors and are not suggested manually edited.
      - Please help to refine the comments if there are error or inaccurate descriptions. Thanks! 
      
      **Release note**:
      
      ```release-note
      Enable golint for `pkg/scheduler` and fix the golint errors in it.
      ```
      c179b8a0
    • liaoj's avatar
      Update azure_loadbalancer.md · 953cbb11
      liaoj authored
      fix typo 
      incase -> in case
      selction -> selection
      953cbb11
    • Kubernetes Submit Queue's avatar
      Merge pull request #56974 from gnufied/speed-up-attach-detach · 30f54b40
      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>.
      
      Make AWS attach/detach operations faster
      
      Most attach/detach operations on AWS finish within 1-4seconds.
      By using a shorter time interval and higher exponetial
      factor  we can shorten time taken for attach and detach to complete. 
      
      After this change retry interval looks like:
      
      ```
      [1, 1.8, 3.24, 5.832000000000001, 10.4976]
      ```
      
      Before it was:
      ```
      [10, 12.0, 14.399999999999999, 17.279999999999998]
      ```
      
      
      /sig aws
      
      ```release-note
      AWS: Make attach/detach operations faster. from 10-12s to 2-6s
      ```
      30f54b40
    • linyouchong's avatar
      fix incorrect logic in canSupport · e92f6eb0
      linyouchong authored
      e92f6eb0
    • Kubernetes Submit Queue's avatar
      Merge pull request #59475 from Random-Liu/use-mountpoint · b24bc2cf
      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 mountpoint as CRI image filesystem storage identifier.
      
      Fixes https://github.com/kubernetes/kubernetes/issues/57356.
      
      This PR changes CRI to use mountpoint as storage identifier. See https://github.com/kubernetes/kubernetes/issues/57356#issuecomment-363608733.
      
      Note that:
      1) This doesn't work with devicemapper for now. Please feel free to propose change for device mapper, we can discuss more about this after this first version is merged. @mrunalp @runcom
      2) `mountpoint` is added as new field in `StorageIdentifier` now. After https://github.com/kubernetes/kubernetes/pull/58973 is merged, we can remove the UUID field in `v1alpha2`. 
      
      /cc @yujuhong @feiskyer @yguo0905 @dashpole @mikebrow @abhi @kubernetes/sig-node-api-reviews 
      
      **Release note**:
      
      ```release-note
      CRI starts using moutpoint as image filesystem identifier instead of UUID.
      ```
      b24bc2cf
    • Kubernetes Submit Queue's avatar
      Merge pull request #59127 from fanzhangio/category · 23e4133c
      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>.
      
      Cleanup and add category doc
      
      **What this PR does / why we need it**:
      CategoryExpender interface and some implements structs in package pkg/kubectl/categories are quite confusing to contributors due to the insufficiency documents and illustration.
      
      This PR does:
      1. Clean up some useless or vague comments
      2. Add illustration for CategoryExpender and implements structs
      
      @pwittrock @droot
      23e4133c
    • Kubernetes Submit Queue's avatar
      Merge pull request #58177 from jingxu97/Jan/reconstruct · d6625f85
      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>.
      
      Redesign and implement volume reconstruction work
      
      This PR is the first part of redesign of volume reconstruction work. The detailed design information is https://github.com/kubernetes/community/pull/1601
      
      The changes include
      1. Remove dependency on volume spec stored in actual state for volume
      cleanup process (UnmountVolume and UnmountDevice)
      
      Modify AttachedVolume struct to add DeviceMountPath so that volume
      unmount operation can use this information instead of constructing from
      volume spec
      
      2. Modify reconciler's volume reconstruction process (syncState). Currently workflow
      is when kubelet restarts, syncState() is only called once before
      reconciler starts its loop.
      a. If volume plugin supports reconstruction, it will use the
      reconstructed volume spec information to update actual state as before.
      b. If volume plugin cannot support reconstruction, it will use the
      scanned mount path information to clean up the mounts.
      
      In this PR, all the plugins still support reconstruction (except
      glusterfs), so reconstruction of some plugins will still have issues.
      The next PR will modify those plugins that cannot support reconstruction
      well.
      
      This PR addresses issue #52683
      d6625f85