Git Product home page Git Product logo

Comments (7)

k8s-ci-robot avatar k8s-ci-robot commented on May 28, 2024

This issue is currently awaiting triage.

If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from kubernetes.

hwzengzy avatar hwzengzy commented on May 28, 2024

/sig auth

from kubernetes.

neolit123 avatar neolit123 commented on May 28, 2024

In a time leap scenario, if the system time is adjusted to a time beyond the token's expiration, kubelet will refresh the token automatically, ensuring no issues arise. However, if the system time is set to a time before the token's validity period, kubelet will not automatically update the token, leading to a 401 error when containers attempt to access the API server.

this seems like something that can be improved.
SIG auth can provide feedback.

but FWIW, time leap can break a lot of things and is generally not advisable.
the kubelet automatic client cert rotation comes to mind. we (at kubeadm) continue to occasionally get reports where the kubelet client cert did not renew "on time".

from kubernetes.

hwzengzy avatar hwzengzy commented on May 28, 2024

I submitted a PR.
When the kubelet determines that the token is later than the system time, it will be refreshed, as if the token is about to expire.

from kubernetes.

hwzengzy avatar hwzengzy commented on May 28, 2024

/area kubelet

from kubernetes.

enj avatar enj commented on May 28, 2024

/close

Per #123432 (comment)

from kubernetes.

k8s-ci-robot avatar k8s-ci-robot commented on May 28, 2024

@enj: Closing this issue.

In response to this:

/close

Per #123432 (comment)

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from kubernetes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.