Last active
June 11, 2025 09:41
-
-
Save tommeramber/64b80393073df43bf54d3c9c4443428f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: rebooter-{{ problematic_node }} | |
namespace: openshift-monitoring | |
spec: | |
nodeName: {{ problematic_node }} | |
hostPID: true | |
restartPolicy: Never | |
serviceAccountName: {{ privileged_sa }} | |
containers: | |
- name: rebooter | |
image: {{ ultimate_image }} | |
securityContext: | |
privileged: true | |
command: [ "sh", "-c" ] | |
args: | |
- nsenter --target 1 --mount --uts --ipc --net --pid reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment