mirror of
https://github.com/optim-enterprises-bv/openstack-helm.git
synced 2025-12-25 17:27:33 +00:00
Merge "Neutron: Enable sharing of network namespaces with host"
This commit is contained in:
@@ -113,6 +113,11 @@ spec:
|
||||
{{- end }}
|
||||
- name: socket
|
||||
mountPath: /var/lib/neutron/openstack-helm
|
||||
{{- if .Values.network.share_namespaces }}
|
||||
- name: host-run-netns
|
||||
mountPath: /run/netns
|
||||
mountPropagation: Bidirectional
|
||||
{{- end }}
|
||||
{{ if $mounts_neutron_dhcp_agent.volumeMounts }}{{ toYaml $mounts_neutron_dhcp_agent.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
- name: neutron-bin
|
||||
@@ -131,6 +136,11 @@ spec:
|
||||
- name: socket
|
||||
hostPath:
|
||||
path: /var/lib/neutron/openstack-helm
|
||||
{{- if .Values.network.share_namespaces }}
|
||||
- name: host-run-netns
|
||||
hostPath:
|
||||
path: /run/netns
|
||||
{{- end }}
|
||||
{{ if $mounts_neutron_dhcp_agent.volumes }}{{ toYaml $mounts_neutron_dhcp_agent.volumes | indent 8 }}{{ end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -112,6 +112,11 @@ spec:
|
||||
readOnly: true
|
||||
- name: socket
|
||||
mountPath: /var/lib/neutron/openstack-helm
|
||||
{{- if .Values.network.share_namespaces }}
|
||||
- name: host-run-netns
|
||||
mountPath: /run/netns
|
||||
mountPropagation: Bidirectional
|
||||
{{- end }}
|
||||
{{ if $mounts_neutron_l3_agent.volumeMounts }}{{ toYaml $mounts_neutron_l3_agent.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
- name: neutron-bin
|
||||
@@ -133,6 +138,11 @@ spec:
|
||||
- name: socket
|
||||
hostPath:
|
||||
path: /var/lib/neutron/openstack-helm
|
||||
{{- if .Values.network.share_namespaces }}
|
||||
- name: host-run-netns
|
||||
hostPath:
|
||||
path: /run/netns
|
||||
{{- end }}
|
||||
{{ if $mounts_neutron_l3_agent.volumes }}{{ toYaml $mounts_neutron_l3_agent.volumes | indent 8 }}{{ end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -127,6 +127,11 @@ spec:
|
||||
{{- end }}
|
||||
- name: socket
|
||||
mountPath: /var/lib/neutron/openstack-helm
|
||||
{{- if .Values.network.share_namespaces }}
|
||||
- name: host-run-netns
|
||||
mountPath: /run/netns
|
||||
mountPropagation: Bidirectional
|
||||
{{- end }}
|
||||
{{ if $mounts_neutron_metadata_agent.volumeMounts }}{{ toYaml $mounts_neutron_metadata_agent.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
- name: neutron-bin
|
||||
@@ -145,6 +150,11 @@ spec:
|
||||
- name: socket
|
||||
hostPath:
|
||||
path: /var/lib/neutron/openstack-helm
|
||||
{{- if .Values.network.share_namespaces }}
|
||||
- name: host-run-netns
|
||||
hostPath:
|
||||
path: /run/netns
|
||||
{{- end }}
|
||||
{{ if $mounts_neutron_metadata_agent.volumes }}{{ toYaml $mounts_neutron_metadata_agent.volumes | indent 8 }}{{ end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -80,6 +80,10 @@ network:
|
||||
# possible options: openvswitch, linuxbridge, sriov
|
||||
backend:
|
||||
- openvswitch
|
||||
# NOTE(Portdirect): Share network namespaces with the host,
|
||||
# allowing agents to be restarted without packet loss and simpler
|
||||
# debugging. This feature requires mount propagation support.
|
||||
share_namespaces: true
|
||||
external_bridge: br-ex
|
||||
ip_address: 0.0.0.0
|
||||
interface:
|
||||
|
||||
Reference in New Issue
Block a user