Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Dev Containers / Github Codespaces #120551

Closed
wants to merge 651 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Oct 27, 2023

  1. test: fix boilerplate

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    2493931 View commit details
    Browse the repository at this point in the history
  2. cleanup: add godoc

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    caded80 View commit details
    Browse the repository at this point in the history
  3. cleanup: consistent interface{} and any

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    39db883 View commit details
    Browse the repository at this point in the history
  4. cleanup: clarify correlatedOldValueForChildAtNewIndex comment

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    9e7e309 View commit details
    Browse the repository at this point in the history
  5. cleanup: consistently support nil receiver and document

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    933b3e1 View commit details
    Browse the repository at this point in the history
  6. cleanup: use swtich in CachedDeepEqual and add more comments

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    3249a06 View commit details
    Browse the repository at this point in the history
  7. comments: clear up correlateOldValueForChildAtNewIndex godoc

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    3c2a0f7 View commit details
    Browse the repository at this point in the history
  8. ratcheting: disable correlation by index

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    66b92fe View commit details
    Browse the repository at this point in the history
  9. k8s.io/apiserver/storage: add a new TestCreate case.

    Add a test case of create with rv set.
    
    Signed-off-by: Siyuan Zhang <sizhang@google.com>
    siyuanfoundation authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f0cee2b View commit details
    Browse the repository at this point in the history
  10. fix limitrange flaky test

    carlory authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c8ef635 View commit details
    Browse the repository at this point in the history
  11. remove GAed FG DownwardAPIHugePages

    pacoxu authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    daa3b98 View commit details
    Browse the repository at this point in the history
  12. Fix v3 spec

    Jefftree authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    97e0ba1 View commit details
    Browse the repository at this point in the history
  13. bump kube-openapi

    Jefftree authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    ad85563 View commit details
    Browse the repository at this point in the history
  14. remove deprecated framework.ExpectNotEqual for node

    Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
    bzsuni authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    81f3b84 View commit details
    Browse the repository at this point in the history
  15. cri-api: compress OWNERS files

    as that seems more in line with the intention of these files
    
    Signed-off-by: Peter Hunt <pehunt@redhat.com>
    haircommander authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    11756d8 View commit details
    Browse the repository at this point in the history
  16. Keep PLEG interruptions in a separate interface

    Signed-off-by: Harshal Patil <harpatil@redhat.com>
    Co-authored-by: Ed Bartosh <eduard.bartosh@intel.com>
    2 people authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    ddf18a0 View commit details
    Browse the repository at this point in the history
  17. add validation for static pods to have a name

    Signed-off-by: Liang Deng <283304489@qq.com>
    YTGhost authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    8f9a459 View commit details
    Browse the repository at this point in the history
  18. track unmaintained repo - mailru/easyjson

    Signed-off-by: Davanum Srinivas <davanum@gmail.com>
    dims authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    1c0dc37 View commit details
    Browse the repository at this point in the history
  19. kubeadm: remove ClusterConfiguration parameter from preflight check

    Signed-off-by: Dave Chen <dave.chen@arm.com>
    chendave authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    ad0767b View commit details
    Browse the repository at this point in the history
  20. kube-apiserver: move cloud provider validation into options

    Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
    sttts authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    57ade7c View commit details
    Browse the repository at this point in the history
  21. Remove GA featuregate about ProbeTerminationGracePeriod in 1.29

    Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
    bzsuni authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    24cf6d7 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    97b8377 View commit details
    Browse the repository at this point in the history
  23. kubeadm: fix "eliptic" typo in API package

    Should be "elliptic".
    neolit123 authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f4932ba View commit details
    Browse the repository at this point in the history
  24. Add runtime handler field to ImageSpec

    Will be used by changes for image pull per runtime class in KEP 4216
    
    Signed-off-by: kiashok <kiashok@microsoft.com>
    kiashok authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    d34d004 View commit details
    Browse the repository at this point in the history
  25. Update cri-api change in v1.29.0

    Signed-off-by: kiashok <kiashok@microsoft.com>
    kiashok authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    2ff9849 View commit details
    Browse the repository at this point in the history
  26. k8s.io/apiserver/storage: add 3 new unit tests for delete.

    Signed-off-by: Siyuan Zhang <sizhang@google.com>
    siyuanfoundation authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    3ee447d View commit details
    Browse the repository at this point in the history
  27. Revert "kubeadm: FeatureGate MergeCLIArgumentsWithConfig is added for…

    … ignorePreflightErrors"
    pacoxu authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    a16b415 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    66fe00a View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    d7b3e00 View commit details
    Browse the repository at this point in the history
  30. staging/apiserver: correct KubeConfigFile type in authorization types

    Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
    palnabarun authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    bf2b863 View commit details
    Browse the repository at this point in the history
  31. unittests: Fixes hostutil.GetFileType for Windows

    GetFileType is meant to return the type of the given file by using os.Stat.
    However, os.Stat doesn't work on Windows for Unix Sockets, causing an error to occur:
    
    [2-Socket Test] unexpected error :
    CreateFile C:\Users\Administrator\AppData\Local\Temp\test-get-filetype-2776877299\mt.sock:
    The file cannot be accessed by the system.
    
    This is a known issue and we're already using a workaround for this in
    pkg/kubelet/util/util_windows.go.
    
    This commit fixes this issue for GetFileType on Windows.
    claudiubelu authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    cb0b348 View commit details
    Browse the repository at this point in the history
  32. Match on cri-o socket suffix only

    This deals with the case that a user can configure cri-o to use
    /run/crio/crio.sock and get very confusing behavior.
    
    See cri-o/cri-o#7010 (comment)
    dgl authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f2ca00a View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    1bdb071 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    6c8c126 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    e5f782a View commit details
    Browse the repository at this point in the history
  36. Set gate SkipReadOnlyValidationGCE to Deprecated

    This was created as alpha (off by default) but should probably have used
    the "Deprecated" setting.  Changing it now makes it on by default and
    still disable-able.
    thockin authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    056b73a View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    f5cbac8 View commit details
    Browse the repository at this point in the history
  38. Job: Handle error returned from AddEventHandler function (kubernetes#…

    …119917)
    
    * Job: Handle error returned from AddEventHandler function
    
    Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    
    * Use the error message the similar to CronJob
    
    Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    
    * Clean up error messages
    
    Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    
    * Put the tesing.T on the second place in the args for the newControllerFromClient function
    
    Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    
    * Put the testing.T on the second place in the args for the newControllerFromClientWithClock function
    
    Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    
    * Call t.Helper()
    
    Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    
    * Put the testing.TB on the second place in the args for the createJobControllerWithSharedInformers function and call tb.Helper() there
    
    Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    
    * Put the testing.TB on the second place in the args for the startJobControllerAndWaitForCaches function and call tb.Helper() there
    
    Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    
    * Adapt TestFinializerCleanup to the eventhandler error
    
    Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    
    ---------
    
    Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    tenzen-y authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    aba08be View commit details
    Browse the repository at this point in the history
  39. fix possible panic if pod replacement policy is turned on and jobs do…

    … not set pod replacement policy
    kannon92 authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c9458f4 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    231279e View commit details
    Browse the repository at this point in the history
  41. kubelet: fix comment typo

    champly authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    9db07d4 View commit details
    Browse the repository at this point in the history
  42. set maxLength to longest enum.

    jiahuif authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    baedffd View commit details
    Browse the repository at this point in the history
  43. skip CEL validations for enum violation.

    jiahuif authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    dedaa5e View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    611cfea View commit details
    Browse the repository at this point in the history
  45. cleanup: add new test cases for failed pod replacement policy instead…

    … of editing existing ones
    dejanzele authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    80cd5ad View commit details
    Browse the repository at this point in the history
  46. fix: typo in indexed & non-indexed completion policies for failed pod…

    … replacement policy integration tests
    dejanzele authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    5b0bb69 View commit details
    Browse the repository at this point in the history
  47. fix: improve PodReplacementPolicy integration test case names and upd…

    …ate deprecated methods
    dejanzele authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    6e53e88 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    61f791e View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    bb31f7a View commit details
    Browse the repository at this point in the history
  50. Fix panic if there are more terminating pods than active pods

    Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
    2 people authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    7b02ecc View commit details
    Browse the repository at this point in the history
  51. Remove GAed feature gates TopologyManager

    Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
    tukwila authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    71a1cc5 View commit details
    Browse the repository at this point in the history
  52. kubeadm: remove reference to UnknownCRISocket from getInitConfigurati…

    …onFromCluster
    SataQiu authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    7fb4e06 View commit details
    Browse the repository at this point in the history
  53. kubeadm: increase ut coverage for bootstraptoken/node

    Signed-off-by: xin.li <xin.li@daocloud.io>
    my-git9 authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    fde7763 View commit details
    Browse the repository at this point in the history
  54. Correct the label selector used in TestSampleAPIServer

    TestSampleAPIServer tried to validate APIService deletion, but it used
    an unmatched selector to delete and list APIServices, which essentially
    validated nothing.
    
    Signed-off-by: Quan Tian <qtian@vmware.com>
    tnqn authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    2663ed1 View commit details
    Browse the repository at this point in the history
  55. Unregister group path from apiserver when the group no longer exists

    After a CRD or an APIService was deleted, the corresponding group was
    never unregistered. It caused a stale entry to remain in the root path
    and could potentially lead to memory leak as the groupDiscoveryHandler
    was never released and the handledGroups was never cleaned up.
    
    The commit implements the cleanup. It tracks each group's usage and
    unregister the a group when there is no version for this group.
    
    Signed-off-by: Quan Tian <qtian@vmware.com>
    tnqn authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    33f2b82 View commit details
    Browse the repository at this point in the history
  56. add feature gates for authorization config

    Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
    palnabarun authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    ccf9669 View commit details
    Browse the repository at this point in the history
  57. Add --authorization-config flag to apiserver

    Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
    palnabarun authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    8b9b69d View commit details
    Browse the repository at this point in the history
  58. Add basic authz config integration test

    liggitt authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    41b7243 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    570ed28 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    6ffe21f View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    34c4510 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    f37cd8b View commit details
    Browse the repository at this point in the history
  63. kubelet/userns: Add more unit tests

    This covers all public methods and overall test coverage is above 80%
    again.
    
    Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
    rata authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    80d991c View commit details
    Browse the repository at this point in the history
  64. update pretty param description

    carlory authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    250d00b View commit details
    Browse the repository at this point in the history
  65. Job: Replace deprecated wait functions with supported one

    Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    tenzen-y authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    75f4e91 View commit details
    Browse the repository at this point in the history
  66. e2e: move AllNodesReady check to DeferCleanup

    Some test cases can make nodes not ready and use DeferCleanup to bring
    nodes back online. Checking if all nodes are online would fail
    in such cases as AfterEach runs before DeferCleanup.
    
    Scheduling nodes readines check to DeferCleanup should solve this
    issue as nodes would be brought back to a `Ready` state before the
    check.
    pohly authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    5587ebc View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    25dfeb1 View commit details
    Browse the repository at this point in the history
  68. k8s.io/kms: drop direct dependency on klog

    Signed-off-by: Monis Khan <mok@microsoft.com>
    enj authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    305df48 View commit details
    Browse the repository at this point in the history
  69. fix Huge Pages failing test

    carlory authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    ade8717 View commit details
    Browse the repository at this point in the history
  70. kubelet: perform the admission checks that preemption will not help f…

    …irst to avoid meaningless pod eviction
    SataQiu authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    145f820 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    df97b88 View commit details
    Browse the repository at this point in the history
  72. kubelet/lifecycle handlers: refactor port resolver

    Changes the three test cases for port resolver test to a table test
    instead.
    
    Signed-off-by: Victor Palade <victor@cloudflavor.io>
    PI-Victor authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    70ff5e9 View commit details
    Browse the repository at this point in the history
  73. Add --extra-peer in conversion in kube_codegen

    This is not used internally, but is needed by external projects which
    use the old script, making this sort of a regression.
    thockin authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    b6157c2 View commit details
    Browse the repository at this point in the history
  74. Populate CRI filesystem info error

    Usually we just log the error but since it's used by the GC we now
    populate it up the call stack.
    
    Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
    saschagrunert authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    1d4c88f View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    14cd77d View commit details
    Browse the repository at this point in the history
  76. Remove GAed feature gates SeccompDefault

    Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
    tukwila authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    36d6c9e View commit details
    Browse the repository at this point in the history
  77. Move grpc rate limitter from podresource folder

    Rate limitter.go file is a generic file implementing
    grpc Limiter interface. This file can be reuse by other gRPC
    API not only by podresource.
    
    Change-Id: I905a46b5b605fbb175eb9ad6c15019ffdc7f2563
    kl52752 authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    d4ae6be View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    a16e3e1 View commit details
    Browse the repository at this point in the history
  79. scheduler/nodeaffinity: reduce pod scheduling latency

    Co-authored-by: Kensei Nakada <handbomusic@gmail.com>
    2 people authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    022462c View commit details
    Browse the repository at this point in the history
  80. Fix issue in enabling evented pleg feature gate

    Fixes kubernetes#120941
    GetNewerThan() call isn't blocking until the pod status/cache is updated and returning the empty pod status.
    Hence, whenever the `SyncLoop ADD/UPDATE/RECONCILE` functions are called multiple times in a very less time interval,
    Kubelet calls multiple `CreateContainer` CRI api that results in the creation of duplicate containers within a given pod.
    The initially created conainer keeps `Running` and the later container keeps `Exiting` and hence resulting the pod in `CrashLoopBackOff` state forever
    
    Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
    sairameshv authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    881077a View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    b1534a7 View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    e973388 View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    ca4bbec View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    ad10af5 View commit details
    Browse the repository at this point in the history
  85. generated: UPDATE_COMPATIBILITY_FIXTURE_DATA

    (cd staging/src/k8s.io/api/ && env UPDATE_COMPATIBILITY_FIXTURE_DATA=true go test)
    jiahuif authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    92a8abb View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    d5fd165 View commit details
    Browse the repository at this point in the history
  87. e2e: add more feature definitions

    pohly authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    edec0c0 View commit details
    Browse the repository at this point in the history
  88. Undeprecated kubelet cloud-provider flag

    liggitt authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c5b2843 View commit details
    Browse the repository at this point in the history
  89. e2e apimachinery: use feature gate

    Using the feature gate has the advantage that the stability tag gets added
    automatically and no changes are needed when graduating it. Once it reaches GA,
    the tag needs to be removed together with the feature gate.
    
    In fact, the current `[ALPHA]` is already wrong: the feature has already
    graduated to beta...
    pohly authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    e7cc34f View commit details
    Browse the repository at this point in the history
  90. pin openapi

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    56b4548 View commit details
    Browse the repository at this point in the history
  91. update generated code and openapi

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f0ae508 View commit details
    Browse the repository at this point in the history
  92. use PollUntilContextTimeout to replace PollImmediateWithContext in test

    Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
    bzsuni authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    7d860dc View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    a6755b9 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    7e85bdb View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    9693ba4 View commit details
    Browse the repository at this point in the history
  96. update versioned types

    dprotaso authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    da6651f View commit details
    Browse the repository at this point in the history
  97. Promote KEP-2681 to beta in 1.29

    wzshiming authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    506a2a4 View commit details
    Browse the repository at this point in the history
  98. bump golang.org/grpc to v1.56.3

    Bumping golang.org/grpc in light of CVE-2023-44487.
    
    Signed-off-by: Jonathan Gonzalez V <jonathan.abdiel@gmail.com>
    sxd authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    4af7e98 View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    eb7422b View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    e0d4b55 View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    fa557c1 View commit details
    Browse the repository at this point in the history
  102. DRA: e2e: test non-graceful node shutdown

    bart0sh authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    53924e2 View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    9c5fe8e View commit details
    Browse the repository at this point in the history
  104. e2e framework: allow random ordering of tags and text, fix some funct…

    …ions
    
    There are some tests which want to insert a tag before the main Describe text,
    for example:
       sigDescribe("[Feature:Windows] Cpu Resources [Serial]",
                   skipUnlessWindows(func() { ... })
    
    In order to support this without change existing test names, it must be
    possible to do this instead:
       sigDescribe(feature.Windows, "Cpu Resources", framework.WithSerial(),
                   skipUnlessWindows(func() { ... })
    
    There are similar examples for the other functions.
    
    While at it, replace one left-over panic with ReportBug and add the missing
    `NodeFeature:` prefix.
    pohly authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    70b9adb View commit details
    Browse the repository at this point in the history
  105. Configuration menu
    Copy the full SHA
    34fed07 View commit details
    Browse the repository at this point in the history
  106. locking feature-gate for ready pods job status

    Anton Stuchinskii authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    9b55152 View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    0909aee View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    1699c0e View commit details
    Browse the repository at this point in the history
  109. fix based on reviews

    sanposhiho authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    e7e2259 View commit details
    Browse the repository at this point in the history
  110. e2e test for checking ready of job status

    Anton Stuchinskii authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    6c4e3a0 View commit details
    Browse the repository at this point in the history
  111. Configuration menu
    Copy the full SHA
    93e8a97 View commit details
    Browse the repository at this point in the history
  112. Configuration menu
    Copy the full SHA
    b2c4b23 View commit details
    Browse the repository at this point in the history
  113. kubelet/sysctl: update log level

    cyclinder authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    105db58 View commit details
    Browse the repository at this point in the history
  114. registry/core: wire NotFound getter instead of nil

    Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
    sttts authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c95c82c View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    79f907b View commit details
    Browse the repository at this point in the history
  116. Configuration menu
    Copy the full SHA
    ccb0a6e View commit details
    Browse the repository at this point in the history
  117. Configuration menu
    Copy the full SHA
    003a228 View commit details
    Browse the repository at this point in the history
  118. cleanup: check unstructured for Validate(Update) before validating

    logic is the same. sets us up for another refactor
    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    52316c6 View commit details
    Browse the repository at this point in the history
  119. cleanup: remove unused versions of cel validators and structural sche…

    …mas from CRD strategy
    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    b371bf2 View commit details
    Browse the repository at this point in the history
  120. cleanup: move unstructured check earlier in status update

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    20db533 View commit details
    Browse the repository at this point in the history
  121. fix typo

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    10fe7fe View commit details
    Browse the repository at this point in the history
  122. node: sample-dp: register by default and re-register on restarts

    In issue: 115107 we added an environment variable to control the registration of sample
    device plugin to kubelet. The intent of this patch is to ensure that the default
    behaviour of the plugin is to register to kubelet (in case no environment
    variable is specified).
    
    In addition to that, we want to ensure that the plugin registers itself not just once.
    It should re-register itself to kubelet in case of node reboot or kubelet restarts.
    
    Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
    swatisehgal authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    5bfb713 View commit details
    Browse the repository at this point in the history
  123. node: sample-dp: Handle re-registration for controlled registrations

    In case `REGISTER_CONTROL_FILE` is specified, we want to ensure that the
    registration is triggered by deletion of the control file. This is
    applicable both when the registration happens for the first time and
    subsequent ones because of kubelet restarts.
    
    Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
    swatisehgal authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    92422e8 View commit details
    Browse the repository at this point in the history
  124. node: sample-dp: stubRegisterControlFunc for controlling registration

    If the user specifies the intent to control registration process, we rely on
    registration triggers (deletion of control file) to prompt registration.
    
    This behvaiour is expected to be consistent across kubelet restarts and therefore
    across the watch calls where we watch for changes to the unix socket so we make
    this part of Stub object instead of a parameter.
    
    Co-authored-by: Francesco Romani <fromani@redhat.com>
    Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
    2 people authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    8881b3f View commit details
    Browse the repository at this point in the history
  125. node: sample-dp: set default value for pluginSocksDir

    Setting a reasonable default in case `PLUGIN_SOCK_DIR`
    environment variable is not specified.
    
    Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
    swatisehgal authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    166e353 View commit details
    Browse the repository at this point in the history
  126. node: sample-dp: Use fsnotify for kubelet restart detection

    Add kubeletSocket file to fsnotify instead of polling and waiting for deletion
    of device plugin unix socket as a way of detecting kubelet restart. We need to
    ensure that the device plugin re-registers itself after kubelet restart depending
    on the configured registration mode (auto-registration or controller registration).
    
    Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
    swatisehgal authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    33e25f8 View commit details
    Browse the repository at this point in the history
  127. node: sample-dp: Add retry to handle device plugin restart failure

    Add retry mechanism to handle cases where after kubelet restarts, the device
    plugin unix socket(s) were created but not ready to serve yet.
    
    Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
    swatisehgal authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    350cf69 View commit details
    Browse the repository at this point in the history
  128. KEP-3638: Promote plugin resolution to beta (kubernetes#120663)

    * Promote plugin resolution to beta
    
    * Not use plugin for kubectl create -f command execution
    
    `kubectl create -f` is legitimate command execution and we shouldn't
    search plugins if user invokes this.
    
    * Add integration test for plugin resolution for create command
    
    * Reintroduce feature flag to ability to disable it explicitly
    ardaguclu authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    427275e View commit details
    Browse the repository at this point in the history
  129. client-go/reflector: introduce a data consistency mechanism for the w…

    …atch-list feature.
    
    checkWatchListConsistencyIfRequested performs a data consistency check only when
    the KUBE_WATCHLIST_INCONSISTENCY_DETECTOR environment variable was set during a binary startup.
    
    The consistency check is meant to be enforced only in the CI, not in production.
    The check ensures that data retrieved by the watch-list api call
    is exactly the same as data received by the standard list api call.
    
    Note that this function will panic when data inconsistency is detected.
    This is intentional because we want to catch it in the CI.
    p0lyn0mial authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    919edf6 View commit details
    Browse the repository at this point in the history
  130. Configuration menu
    Copy the full SHA
    ae3e4c9 View commit details
    Browse the repository at this point in the history
  131. Restrict supported media types for new apiservers.

    This is to prevent the enablement of new data formats (CBOR) in the early stages of phased
    implementation.
    benluddy authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    de4cd58 View commit details
    Browse the repository at this point in the history
  132. Configuration menu
    Copy the full SHA
    0b33627 View commit details
    Browse the repository at this point in the history
  133. Configuration menu
    Copy the full SHA
    159af44 View commit details
    Browse the repository at this point in the history
  134. calculate sidecar container resource in pod autoscaler

    Signed-off-by: qingwave <isguory@gmail.com>
    qingwave authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    aeb5c82 View commit details
    Browse the repository at this point in the history
  135. fix test name

    qingwave authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f72aa0c View commit details
    Browse the repository at this point in the history
  136. configure npd to run as daemonset on cos

    upodroid authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    76a9877 View commit details
    Browse the repository at this point in the history
  137. e2e: add [Environment:NotInUserNS] tag to sysctl tests

    The sysctl tests have to be skipped when the node components are running in UserNS,
    because the tests fail due to `open /proc/sys/kernel/shm_rmid_forced: permission denied`
    (as expected).
    
    Can be verified with Rootless kind (https://kind.sigs.k8s.io/docs/user/rootless/):
    ```
    dockerd-rootless-setuptool.sh install
    
    : The following steps are added because 'kubetest2 kind --build' does not seem to build e2e.test and ginkgo
    make WHAT=test/e2e/e2e.test
    make ginkgo
    cp -f _output/bin/{e2e.test,ginkgo} _output/dockerized/bin/linux/amd64
    
    kubetest2 kind --build --up --down --test=ginkgo -- \
      --use-built-binaries \
      --focus-regex='\[NodeConformance\]' \
      --skip-regex='\[Environment:NotInUserNS\]'
    ```
    
    Test with the following host environment:
    - kubernetes-sigs/kind@ac28d7f (main)
    - kubernetes-sigs/kubetest2@89f09b6 (master)
    - Docker 24.0.6
    - Ubuntu 22.04 amd64, kernel 5.15
    
    Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
    AkihiroSuda authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    b8e557f View commit details
    Browse the repository at this point in the history
  138. Graduate BackoffLimitPerIndex to Beta

    mimowo authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    5ebc5fc View commit details
    Browse the repository at this point in the history
  139. Update staging/src/k8s.io/api/batch/v1/types.go

    Co-authored-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
    2 people authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    a81efe7 View commit details
    Browse the repository at this point in the history
  140. cleanup: remove useless test

    sanposhiho authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    32e117b View commit details
    Browse the repository at this point in the history
  141. reducae function calling to once

    Signed-off-by: lowang-bh <lhui_wang@163.com>
    lowang-bh authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    0df9737 View commit details
    Browse the repository at this point in the history
  142. dra: refactoring overall flow of prepare/unprepare resources

    Signed-off-by: TommyStarK <thomasmilox@gmail.com>
    TommyStarK authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    04de973 View commit details
    Browse the repository at this point in the history
  143. [KMSv2] Drop the apimachinery

    pegasas authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    d4a9e6d View commit details
    Browse the repository at this point in the history
  144. Revert "Promote KEP-2681 to beta in 1.29"

    This reverts commit 33f2d48.
    aojea authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    049921c View commit details
    Browse the repository at this point in the history
  145. dra scheduler: fall back to SSA for PodSchedulingContext updates

    During scheduler_perf testing, roughly 10% of the PodSchedulingContext update
    operations failed with a conflict error. Using SSA would avoid that, but
    performance measurements showed that this causes a considerable
    slowdown (primarily because of the slower encoding with JSON instead of
    protobuf, but also because server-side processing is more expensive).
    
    Therefore a normal update is tried first and SSA only gets used when there has
    been a conflict. Using SSA in that case instead of giving up outright is better
    because it avoids another scheduling attempt.
    pohly authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c7bc6c8 View commit details
    Browse the repository at this point in the history
  146. Fix: do not assign an empty value to the resource (CPU or memory) if …

    …it's not defined in the container
    aheng-ch authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    7f1e84f View commit details
    Browse the repository at this point in the history
  147. tests: fixes flake in TestEncryptionConfigHotReload

    Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
    nilekhc authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    6fed99c View commit details
    Browse the repository at this point in the history
  148. ratcheting: ratchet CEL expressions for no-op updates

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    074cb35 View commit details
    Browse the repository at this point in the history
  149. WIP: don't exclude .git from rsync

    BenTheElder authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    92dee7d View commit details
    Browse the repository at this point in the history
  150. cleanup: omit comparison with bool constants

    Signed-off-by: tao.yang <tao.yang@daocloud.io>
    ty-dc authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c60e860 View commit details
    Browse the repository at this point in the history
  151. Graduate ReadWriteOncePod to GA

    chrishenzie authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    bace36f View commit details
    Browse the repository at this point in the history
  152. Update npd version to 0.8.13 in configure.sh

    Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
    bzsuni authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f1cbd46 View commit details
    Browse the repository at this point in the history
  153. e2e storage: remove dot at end of ginkgo.It text

    This is unusual and complicates the upcoming refactoring of test definitions.
    pohly authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    251da36 View commit details
    Browse the repository at this point in the history
  154. e2e storage: use framework to tag tests

    This makes it possible to select tests through `ginkgo --label-filter`
    also for the custom labels.
    pohly authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    7353899 View commit details
    Browse the repository at this point in the history
  155. Fix spelling

    soltysh authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    be670e0 View commit details
    Browse the repository at this point in the history
  156. Modify mostRecentScheduleTime to return more detailed information abo…

    …ut missed schedules
    
    Initially this method was returning a number of missed schedules, but
    that turned out to be not reliable for some complex schedules. For
    example, those which are being run only during week days. The second
    approach was to only return a boolean indicating the too many missed
    information. It turns out that we need to return all three values:
    none missed, few missed and many missed, to let consumers know what to
    do, but don't leak the wrong number out of mostRecentScheduleTime.
    soltysh authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    1445419 View commit details
    Browse the repository at this point in the history
  157. Configuration menu
    Copy the full SHA
    199ad95 View commit details
    Browse the repository at this point in the history
  158. Configuration menu
    Copy the full SHA
    cd1af5c View commit details
    Browse the repository at this point in the history
  159. chore: slice replace loop

    testwill authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c0f9f0e View commit details
    Browse the repository at this point in the history
  160. Fix tracking of terminating Pods when nothing else changes (kubernete…

    …s#121342)
    
    * cleanup: refactor pod replacement policy integration test into staged assertion
    
    * cleanup: remove typo in job_test.go
    
    * refactor PodReplacementPolicy test and remove test for defaulting the policy
    
    * fix issue with missing update in job controller for terminating status and refactor pod replacement policy integration test
    
    * use t.Cleanup instead of defer in PodReplacementPolicy integration tests
    
    * revert t.Cleanup to defer for reseting feature flag in PodReplacementPolicy integration tests
    dejanzele authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    0a3aa7b View commit details
    Browse the repository at this point in the history
  161. Configuration menu
    Copy the full SHA
    7e54b0e View commit details
    Browse the repository at this point in the history
  162. Configuration menu
    Copy the full SHA
    e6ded6c View commit details
    Browse the repository at this point in the history
  163. Remove disablePaging param

    wojtek-t authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    4980051 View commit details
    Browse the repository at this point in the history
  164. Remove storageConfig.Paging parameter

    wojtek-t authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    658ed94 View commit details
    Browse the repository at this point in the history
  165. Cleanup paging parameters in etcd3 store

    wojtek-t authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    591e8df View commit details
    Browse the repository at this point in the history
  166. Configuration menu
    Copy the full SHA
    b62cae7 View commit details
    Browse the repository at this point in the history
  167. add container filesystem to CRI api

    Co-authored-by: Mike Brown <brownwm@us.ibm.com>
    2 people authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    66e16fe View commit details
    Browse the repository at this point in the history
  168. Configuration menu
    Copy the full SHA
    eae550f View commit details
    Browse the repository at this point in the history
  169. Configuration menu
    Copy the full SHA
    8c7cc62 View commit details
    Browse the repository at this point in the history
  170. Configuration menu
    Copy the full SHA
    a6fa030 View commit details
    Browse the repository at this point in the history
  171. add integration tests

    kannon92 authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    690653c View commit details
    Browse the repository at this point in the history
  172. Add unit tests for subdomain match in keyring

    This ensures that the amount of subdomains should always match the
    glob+dot (`*.`) pattern.
    
    Refers to kubernetes#119941
    
    Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
    saschagrunert authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    bf9b430 View commit details
    Browse the repository at this point in the history
  173. Bumped the fsnotify from version v1.6.0 to v1.7.0

    Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
    bzsuni authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f697275 View commit details
    Browse the repository at this point in the history
  174. Configuration menu
    Copy the full SHA
    3ae399e View commit details
    Browse the repository at this point in the history
  175. cleanup UnknownCRISocket for unit tests

    SataQiu authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    8a836eb View commit details
    Browse the repository at this point in the history
  176. use the latest semver version for the badge

    Signed-off-by: Davanum Srinivas <davanum@gmail.com>
    dims authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    10fdbbc View commit details
    Browse the repository at this point in the history
  177. Remove unnecessary GetIndexer

    Signed-off-by: kerthcet <kerthcet@gmail.com>
    kerthcet authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    1887aa4 View commit details
    Browse the repository at this point in the history
  178. Fix unit test

    wzshiming authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    6f70db1 View commit details
    Browse the repository at this point in the history
  179. remove data race on the devicemanager client plugin

    Change-Id: I45b85440a792e5ed2f75a344ec1f0332854d8d6d
    aojea authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    ccbe40b View commit details
    Browse the repository at this point in the history
  180. revert: reverts fixes for TestEncryptionConfigHotReload flake

    Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
    nilekhc authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    47bca28 View commit details
    Browse the repository at this point in the history
  181. test: fixes hot reload flake

    Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
    nilekhc authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    e8e34ee View commit details
    Browse the repository at this point in the history
  182. Add volume plugin label to SELinux metrics

    Record volume plugin name when a volume in a Pod needs a different
    "mount -o context" value than the actually mounted one.
    
    We expect that NFS, CIFS and CephFS volumes would be able to mount such
    volumes just fine with multiple "-o context" values.
    
    We know that the block-volume based ones (ext4, xfs, btrfs, ...) cannot do
    that.
    
    Therefore want to distinguish the volume plugin in metrics, anything
    block-volume based could break an existing application.
    jsafrane authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    5ba8dbd View commit details
    Browse the repository at this point in the history
  183. Fix typos in markdown

    calvinballing authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    4c9c4ae View commit details
    Browse the repository at this point in the history
  184. Add e2e test for backoffLimitPerIndex

    mimowo authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    6e2fec6 View commit details
    Browse the repository at this point in the history
  185. Move SELinux warning metric to be counted once per pod

    volume_manager_selinux_volume_context_mismatch_warnings_total should be
    counted only once per volume + pod. The previous location is evaluated
    periodically, so bump the metric only when a new pod is added to volume.
    jsafrane authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    3208331 View commit details
    Browse the repository at this point in the history
  186. Fix SELinux unit tests

    Use device mountable volume, to make it impossible to share the same global
    mount with different SELinux contexts.
    
    And fix pod2Name to actually refer to pod2.
    jsafrane authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    b8f4bd8 View commit details
    Browse the repository at this point in the history
  187. Remove independent tests for metrics

    Change-Id: Ibefebf95df47c68e6752e85c61fface9f06cbd38
    alculquicondor authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    7e8e4a5 View commit details
    Browse the repository at this point in the history
  188. Use a wider-range of metric buckets for PodStartDuration

    Signed-off-by: ruiwen-zhao <ruiwen@google.com>
    ruiwen-zhao authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    4bfdb3a View commit details
    Browse the repository at this point in the history
  189. Configuration menu
    Copy the full SHA
    1f2681c View commit details
    Browse the repository at this point in the history
  190. kube-proxy: Optionally do privileged configs only

    A new --init-only flag is added tha makes kube-proxy perform
    configuration that requires privileged mode and exit. It is
    intended to be executed in a privileged initContainer, while
    the main container may run with a stricter securityContext
    uablrek authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    9348bb6 View commit details
    Browse the repository at this point in the history
  191. [KMSv2] Add tracing

    Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
    aramase authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c55bc68 View commit details
    Browse the repository at this point in the history
  192. kubelet/images: refactor freeImage and imagesInEvictionOrder

    Signed-off-by: Peter Hunt <pehunt@redhat.com>
    haircommander authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c5c6395 View commit details
    Browse the repository at this point in the history
  193. kubelet/images: refactor image gc unit tests

    Signed-off-by: Peter Hunt <pehunt@redhat.com>
    haircommander authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    958898a View commit details
    Browse the repository at this point in the history
  194. kubelet: add and use ImageMaximumGCAge in KubeletConfiguration

    Signed-off-by: Peter Hunt <pehunt@redhat.com>
    haircommander authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    58566f5 View commit details
    Browse the repository at this point in the history
  195. kubelet config validation: add validation for image max gc age

    Signed-off-by: Peter Hunt <pehunt@redhat.com>
    haircommander authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    0b3c3a0 View commit details
    Browse the repository at this point in the history
  196. kubelet/images: add and use freeOldImages function

    to free images older than configured ImageGCMaximumAge
    
    Signed-off-by: Peter Hunt <pehunt@redhat.com>
    haircommander authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    074acfb View commit details
    Browse the repository at this point in the history
  197. kubelet/images: add unit test for MaxAge

    Signed-off-by: Peter Hunt <pehunt@redhat.com>
    haircommander authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    cdd5b21 View commit details
    Browse the repository at this point in the history
  198. metrics: add and use ImageGarbageCollectedTotal

    to help find MaxAge thresholds and detect image addition/removal thrashing
    
    Signed-off-by: Peter Hunt <pehunt@redhat.com>
    haircommander authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    77e2d05 View commit details
    Browse the repository at this point in the history
  199. Configuration menu
    Copy the full SHA
    194163f View commit details
    Browse the repository at this point in the history
  200. add variadic options to ValidateUpdate

    stays API compatible while allowing us to pass in our CorrelatedObject
    
    va
    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    e5f98b9 View commit details
    Browse the repository at this point in the history
  201. fix usage

    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    7953e63 View commit details
    Browse the repository at this point in the history
  202. fetch a shared correlated object off the validation options if it exists

    c
    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    2044539 View commit details
    Browse the repository at this point in the history
  203. ratcheting: provide a shared correlated object

    will be shared with CEL and used for metrics
    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    1c903c7 View commit details
    Browse the repository at this point in the history
  204. replace CEL ValidateWithRatcheting with variadic options

    so we can now supply a shared CorrelatedObject
    Alexander Zielenski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    4a5df7d View commit details
    Browse the repository at this point in the history
  205. allow empty object to be CEL value.

    jiahuif authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f78ec33 View commit details
    Browse the repository at this point in the history
  206. Configuration menu
    Copy the full SHA
    40a8416 View commit details
    Browse the repository at this point in the history
  207. verify-golangci-lint.sh: support arbitrary GOBIN

    The in-tree configs use a relative path to find logcheck.so. This is useful
    because then the invocation of golangci-lint also works outside of the script.
    But when running with a containerized build, GOBIN points somewhere else. For
    that case, a temporary copy of the configuration has to be created with an
    absolute path.
    pohly authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    7ba6145 View commit details
    Browse the repository at this point in the history
  208. Add metric for e2e pod startup latency including image pull

    Signed-off-by: ruiwen-zhao <ruiwen@google.com>
    ruiwen-zhao authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    6d0838f View commit details
    Browse the repository at this point in the history
  209. Rewrite ipvs/iptables tests that manually construct BaseEndpointInfo

    The tests in pkg/proxy already test that EndpointSlice ->
    BaseEndpointInfo conversion works correctly; all we need to test in
    pkg/proxy/ipvs and pkg/proxy/iptables is that the correct set of
    endpoints get picked out where we expect them to, which doesn't
    require us to compare the complete BaseEndpointInfo objects.
    danwinship authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    df4e660 View commit details
    Browse the repository at this point in the history
  210. Clean up Endpoint / BaseEndpointInfo a bit

    Remove NodeName, which was unused because we only care about IsLocal
    which was tracked separately.
    
    Remove Zone, which was unused because it's from the old topology
    system?
    
    Fix up some comments which still referred to Endpoints vs
    EndpointSlice differences.
    
    Also remove an unhelpful helper function in endpoints_test.go
    danwinship authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    83e28ce View commit details
    Browse the repository at this point in the history
  211. Unexport BaseEndpointInfo fields, fix getter names

    BaseEndpointInfo's fields, unlike BaseServicePortInfo's, were all
    exported, which then required adding "Get" before some of the function
    names in Endpoint so they wouldn't conflict.
    
    Fix that, now that the iptables and ipvs unit tests don't need to be
    able to construct BaseEndpointInfos by hand.
    danwinship authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    aec5886 View commit details
    Browse the repository at this point in the history
  212. Remove GA featuregate about CSIMigrationvSphere in 1.29

    Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
    bzsuni authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    44461e7 View commit details
    Browse the repository at this point in the history
  213. kubeapiserver/options: fix cloud provider validation

    Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
    sttts authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    29bf1e2 View commit details
    Browse the repository at this point in the history
  214. Add CDI support to the sample device plugin

    Co-authored-by: Evan Lezar <elezar@nvidia.com>
    2 people authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    6eb6b83 View commit details
    Browse the repository at this point in the history
  215. Configuration menu
    Copy the full SHA
    395bc38 View commit details
    Browse the repository at this point in the history
  216. Configuration menu
    Copy the full SHA
    20cd8d6 View commit details
    Browse the repository at this point in the history
  217. Remove problematic Dbus restart test

    Signed-off-by: Krzysztof Wilczyński <kwilczynski@redhat.com>
    kwilczynski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    519b082 View commit details
    Browse the repository at this point in the history
  218. Add PodHostIPs test

    wzshiming authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    2d704e1 View commit details
    Browse the repository at this point in the history
  219. Update security contacts for sig-cli

    soltysh authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    32406f6 View commit details
    Browse the repository at this point in the history
  220. Use tracing semconv types instead of own defines

    To keep things in sync when adding new traces, we now use the official
    semconv types of OTEL rather than our own values.
    
    Nothing should change for now behavior wise.
    
    Refers to kubernetes#119771
    
    Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
    saschagrunert authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    5791717 View commit details
    Browse the repository at this point in the history
  221. node: e2e: topology-mgr: Determine threads per core

    Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
    swatisehgal authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    0fa2b12 View commit details
    Browse the repository at this point in the history
  222. node: e2e: topology-mgr: Disambiguage cores from cpus

    Currently in the tests there is ambiguity in terms of host setup
    when it comes to cpus or cores. This commit disambiguates that.
    
    Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
    swatisehgal authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    5c6c83a View commit details
    Browse the repository at this point in the history
  223. Remove unnecessary type conversion

    Signed-off-by: mantuliu <240951888@qq.com>
    sourcelliu authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    67f1b86 View commit details
    Browse the repository at this point in the history
  224. Configuration menu
    Copy the full SHA
    30c42d7 View commit details
    Browse the repository at this point in the history
  225. chore: loop optimization

    testwill authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    3982708 View commit details
    Browse the repository at this point in the history
  226. Drop usage of deprecated method NewNamedRateLimitingQueue

    Signed-off-by: Davanum Srinivas <davanum@gmail.com>
    dims authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    4cc99a0 View commit details
    Browse the repository at this point in the history
  227. working-config-otel

    Signed-off-by: Davanum Srinivas <davanum@gmail.com>
    dims authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    3264989 View commit details
    Browse the repository at this point in the history
  228. DRA: call plugins for claims even if exist in cache

    Today, DRA manager does not call plugin NodePrepareResource
    for claims that it previously successfully handled, that is,
    if claims are present in cache (checkpoint) even if node
    rebooted.
    
    After node reboots, it is required to call DRA plugin
    for resource claims so that plugins may prepare them
    again in case the resources dont persist reboot.
    
    To achieve that, once kubelet is started, we call DRA
    plugins for claims once if a pod sandbox is required
    to be created during PodSync.
    
    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    9c70585 View commit details
    Browse the repository at this point in the history
  229. Add unit tests

    adjust existing tests and add new test flows
    to cover new DRA manager behaviour
    
    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    8501fd0 View commit details
    Browse the repository at this point in the history
  230. chore: omit comparison to bool constant

    testwill authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    37e2a3d View commit details
    Browse the repository at this point in the history
  231. Graduate DevicePluginCDIDevices to Beta

    bart0sh authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    19f3560 View commit details
    Browse the repository at this point in the history
  232. Remove GAed feature gates OpenAPIV3

    Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
    tukwila authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    0affd4b View commit details
    Browse the repository at this point in the history
  233. cluster/gce: set KUBE_WATCHLIST_INCONSISTENCY_DETECTOR when requested…

    … by a CI job
    
    when the KUBE_WATCHLIST_INCONSISTENCY_DETECTOR environment variable was set
    then the reflector performs a data consistency check.
    
    The consistency check is meant to be enforced only in the CI, not in production.
    The check ensures that data retrieved by the watch-list api call
    is exactly the same as data received by the standard list api call.
    
    note that the new env var is set in the same places
    the ENABLE_CACHE_MUTATION_DETECTOR is set.
    p0lyn0mial authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    979803c View commit details
    Browse the repository at this point in the history
  234. Improve performance of method PodRequests

    Signed-off-by: mantuliu <240951888@qq.com>
    sourcelliu authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    b05b6d3 View commit details
    Browse the repository at this point in the history
  235. Configuration menu
    Copy the full SHA
    1ba594d View commit details
    Browse the repository at this point in the history
  236. Add back k8s.io/kms/internal/plugins/_mock/go.*

    Signed-off-by: Davanum Srinivas <davanum@gmail.com>
    dims authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    6908c28 View commit details
    Browse the repository at this point in the history
  237. Delete binary file

    liggitt authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c432b8d View commit details
    Browse the repository at this point in the history
  238. Prevent sampledeviceplugin binary commit

    liggitt authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    e12db66 View commit details
    Browse the repository at this point in the history
  239. Fix systemd unit string matchs

    rothgar authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    b2dd780 View commit details
    Browse the repository at this point in the history
  240. Add service name tests

    rothgar authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    0291540 View commit details
    Browse the repository at this point in the history
  241. Use k8s.io/utils/ptr in pkg/proxy (kubernetes#121154)

    * Use k8s.io/utils/ptr in pkg/proxy
    
    * Replace pointer.String(), pointer.StringPtr(), and pointer.Bool() with ptr.To()
    
    * Replace pointer.Int32(constexpr) with ptr.To[int32](constexpr)
    
    * Replace pointer.Int32(int32(var)) with ptr.To(int32(var))
    
    * Replace remaining pointer.Int32() cases with ptr.To
    
    * Replace 'tcpProtocol := v1.ProtocolTCP; ... &tcpProtocol', etc with ptr.To(v1.ProtocolTCP)
    
    * Replace 'nodeName = testHostname; ... &nodeName' with ptr.To(testHostname)
    
    * Use ptr.To for SessionAffinityConfig.ClientIP.TimeoutSeconds
    
    * Use ptr.To for InternalTrafficPolicy
    
    * Use ptr.To for LoadBalancer.Ingress.IPMode
    danwinship authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    b9f4717 View commit details
    Browse the repository at this point in the history
  242. Configuration menu
    Copy the full SHA
    4641205 View commit details
    Browse the repository at this point in the history
  243. remove pc pvc status endpoints

    Signed-off-by: Riaan Kleinhans <riaan@ii.coop>
    Riaan Kleinhans authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    20bb2e5 View commit details
    Browse the repository at this point in the history
  244. don't run these tests on aws

    upodroid authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    3841df3 View commit details
    Browse the repository at this point in the history
  245. [KMSv2] promote KMSv2 and KMSv2KDF to GA

    Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
    ritazh authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    bf17924 View commit details
    Browse the repository at this point in the history
  246. cloud-node-lifecycle controller: add fallback for empty providerID in…

    … shutdown
    
    Simiarly to the function `ensureNodeExistsByProviderID`,
    `shutdownInCloudProvider` should have a logic where in case of an empty
    providerID we get it using the name of the node. This is to support
    scenarios when the function is called with Node object that has a name
    but does not have any provider ID.
    
    Currently in such a scenario we have an error as it is not possible to
    call `InstanceShutdownByProviderID` with empty value. With this change
    in such a scenario we will first obtain a correct provider ID and only
    afterwards check the shutdown status.
    
    Signed-off-by: Mat Kowalski <mko@redhat.com>
    mkowalski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    88a0b0b View commit details
    Browse the repository at this point in the history
  247. gce: fix test for non-existing instance in cloud

    This commit fixes a GCE instance test for a scenario where instance does
    not exist in the cloud. In the `gce_instances.go` we have a code that
    handles such a scenario and strips off the error, i.e.
    
    ```
    if providerID, err = cloudprovider.GetInstanceProviderID(ctx, g, types.NodeName(node.Name)); err != nil {
    	if err == cloudprovider.InstanceNotFound {
    		return false, nil
    	}
    	return false, err
    }
    ```
    
    but nevertheless the test was expecing a non-empty error string. This
    issue got exposed when implementation of `GetInstanceProviderID` in the
    `cloud-provider/cloud.go` changed to return `InstanceNotFound` as-is and
    not as a custom string.
    
    Signed-off-by: Mat Kowalski <mko@redhat.com>
    mkowalski authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    ee4c201 View commit details
    Browse the repository at this point in the history
  248. kubeadm: make super-admin.conf changes in app/constants

    - Add the new file name: super-admin.conf and a function
    to return its default path GetSuperAdminKubeConfigPath()
    - Add the ClusterAdminsGroupAndClusterRoleBinding object name.
    neolit123 authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    61ecf38 View commit details
    Browse the repository at this point in the history
  249. kubeadm: make super-admin.conf changes in app/phases

    - Register the new file in /certs/renewal, so that the
    file is renewed if present. If not present the common message "MISSING"
    is shown. Same for other certs/kubeconfig files.
    - In /kubeconfig, update the spec for admin.conf to use
    the "kubeadm:cluster-admins" Group. A new spec is added for
    the "super-admin.conf" file that uses the "system:masters" Group.
    - Add a new function EnsureAdminClusterRoleBinding() that includes
    logic to ensure that admin.conf contains a User that is properly
    bound on the "cluster-admin" built-in ClusterRole. This requires
    bootstrapping using the "system:masters" containing "super-admin.conf".
    Add detailed unit tests for this new logic.
    - In /upgrade#PerformPostUpgradeTasks() add logic to create the
    "admin.conf" and "super-admin.conf" with the new, updated specs.
    Add detailed unit tests for this new logic.
    - In /upgrade#StaticPodControlPlane() ensure that renewal of
    "super-admin.conf" is performed if the file exists.
    Update unit tests.
    neolit123 authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    60faf31 View commit details
    Browse the repository at this point in the history
  250. kubeadm: make super-admin.conf changes to app/cmd

    - Update unit tests in certs_test.go related to the "renew" CLI command.
    - In /init, (d *initData) Client(), make sure that the new logic
    for bootstrapping an "admin.conf" user is performed, by calling
    EnsureAdminClusterRoleBinding() from the phases backend. Add a
    "adminKubeConfigBootstrapped" flag that helps call this logic only
    once per "kubeadm init" binary execution.
    - In /phases/init include a new subphase for generating
    the "super-admin.conf" file.
    - In /phases/reset make sure the file "super-admin.conf" is
    cleaned if present. Update unit tests.
    neolit123 authored and Sharpz7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    061d6f9 View commit details
    Browse the repository at this point in the history