Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
K
k3s
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Jacklull
  • k3s
  • Repository

Switch branch/tag
  • k3s
  • pkg
  • cli
  • agent
  • agent.go
Find file
BlameHistoryPermalink
  • Brad Davidson's avatar
    Move apiserver ready wait into common channel · f185f9e7
    Brad Davidson authored Mar 05, 2025
    Splits server startup into prepare/start phases. Server's agent is now
    started after server is prepared, but before it is started. This allows
    us to properly bootstrap the executor before starting server components,
    and use the executor to provide a shared channel to wait on apiserver
    readiness.
    
    This allows us to replace four separate callers of WaitForAPIServerReady
    with reads from a common ready channel.
    Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 529e748a)
    Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com>
    f185f9e7
agent.go 3.94 KB
EditWeb IDE

Replace agent.go

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.