- Documentation
Volcengine Kubernetes Engine
Volcengine Kubernetes Engine
User guide
Workloads
Creating workloads
Creating DaemonSets
Creating workloads
Creating DaemonSets
Creating DaemonSets
A DaemonSet ensures that exactly one pod runs on each eligible node in a cluster. DaemonSets are suitable for system-level applications, such as log collection and resource monitoring. DaemonSets can effectively ensure the availability of basic services in clusters.
Prerequisites
A container image has been created. You can directly use an image from a third-party container registry, or upload an image to the Container Registry (CR) service. To upload an image to CR, see Pushing and pulling images. Creating DaemonSets on the console
- In the left navigation bar, click Cluster.
- Click Workload > DaemonSet. On the page that appears, click Create DaemonSet, and then configure the DaemonSet.
- Click Confirm in the lower-right corner of the page.
Creating DaemonSets by using kubectl
tip
Before you start creating a DaemonSet by using kubectl, make sure that the following conditions are met:
- Create the YAML file of the workload. The code of the sample file daemonset-demo.yaml is as follows:
- Run the following command to create the workload.
Results
After you create the DaemonSet, you can view the status of the workload on the Workload > DaemonSet page. You can click the button in the Actions column to manage the created DaemonSet. For more operations, see Managing workloads.
Last updated: 2026.08.19 17:40:21