Replies: 2 comments 3 replies
-
You appear to be a little confused - stopping the RKE2 service does not stop the pods. They continue running in the background, and should be unaffected as long as they can tolerate an outage of the local apiserver. This is why the pod uptime and IPs do not reset. If you want to kill the pods, use the rke2-killall.sh script. |
Beta Was this translation helpful? Give feedback.
0 replies
-
So I have run the systemctl stop and rke2-killall scripts and it is still showing the nodes as being up for 2d as opposed to zero. Is there another script to stop the server node itself ? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environmental Info:
RKE2 Version:
v1.25.11+rke2r1
Node(s) CPU architecture, OS, and Version:
Linux harana-server 5.15.0-75-generic #82-Ubuntu SMP Tue Jun 6 23:10:23 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
1 server, 2 agents (Linux and Windows)
Describe the bug:
When restarting RKE2 it loads with the previous state e.g. the uptime on Pods, Containers, Nodes are not reset back to zero.
Steps To Reproduce:
Installed RKE2 using Quick Start.
Previous State:
Stopped RKE2:
But RKE2 is not stopped:
Manually kill all RKE2 processes:
RKE2 is now stopped so we restart it with:
New State:
Expected behavior:
Uptime should be zero. IP address should change etc.
Beta Was this translation helpful? Give feedback.
All reactions