veaiops-registry-cn-beijing.cr.volces.com)> kubectl get ingress veaiops-ingress -n veaiops-system
NAME CLASS HOSTS ADDRESS PORTS AGE
veaiops-ingress nginx veaiops.example.com 10.x.x.1 80 42m
veaiops.example.com,并正确配置 DNS 解析使用私有仓库需要配置认证信息(Secret):
# 创建 veaiops-system 命名空间
> kubectl create ns veaiops-system
# 创建 docker registry 认证 secret
> kubectl create secret docker-registry regcred \
--docker-server=YOUR_REGISTRY \
--docker-username=YOUR_USER \
--docker-password=YOUR_PASS \
--docker-email=YOUR_EMAIL \
-n veaiops-system
# 覆盖 values.yaml 中的全局配置
global:
imageRegistry: "<YOUR_REGISTRY>"
imagePullSecrets:
- docker-registry
security:
allowInsecureImages: true
启用 HTTPS 需要配置 TLS 证书,在安装时指定证书 secret 的名称。
# 创建 TLS Secret
kubectl create secret tls veaiops-tls \
--cert=fullchain.crt \
--key=privkey.key \
-n veaiops-system
在 values.yaml 中配置:
ingress:
tlsSecretName: "veaiops-tls"
查看详细错误日志进行排查并提交至github issue中寻求帮助。