1. 25 May, 2018 26 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #63414 from roycaihw/fix-delete-query · c0f91a8a
      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 conversion to properly parse query parameter propagationPolicy
      
      **What this PR does / why we need it**:
      This delete request query parameter has been broken for a year. I'm not sure if we want to deprecate the non-standard DeleteOptions body on delete request eventually. 
      
      **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 #43329
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      API server properly parses propagationPolicy as a query parameter sent with a delete request
      ```
      
      /sig api-machinery
      c0f91a8a
    • Kubernetes Submit Queue's avatar
      Merge pull request #64302 from krmayankk/refactor-rbd · 8b442973
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64204, 64302). 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>.
      
      simplify logic and remove else blocks
      
      ```release-note
      NONE
      ```
      8b442973
    • Kubernetes Submit Queue's avatar
      Merge pull request #64204 from sttts/sttts-unify-NewNoxuInstance · deb632e7
      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>.
      
      apiextensions: unify mono- and multi-versioned test helpers
      
      The mono-versioned helpers are a special case of the multi-versioned ones.
      
      Fixes part of https://github.com/kubernetes/kubernetes/issues/64136.
      deb632e7
    • Kubernetes Submit Queue's avatar
      Merge pull request #63893 from jennybuckley/expose-openapi-to-registry3 · 28f171bd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64175, 63893). 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>.
      
      Expose openapi schema to handlers
      
      **What this PR does / why we need it**:
      Build an openapi spec for each api resource handler. This spec will be able to be consumed by server-side apply and server-side openapi validation.
      The reason for putting it into master is so we can work on implementing server side validation against the openapi spec as well as server side apply, and it will make merging the server side apply feature branch a smaller, less risky PR
      
      /sig api-machinery
      /kind feature
      cc @liggitt @lavalamp @seans3 @mbohlool @apelisse 
      
      **Release note**:
      ```release-note
      NONE
      ```
      28f171bd
    • Kubernetes Submit Queue's avatar
      Merge pull request #64175 from mtaufen/test-name-cleanup · 8395b7c1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64175, 63893). 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 colon separators to improve readability of test names
      
      ```release-note
      NONE
      ```
      8395b7c1
    • Kubernetes Submit Queue's avatar
      Merge pull request #64049 from aveshagarwal/master-scheduler-flake · 89b73711
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 61963, 64279, 64130, 64125, 64049). 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 TestSchedulerWithVolumeBinding to avoid setting predicate ordering.
      
      It is causing data race condition as predicate ordering is changing global
      variable `predicatesOrdering`. Infact this test does not require any special
      predicate order and should work on default predicate ordering as far as
      VolumeScheduling feature is enabled.
      
      See these logs:
      
      ```
      ==================
      ==================
      WARNING: DATA RACE
      Read at 0x00c420894180 by goroutine 156:
        k8s.io/kubernetes/pkg/scheduler/core.podFitsOnNode()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/pkg/scheduler/core/generic_scheduler.go:503 +0xbb
        k8s.io/kubernetes/pkg/scheduler/core.(*genericScheduler).findNodesThatFit.func1()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/pkg/scheduler/core/generic_scheduler.go:353 +0x2f0
        k8s.io/kubernetes/vendor/k8s.io/client-go/util/workqueue.Parallelize.func1()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/vendor/k8s.io/client-go/util/workqueue/parallelizer.go:47 +0xa3
      
      Previous write at 0x00c420894180 by goroutine 186:
        k8s.io/kubernetes/pkg/scheduler.TestSchedulerWithVolumeBinding()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/pkg/scheduler/scheduler_test.go:663 +0x71
        testing.tRunner()
            /usr/lib/golang/src/testing/testing.go:777 +0x16d
      
      Goroutine 156 (running) created at:
        k8s.io/kubernetes/vendor/k8s.io/client-go/util/workqueue.Parallelize()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/vendor/k8s.io/client-go/util/workqueue/parallelizer.go:43 +0x139
        k8s.io/kubernetes/pkg/scheduler/core.(*genericScheduler).findNodesThatFit()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/pkg/scheduler/core/generic_scheduler.go:378 +0xe8a
        k8s.io/kubernetes/pkg/scheduler/core.(*genericScheduler).Schedule()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/pkg/scheduler/core/generic_scheduler.go:131 +0x385
        k8s.io/kubernetes/pkg/scheduler.(*Scheduler).schedule()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/pkg/scheduler/scheduler.go:192 +0xcd
        k8s.io/kubernetes/pkg/scheduler.(*Scheduler).scheduleOne()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/pkg/scheduler/scheduler.go:447 +0x598
        k8s.io/kubernetes/pkg/scheduler.(*Scheduler).(k8s.io/kubernetes/pkg/scheduler.scheduleOne)-fm()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/pkg/scheduler/scheduler.go:182 +0x41
        k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 +0x61
        k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 +0xcd
        k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait.Until()
            /home/avagarwa/upstream-code/gocode/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 +0x5a
      
      Goroutine 186 (running) created at:
        testing.(*T).Run()
            /usr/lib/golang/src/testing/testing.go:824 +0x564
        testing.runTests.func1()
            /usr/lib/golang/src/testing/testing.go:1063 +0xa4
        testing.tRunner()
            /usr/lib/golang/src/testing/testing.go:777 +0x16d
        testing.runTests()
            /usr/lib/golang/src/testing/testing.go:1061 +0x4e1
        testing.(*M).Run()
            /usr/lib/golang/src/testing/testing.go:978 +0x2cd
        main.main()
            _testmain.go:52 +0x22a
      ==================
      --- FAIL: TestSchedulerWithVolumeBinding (18.04s)
      	testing.go:730: race detected during execution of test
      FAIL
      ```
      
      It is pretty easy to reproduce this race by following these steps:
      
      ```
      cd pkg/scheduler
      go test -c -race
      stress -p 100 ./scheduler.test
      ```
      
      Predicate ordering to this unit test was added here: https://github.com/kubernetes/kubernetes/pull/57168
      Since the whole scheduler instance uses just one ordering at time, not sure what is the advantage. 
      
      @kubernetes/sig-scheduling-bugs @bsalamat @k82cn @frobware @smarterclayton @sjenning 
      
      ```release-note
      None
      ```
      89b73711
    • Kubernetes Submit Queue's avatar
      Merge pull request #64125 from yujuhong/add-node-e2e-tags · 690e42b7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 61963, 64279, 64130, 64125, 64049). 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 node-exclusive tags to tests in test/e2e_node
      
      Original issue: #59001
      Depends on: #64128
      
      Add node-exclusive tags based on the [proposal](https://docs.google.com/document/d/1BdNVUGtYO6NDx10x_fueRh_DLT-SVdlPC_SsXjYCHOE/edit#)
      
      Follow-up PRs will:
       - Tag the tests in `test/e2e/common`
       - Change the test job configurations to use the new tests
       - Remove the unused, non-node-exclusive tags in `test/e2e_node`
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      690e42b7
    • Kubernetes Submit Queue's avatar
      Merge pull request #64130 from yujuhong/add-tags-common-e2e · 2470e31b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 61963, 64279, 64130, 64125, 64049). 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 Node-exclusive tags to tests in test/e2e/common
      
      Original issue: #59001
      
      Add node-exclusive tags based on the [proposal](https://docs.google.com/document/d/1BdNVUGtYO6NDx10x_fueRh_DLT-SVdlPC_SsXjYCHOE/edit#)
      
      Previous PR: #64125
      Depends on: #64128
      
      Follow-up PRs will:
       - Change the test job configurations to use the new tests
       - Remove the unused, non-node-exclusive tags in `test/e2e_node`
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      2470e31b
    • Kubernetes Submit Queue's avatar
      Merge pull request #64279 from wangzhen127/dns-seccomp · e9327e50
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 61963, 64279, 64130, 64125, 64049). 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 default seccomp profile for DNS addons.
      
      **What this PR does / why we need it**:
      This PR sets the default seccomp profile of DNS addons to 'docker/default'. This PR is a followup of #62662. We are using 'docker/default' instead of 'runtime/default' in addons in order to handle node version skew. When seccomp profile is applied automatically by default later, we can remove those annotations.
      
      This is PR is part of #39845.
      
      **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
      ```
      e9327e50
    • Kubernetes Submit Queue's avatar
      Merge pull request #61963 from roycaihw/optional-saddress-ccidr · f091073b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 61963, 64279, 64130, 64125, 64049). 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 serverAddressByClientCIDRs in discovery API optional
      
      **What this PR does / why we need it**:
      See https://github.com/kubernetes/kubernetes/issues/61868
      
      **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 #61868
      
      **Special notes for your reviewer**:
      WIP: I'm having trouble updating swagger-spec using our update scripts. Thinking about removing swagger-spec from our code base as it has long passed deprecation. Sending this PR now to see the test results. 
      
      **Release note**:
      
      ```release-note
      Property `serverAddressByClientCIDRs` in `metav1.APIGroup` (discovery API) now become optional instead of required
      ```
      
      /sig api-machinery
      f091073b
    • Mayank Kumar's avatar
      simplify else · 83818ee0
      Mayank Kumar authored
      83818ee0
    • Kubernetes Submit Queue's avatar
      Merge pull request #64275 from mtaufen/dkcfg-beta · d7c40cf6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 63417, 64249, 64242, 64128, 64275). 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>.
      
      graduate DynamicKubeletConfig feature to beta
      
      Everything in the https://github.com/kubernetes/features/issues/281 beta target except a few documentation-related items is complete. Docs should be done very soon, so I'm sending this PR to graduate to beta before freeze.
      
      ```release-note
      The dynamic Kubelet config feature is now beta, and the DynamicKubeletConfig feature gate is on by default. In order to use dynamic Kubelet config, ensure that the Kubelet's --dynamic-config-dir option is set. 
      ```
      
      /cc @luxas
      d7c40cf6
    • Kubernetes Submit Queue's avatar
      Merge pull request #64128 from yujuhong/conformance-txt · 5fa945a1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 63417, 64249, 64242, 64128, 64275). 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>.
      
       conformance testdata: remove tags and trim spaces
      
      **What this PR does / why we need it**:
      To detect whether conformance tests have been changed, the test
      argument with the `ConformanceIt` is recorded to conformance.txt.
      This change remove additional tags (e.g., [Feature:]) and trim spaces,
      so that the detection is less-prone to noise.
      
      **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
      ```
      5fa945a1
    • Kubernetes Submit Queue's avatar
      Merge pull request #64242 from WanLinghao/ctl_print_fix · 7a7ab200
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 63417, 64249, 64242, 64128, 64275). 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 bugs that break processing when printing errors occur in kubectl
      
      **What this PR does / why we need it**:
      The process should continue when error happens, this patch fix the problem
      **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
      ```
      7a7ab200
    • Kubernetes Submit Queue's avatar
      Merge pull request #64249 from hzxuzhonghu/admission-return-StatusError · 6b34d1e5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 63417, 64249, 64242, 64128, 64275). 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>.
      
      resourcequota return StatusError when timeout
      
      Fixes #64244
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      6b34d1e5
    • Kubernetes Submit Queue's avatar
      Merge pull request #63417 from smarterclayton/map_string · 4c227ab8
      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>.
      
      FlagMaps may be nil (prior to being initialized)
      
      Do not panic if they haven't been set yet.
      
      Fixes: #64090
      4c227ab8
    • Kubernetes Submit Queue's avatar
      Merge pull request #64233 from juanvallejo/jvallejo/move-describer-out-of-factory · ac58ee4c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 63319, 64248, 64250, 63890, 64233). 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 Describer from factory
      
      **Release note**:
      ```release-note
      NONE
      ```
      
      Moves `Describer` out of the object_mapping_factory
      
      cc @soltysh @deads2k
      ac58ee4c
    • Kubernetes Submit Queue's avatar
      Merge pull request #63890 from mgugino-upstream-stage/kubectl-cp-add-tests · 9de1db7c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 63319, 64248, 64250, 63890, 64233). 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>.
      
      Additional test coverage for kubectl/cmd/cp
      
      This commit adds some additional test coverage
      for the kubectl cp command.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      9de1db7c
    • Kubernetes Submit Queue's avatar
      Merge pull request #64250 from hzxuzhonghu/clean-code · 52e0d5a9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 63319, 64248, 64250, 63890, 64233). 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>.
      
      replace `__internal` with runtime.APIVersionInternal
      
      **What this PR does / why we need it**:
      
      Replace `__internal` with runtime.APIVersionInternal
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      52e0d5a9
    • Kubernetes Submit Queue's avatar
      Merge pull request #64248 from feiskyer/exact-err-msg · 696430dd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 63319, 64248, 64250, 63890, 64233). 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 reason message logs for non-exist Azure resources
      
      **What this PR does / why we need it**:
      
      In azure_wrap.go the function checkResourceExistsFromError() looks at a received error and determines it to be a ResourceNotFound if the HTTP status is http.StatusNotFound. However, the HTTP status also equals http.StatusNotFound in case of SubscriptionNotFound.
      
      this PR adds logs to indict the real error messages for such case.
      
      **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 #64220 
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Add reason message logs for non-exist Azure resources
      ```
      696430dd
    • Kubernetes Submit Queue's avatar
      Merge pull request #63319 from soundcloud/always-masquerade-service-vips · 9587272e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 63319, 64248, 64250, 63890, 64233). 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>.
      
      Always masquerade node-originating traffic with a service VIP source ip
      
      **What this PR does / why we need it**:
      This is a follow up to make IPVS work on systems without cluster-cidr or masquerade-all.
      On these systems the best matching network / source IP to reach the service VIP is the service VIP itself - at least for the host network.
      The workaround is simple: Everything originating on the host (OUTPUT nat chain) with a source IP that is the VIP should be masqueraded.
      
      The relevant rule change is the first rule in `KUBE-SERVICES`:
      ```
      Chain KUBE-SERVICES (2 references)
       pkts bytes target     prot opt in     out     source               destination         
          0     0 KUBE-MARK-MASQ  all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set KUBE-CLUSTER-IP src,dst
        104  6240 KUBE-MARK-MASQ  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp match-set KUBE-NODE-PORT-TCP dst
      ```
      
      The matching rule could be stricter by matching src(ip),dst(ip),dst(port) but the src ip will only be selected if the VIP should be reached.
      
      **Which issue(s) this PR fixes**
      Fixes #63241
      
      **Special notes for your reviewer**:
      
      **Release note**:
      ```release-note
      NONE
      ```
      9587272e
    • Kubernetes Submit Queue's avatar
      Merge pull request #64247 from sttts/sttts-unstructured-converter-removal · 9c2a4baf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64060, 63904, 64218, 64208, 64247). 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>.
      
      apimachinery: remove unused UnstructuredObjectConverter
      
      This is not in apiextensions-apiserver for CR conversion.
      9c2a4baf
    • Kubernetes Submit Queue's avatar
      Merge pull request #64208 from sttts/sttts-split-up-nop-converter · 88f8c7d1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64060, 63904, 64218, 64208, 64247). 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>.
      
      apiextensions: extract orthortogonal behaviour from nopConve
      
      This is preparation for adding more CR converters. Not every new converter should implement the generic conversion behaviour of CRs.
      
      Fixes parts of https://github.com/kubernetes/kubernetes/issues/64136.
      88f8c7d1
    • Kubernetes Submit Queue's avatar
      Merge pull request #64218 from deads2k/client-11-leaderconfig · 151fe855
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64060, 63904, 64218, 64208, 64247). 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>.
      
      prevent zero for leader election timeouts
      
      Add conditional checks for a stupid error that took me 20 minutes to find.
      
      I don't see a reason to allow zero for any of the leader election tuning params
      
      ```release-note
      NONE
      ```
      151fe855
    • Kubernetes Submit Queue's avatar
      Merge pull request #63904 from hzxuzhonghu/gce-alpha-feature · e299a5ea
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64060, 63904, 64218, 64208, 64247). 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>.
      
      Revert enable PodPreset admission and also enable settings.k8s.io/v1a…
      
      …lpha1 api resource
      
      
      
      **What this PR does / why we need it**:
      
      Enable PodPreset admission for there are alpha feature test cases covering it.  Simultaneously enable sttings.k8s.io/v1alpha1 api resource.
      
      Fixes #63843 
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      e299a5ea
    • Kubernetes Submit Queue's avatar
      Merge pull request #64060 from resouer/fix-knob · 413ca86d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64060, 63904, 64218, 64208, 64247). 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 knob of equiv class in perf test
      
      **What this PR does / why we need it**:
      
      The ecache knob is controlled by feature gate now:
      ```go
      
      // createSchedulerConfigurator create a configurator for scheduler with given informer factory and default name.
      func createSchedulerConfigurator(
      	clientSet clientset.Interface,
      	informerFactory informers.SharedInformerFactory,
      ) scheduler.Configurator {
      	// Enable EnableEquivalenceClassCache for all integration tests.
      	utilfeature.DefaultFeatureGate.Set("EnableEquivalenceClassCache=true")
      ```
      We don't need to pass a flag (and it is not used).
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      413ca86d
  2. 24 May, 2018 14 commits