Skip to content

Commit

Permalink
Add rke2-agent restart step to Certificate Rotation (#107)
Browse files Browse the repository at this point in the history
We need to restart rke2-agent to rotate certificates of agent nodes.

Signed-off-by: Masashi Honma <[email protected]>
  • Loading branch information
masap authored Oct 3, 2023
1 parent 1501650 commit c1f50c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ systemctl stop rke2-server
rke2 certificate rotate
systemctl start rke2-server
```
To renew agent certificates, restart rke2-agent in agent nodes. Agent certificates are renewed every time the agent starts.
```sh
systemctl restart rke2-agent
```
It is also possible to rotate an individual service by passing the `--service` flag, for example: `rke2 certificate rotate --service api-server`. See the [certificate subcommand](./reference/subcommands.md#certificate) for more details.

## Auto-Deploying Manifests
Expand Down

0 comments on commit c1f50c0

Please sign in to comment.