diff --git a/dist/images/install.sh b/dist/images/install.sh index 84c7b151577..372befa90ba 100755 --- a/dist/images/install.sh +++ b/dist/images/install.sh @@ -18,6 +18,7 @@ WITHOUT_KUBE_PROXY=${WITHOUT_KUBE_PROXY:-false} ENABLE_EXTERNAL_VPC=${ENABLE_EXTERNAL_VPC:-true} CNI_CONFIG_PRIORITY=${CNI_CONFIG_PRIORITY:-01} ENABLE_LB_SVC=${ENABLE_LB_SVC:-false} +ENABLE_KEEP_VM_IP=${ENABLE_KEEP_VM_IP:-true} # The nic to support container network can be a nic name or a group of regex # separated by comma, if empty will use the nic that the default route use IFACE=${IFACE:-} @@ -2666,6 +2667,7 @@ spec: - --log_file=/var/log/kube-ovn/kube-ovn-controller.log - --log_file_max_size=0 - --enable-lb-svc=$ENABLE_LB_SVC + - --keep-vm-ip=$ENABLE_KEEP_VM_IP env: - name: ENABLE_SSL value: "$ENABLE_SSL"