Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add k3s_service_exec_start_pre_vars for the k3s service #226

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

longns1
Copy link

@longns1 longns1 commented Jul 19, 2024

Add k3s_service_exec_start_pre_vars for the k3s service. This dictionary can be used to specify additional ExecStartPre commands for the k3s service. These commands will be executed before the main service starts.

For example, the command below removes the cpu_manager_state file if it exists.

k3s_service_exec_start_pre_vars:
   - "-/usr/bin/rm -f /var/lib/kubelet/cpu_manager_state"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant