mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #1214] FRPS如何高可用? #952
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#952
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fcatat on GitHub (Apr 25, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1214
已将FRPC用于生产,需要做HA,好像传统的运维手段,都不太适用,烦请建议,谢谢
1.frpc 重连机制是怎样的?(断开后几秒重连,重试几次)
2.frpc的配置能否注册到多台frps
@status301 commented on GitHub (Apr 28, 2019):
问题1:见文档 https://github.com/fatedier/frp/blob/master/conf/frpc_full.ini
问题2 :1个frpc在运行中只能注册到1个frps中,要想注册到另一个frps,你可以再修改配置文件,起另一个frpc。
没看懂用于生产是什么意思,要做HA你可以将frpc运行在多个docker中。
@bood commented on GitHub (Apr 29, 2019):
@status301 HA的意思是高可用,即多个节点形成某种frps集群(至少两个frps服务器),单个frps断线不影响整个系统运行
@victor23d commented on GitHub (Aug 21, 2019):
FRP-Docker-K8S
https://github.com/victor23d/frp-docker-k8s
把FRP运行在 Kubernetes 集群上,外面加一层LoadBalancer即可,HA高可用应该不是问题。
@hulucc commented on GitHub (Sep 4, 2020):
真的吗?假如链路是 frpc -- loadbalancer -- frps1/frps2 -- loadbalancer -- user
frpc 实际连接的是frps1,user 实际连接的是 frps2,能通?
@edenlong2006 commented on GitHub (Oct 28, 2022):
loadbalancer 采用主备模式即可。至于扩展性则需要让客户端按region 划分,每个region使用一个独立域名,每个域名对应一组loadbalancer 。
@BoomChao commented on GitHub (Mar 4, 2024):
能详细说说么