Skip to content

Commit

Permalink
fix: add and set ENABLE_KEEP_VM_IP=true to keep vm ip (#1702)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobz965 authored Jul 19, 2022
1 parent fe18db3 commit 4b13888
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:-}
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 4b13888

Please sign in to comment.