https://github.com/dyrnq/lvscare-binary
https://github.com/labring/sealos
https://github.com/dyrnq/lvscare-binary
ipvs ipvsadm kubernetes-ha lvscare sealos
Last synced: 5 months ago
JSON representation
https://github.com/labring/sealos
- Host: GitHub
- URL: https://github.com/dyrnq/lvscare-binary
- Owner: dyrnq
- Created: 2022-09-21T01:22:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T02:45:43.000Z (over 1 year ago)
- Last Synced: 2025-03-16T23:57:39.078Z (over 1 year ago)
- Topics: ipvs, ipvsadm, kubernetes-ha, lvscare, sealos
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Usage
```bash
latest_ver=$(curl -fsSL https://api.github.com/repos/dyrnq/lvscare-binary/releases/latest | jq -r '.tag_name')
if [ "$(uname -m)" = "x86_64" ]; then arch="amd64"; fi
if [ "$(uname -m)" = "aarch64" ]; then arch="arm64"; fi
DOWNLOAD_URL="https://github.com/dyrnq/lvscare-binary/releases/download/${latest_ver}/lvscare-${latest_ver}.linux-${arch}.tar.gz"
#DOWNLOAD_URL="${DOWNLOAD_URL/github.com/files.m.daocloud.io/github.com}"
DOWNLOAD_URL="${DOWNLOAD_URL/https/https://mirror.ghproxy.com/https}"
echo "DOWNLOAD_URL=${DOWNLOAD_URL}"
curl -fsSL $DOWNLOAD_URL | tar -xvz -C /usr/local/bin/
```
```bash
/usr/local/bin/lvscare version
```
```bash
/usr/local/bin/lvscare care \
--vs 10.10.10.10:8443 \
--mode link \
--logger INFO \
--rs 192.168.27.11:6443 \
--rs 192.168.27.12:6443 \
--rs 192.168.27.13:6443 \
--health-insecure-skip-verify true \
--health-status 401,403,200,201 \
--health-schem https \
--health-path "/livez" \
--interval 2
```
## ref
-