feat(network-agent): 挂载宿主机状态目录 /var/lib/mixingx/network-agent(DirectoryOrCreate)——网卡别名 aliases.json 持久化,节点重启/Pod 重建均保留;chart 1.0.16
This commit is contained in:
1 parent
9b3a61eb49
commit
405eef034a
2 files changed
+9
-2
No files matched your search
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: mixingx-network-agent
|
name: mixingx-network-agent
|
||||||
description: "MixingX network console agent: 每节点常驻,提供主机网口(IP/掩码/网关/DNS)与 WiFi 的可视化配置 API。"
|
description: "MixingX network console agent: 每节点常驻,提供主机网口(IP/掩码/网关/DNS)与 WiFi 的可视化配置 API。"
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.15
|
version: 1.0.16
|
||||||
appVersion: "1.0.15"
|
appVersion: "1.0.16"
|
||||||
@@ -77,8 +77,15 @@ spec:
|
|||||||
# 主机 system bus: nmcli 与 systemd 重启都走它
|
# 主机 system bus: nmcli 与 systemd 重启都走它
|
||||||
- name: dbus
|
- name: dbus
|
||||||
mountPath: /run/dbus/system_bus_socket
|
mountPath: /run/dbus/system_bus_socket
|
||||||
|
# 网卡别名持久化: aliases.json 落宿主机,重启/重建 Pod 均保留
|
||||||
|
- name: alias-store
|
||||||
|
mountPath: /var/lib/mixingx/network-agent
|
||||||
volumes:
|
volumes:
|
||||||
- name: dbus
|
- name: dbus
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /run/dbus/system_bus_socket
|
path: /run/dbus/system_bus_socket
|
||||||
type: Socket
|
type: Socket
|
||||||
|
- name: alias-store
|
||||||
|
hostPath:
|
||||||
|
path: /var/lib/mixingx/network-agent
|
||||||
|
type: DirectoryOrCreate
|
||||||
Reference in new issue
Block a user