Skip to content

Commit

Permalink
update vip and sts use static up (#118)
Browse files Browse the repository at this point in the history
* update vip

* update sts use static ip
  • Loading branch information
bobz965 authored and oilbeater committed Sep 7, 2023
1 parent a742479 commit 0f46cbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/advance/vip.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static-vip01 10.16.0.121 00:00:00:F0:DB:26 o

## Pod 使用 VIP 来固定 IP

> 该功能目前只在 master 分支支持
> 该功能从 v1.12 开始支持

可以使用 annotation 将某个 VIP 分配给一个 Pod:

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/static-ip-mac.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Using a fixed IP for Workload requires the following:

## StatefulSet Fixed Address

StatefulSet, like other workloads, can use `ovn.kubernetes.io/ip_pool` to specify the IP used by the Pod.
StatefulSet supports fixed ip by default, and like other Workload, you can use `ovn.kubernetes.io/ip_pool` to specify the range of IP used by a Pod.

Since StatefulSet is mostly used for stateful services,
which have higher requirements for fixed addresses, Kube-OVN has made special enhancements:
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/static-ip-mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ spec:

## StatefulSet 固定地址

StatefulSet 和其他 Workload 相同可以使用 `ovn.kubernetes.io/ip_pool` 来指定 Pod 使用的 IP
StatefulSet 默认支持固定 ip,而且和其他 Workload 相同,可以使用 `ovn.kubernetes.io/ip_pool` 来指定 Pod 使用的 IP范围

由于 StatefulSet 多用于有状态服务,对网络标示的固定有更高的要求,Kube-OVN 做了特殊的强化:

Expand Down

0 comments on commit 0f46cbb

Please sign in to comment.