Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LBのIP再アサイン,loadBalancerClassを明示 #1450

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions seichi-onp-k8s/manifests/seichi-kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ TCP パケットをそのまま送り届ける必要があります。

| サービス | `Service` の VIP |
| ------------------------------ | ----------------------------------------------------------- |
| 本番 RedisBungee 用 Redis | [`192.168.0.132`](https://github.com/GiganticMinecraft/seichi_infra/blob/fc00e4f9b755798ed2fcd80c76b68dac49c3dc16/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/redisbungee-redis.yaml#L24) |
| 本番 BungeeSemaphore 用 Redis | [`192.168.0.133`](https://github.com/GiganticMinecraft/seichi_infra/blob/fc00e4f9b755798ed2fcd80c76b68dac49c3dc16/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/bungeesemaphore-redis.yaml#L24) |
| Debug RedisBungee 用 Redis | [`192.168.0.134`](https://github.com/GiganticMinecraft/seichi_infra/blob/fc00e4f9b755798ed2fcd80c76b68dac49c3dc16/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/redisbungee-redis.yaml#L24) |
| Debug BungeeSemaphore 用 Redis | [`192.168.0.135`](https://github.com/GiganticMinecraft/seichi_infra/blob/fc00e4f9b755798ed2fcd80c76b68dac49c3dc16/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/bungeesemaphore-redis.yaml#L24) |
| 本番 RedisBungee 用 Redis | [`10.96.0.132`](https://github.com/GiganticMinecraft/seichi_infra/blob/fc00e4f9b755798ed2fcd80c76b68dac49c3dc16/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/redisbungee-redis.yaml#L24) |
| 本番 BungeeSemaphore 用 Redis | [`10.96.0.133`](https://github.com/GiganticMinecraft/seichi_infra/blob/fc00e4f9b755798ed2fcd80c76b68dac49c3dc16/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/bungeesemaphore-redis.yaml#L24) |
| Debug RedisBungee 用 Redis | [`10.96.0.134`](https://github.com/GiganticMinecraft/seichi_infra/blob/fc00e4f9b755798ed2fcd80c76b68dac49c3dc16/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/redisbungee-redis.yaml#L24) |
| Debug BungeeSemaphore 用 Redis | [`10.96.0.135`](https://github.com/GiganticMinecraft/seichi_infra/blob/fc00e4f9b755798ed2fcd80c76b68dac49c3dc16/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/bungeesemaphore-redis.yaml#L24) |


## Kubernetes クラスタのブートストラップについて
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
name: bungeecord
spec:
type: LoadBalancer
loadBalancerClass: io.cilium/bgp-control-plane
ports:
- name: bungee
port: 25565
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@ spec:
notify-keyspace-events "Eg$x"
master:
service:
# loadBalancerIP has been deprecated in k8s v1.24
# ciliumのlb-ipamを使用しているので今後それに沿った記載に改める必要がある
# https://docs.cilium.io/en/stable/network/lb-ipam/#requesting-ips
# FIXME .spec.loadBalancerClass が未指定の場合、lb-ipamによるIPアサインしか行われない
# 負荷分散を実施するには .spec.loadBalancerClass を明示的に指定する必要がある
# https://docs.cilium.io/en/latest/network/lb-ipam/#loadbalancerclass
type: LoadBalancer
loadBalancerIP: 192.168.0.135
loadBalancerIP: 10.96.0.135
resources:
requests:
cpu: "250m"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ spec:
# loadBalancerIP has been deprecated in k8s v1.24
# ciliumのlb-ipamを使用しているので今後それに沿った記載に改める必要がある
# https://docs.cilium.io/en/stable/network/lb-ipam/#requesting-ips
# FIXME .spec.loadBalancerClass が未指定の場合、lb-ipamによるIPアサインしか行われない
# 負荷分散を実施するには .spec.loadBalancerClass を明示的に指定する必要がある
# https://docs.cilium.io/en/latest/network/lb-ipam/#loadbalancerclass
type: LoadBalancer
loadBalancerIP: 192.168.0.134
loadBalancerIP: 10.96.0.134
resources:
requests:
cpu: "250m"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ metadata:
"io.cilium/lb-ipam-ips": "10.96.0.131"
spec:
type: LoadBalancer
loadBalancerClass: io.cilium/bgp-control-plane

Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ metadata:
"io.cilium/lb-ipam-ips": "10.96.0.130"
spec:
type: LoadBalancer
loadBalancerClass: io.cilium/bgp-control-plane

Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ spec:
# loadBalancerIP has been deprecated in k8s v1.24
# ciliumのlb-ipamを使用しているので今後それに沿った記載に改める必要がある
# https://docs.cilium.io/en/stable/network/lb-ipam/#requesting-ips
# FIXME .spec.loadBalancerClass が未指定の場合、lb-ipamによるIPアサインしか行われない
# 負荷分散を実施するには .spec.loadBalancerClass を明示的に指定する必要がある
# https://docs.cilium.io/en/latest/network/lb-ipam/#loadbalancerclass
type: LoadBalancer
loadBalancerIP: 192.168.0.133
loadBalancerIP: 10.96.0.133
resources:
requests:
cpu: "250m"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ spec:
# loadBalancerIP has been deprecated in k8s v1.24
# ciliumのlb-ipamを使用しているので今後それに沿った記載に改める必要がある
# https://docs.cilium.io/en/stable/network/lb-ipam/#requesting-ips
# FIXME .spec.loadBalancerClass が未指定の場合、lb-ipamによるIPアサインしか行われない
# 負荷分散を実施するには .spec.loadBalancerClass を明示的に指定する必要がある
# https://docs.cilium.io/en/latest/network/lb-ipam/#loadbalancerclass
type: LoadBalancer
loadBalancerIP: 192.168.0.132
loadBalancerIP: 10.96.0.132
resources:
requests:
cpu: "250m"
Expand Down