Rate This Document
Findability
Accuracy
Completeness
Readability

Recommended Deployment Modes

Deployment Mode

Features and Application Scenarios

Kube-OVN Behavior

Pod

Minimum deployment unit.

Kube-OVN randomly allocates an IP address in a subnet. You can also specify a static IP address and a MAC address in the YAML configuration file.

Deployment

Pods and ReplicaSets.

Kube-OVN randomly allocates an IP address in a subnet. You can also specify a static IP address in the YAML configuration file.

StatefulSet

Manages workloads of stateful applications and provides static IDs and uniqueness assurance. The IDs cannot be replaced with each other. After scheduling, the IDs remain unchanged. StatefulSets are applicable to scenarios that require stable network IDs, persistent storage, orderly deployment, and automatic rolling update.

IP addresses are allocated in sequence in a subnet. You can specify static IP addresses in the YAML configuration file. The network information remains unchanged within the lifecycle of a StatefulSet. During pod update or deletion, the logical switch port of the OVN is not deleted, and the new pod reuses the old interface information. Therefore, the IP address, MAC address, and other network information can be reused.

DaemonSet

Ensures that a pod copy runs on all or certain nodes. When a node is added or deleted, the pod is automatically added or deleted. DaemonSet is applicable to storage, logs, and monitoring services.

Kube-OVN randomly allocates an IP address in a subnet. You can also specify a static IP address in the YAML configuration file.

Job

Creates one or more pods to run a task, and deletes all pods after the task is detected as completed.

Kube-OVN randomly allocates an IP address in a subnet. You can also specify a static IP address in the YAML configuration file.

CronJob

Time-based scheduling task

Kube-OVN randomly allocates an IP address in a subnet. You can also specify a static IP address in the YAML configuration file.