forked from ovn-kubernetes/dpu-simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-flannel.yaml
More file actions
83 lines (74 loc) · 2.03 KB
/
Copy pathconfig-flannel.yaml
File metadata and controls
83 lines (74 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
networks:
- name: "mgmt-network"
type: "mgmt"
bridge_name: "virbr-mgmt"
gateway: "192.168.120.1"
subnet_mask: "255.255.255.0"
dhcp_start: "192.168.120.10"
dhcp_end: "192.168.120.100"
mode: "nat"
nic_model: "virtio" # virtio for management network
attach_to: "any" # Attach to all VMs: "dpu", "host", or "any"
- name: "ovn-network"
type: "k8s"
bridge_name: "ovn"
gateway: "192.168.123.1"
subnet_mask: "255.255.255.0"
dhcp_start: "192.168.123.50"
dhcp_end: "192.168.123.100"
mode: "nat"
nic_model: "igb" # Intel 82576 emulated NIC
use_ovs: false
attach_to: "any"
- name: "data-l2-network"
type: "layer2"
bridge_name: "ovs-data"
mode: "l2-bridge"
nic_model: "igb" # Intel 82576 emulated NIC
use_ovs: true
attach_to: "dpu"
vms:
- name: "master-1"
type: "host"
k8s_cluster: "dpu-sim"
k8s_role: "master"
k8s_node_mac: "52:54:00:00:01:11"
k8s_node_ip: "192.168.123.11"
memory: 4096 # MB
vcpus: 2
disk_size: 20 # GB
- name: "host-1"
type: "host"
k8s_cluster: "dpu-sim"
k8s_role: "worker"
k8s_node_mac: "52:54:00:00:01:12"
k8s_node_ip: "192.168.123.12"
memory: 2048 # MB
vcpus: 2
disk_size: 20 # GB
- name: "dpu-1"
type: "dpu"
k8s_cluster: "dpu-sim"
k8s_role: "worker"
k8s_node_mac: "52:54:00:00:01:13"
k8s_node_ip: "192.168.123.13"
host: "host-1"
memory: 2048 # MB
vcpus: 2
disk_size: 20 # GB
operating_system:
# Download from https://download.fedoraproject.org/pub/fedora/linux/releases/
image_url: https://mirror.xenyth.net/fedora/linux/releases/43/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-43-1.6.x86_64.qcow2
image_name: "Fedora-x86_64.qcow2"
ssh:
user: "root"
key_path: "~/.ssh/id_rsa"
password: "redhat" # Default password for console/SSH access
kubernetes:
version: "1.33"
kubeconfig_dir: "kubeconfig"
clusters:
- name: "dpu-sim"
pod_cidr: "10.244.0.0/16"
service_cidr: "10.245.0.0/16"
cni: "flannel"