Skip to content

Commit

Permalink
Documents new --metrics-host flag
Browse files Browse the repository at this point in the history
kubereboot/kured#811

Signed-off-by: Nathan Kinkade <[email protected]>
  • Loading branch information
nkinkade committed Aug 7, 2023
1 parent f9c5640 commit 3b1ff46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/en/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Flags:
--message-template-drain string message template used to notify about a node being drained (default "Draining node %s")
--message-template-reboot string message template used to notify about a node being rebooted (default "Rebooting node %s")
--message-template-uncordon string message template used to notify about a node being successfully uncordoned (default "Node %s rebooted & uncordoned successfully!")
--metrics-host string host where metrics will listen (default "")
--metrics-port int port number where metrics will listen (default 8080)
--node-id string node name kured runs on, should be passed down from spec.nodeName via KURED_NODE_ID environment variable
--notify-url string notify URL for reboot notifications (cannot use with --slack-hook-url flags)
Expand Down Expand Up @@ -174,7 +175,10 @@ indicates the presence of the sentinel file:
kured_reboot_required{node="ip-xxx-xxx-xxx-xxx.ec2.internal"} 0
```

Note: Use `--metrics-port` to set a different post where metrics should listen.
Note: Use `--metrics-host` and/or `--metrics-port` to set a different address
where metrics should listen. The values of these flags will be put together
like "<host>:<port>" to define a complete listen address for the metrics
server.

The purpose of this metric is to power an alert which will summon an
operator if the cluster cannot reboot itself automatically for a
Expand Down

0 comments on commit 3b1ff46

Please sign in to comment.