使用外部的mysql ,mogodb
export IP=192.168.1.6
export PORT=31666
export EMAIL=sailing82@qq.com
export PASSWORD=zadig
配置高可用的 MySQL。
安装前需要手动在该 MySQL 实例中创建名为 dex 的 database
export MYSQL_HOST=192.168.1.6
export MYSQL_PORT=3306
export MYSQL_USERNAME=zadig
export MYSQL_PASSWORD=123456
配置高可用的 MongoDB
export MONGO_URI=mongodb://zadig:123456@192.168.1.6
export MONGO_DB=zadig
./install.sh
# kubectl -n zadig get po
NAME READY STATUS RESTARTS AGE
aslan-bbd56cf89-lpp7x 1/2 CrashLoopBackOff 5 (2m ago) 8m5s
cron-6fd87d84cf-h5bxv 2/2 Running 1 (35s ago) 8m6s
dind-0 1/1 Running 0 8m6s
discovery-74945fc6d4-zwzlh 1/1 Running 0 8m6s
gateway-6bdf56976-4r9rn 1/1 Running 0 8m6s
gateway-proxy-f7d46ccb9-wwndt 1/1 Running 0 8m6s
gloo-66d69d848f-f4fc6 1/1 Running 0 8m5s
hub-server-55c465f87f-xqswq 0/1 CrashLoopBackOff 5 (2m10s ago) 8m6s
nsqlookup-0 1/1 Running 0 8m6s
opa-69898f5c99-bj5f8 1/1 Running 0 8m6s
resource-server-f767bc7c7-qr5zq 1/1 Running 0 8m6s
warpdrive-6749b57bc-cxwsb 2/2 Running 0 8m5s
warpdrive-6749b57bc-wlc2b 2/2 Running 0 8m5s
zadig-ingress-nginx-controller-7749f95f9f-q2vln 0/1 Running 5 (8s ago) 8m5s
zadig-minio-7dd8fb4576-jvb8x 1/1 Running 0 8m6s
zadig-portal-5b7d86d55f-9f5hz 1/1 Running 0 8m6s
zadig-zadig-dex-6f477b5d9-z5g8z 1/1 Running 0 8m6s
zadig-zadig-init-bbf2q 1/1 Running 0 8m2s
# kubectl logs -f zadig-ingress-nginx-controller-7749f95f9f-8kqv8 -n zadig
-------------------------------------------------------------------------------
NGINX Ingress controller
Release: v0.35.0
Build: 54ad65e32bcab32791ab18531a838d1c0f0811ef
Repository: https://github.com/kubernetes/ingress-nginx
nginx version: nginx/1.19.2
-------------------------------------------------------------------------------
E0908 16:31:07.823850 7 reflector.go:178] k8s.io/client-go@v0.18.6/tools/cache/reflector.go:125: Failed to list *v1beta1.Ingress: the server could not find the requested resource