Skip to content

How to define additional static pods on an RKE2 cluster node

This document (000020834) is provided subject to the disclaimer at the end of this document.

Situation

Is it possible to define additional static Pods to start on an RKE2 during RKE2 node initialization?

Resolution

  • Yes, you can define additional static Pods on an RKE2 host by placing the manifests into the directory /var/lib/rancher/rke2/agent/pod-manifests/
  • Any Pod manifests within this directory will be created by the kubelet, as static pods, during the RKE2 node agent startup.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.