托管在kubernetes中的后端清漆

问题描述

我正在尝试在本地运行清漆缓存。用nginx-ingress-controller代理由kubernetes管理的域。

结果是,我有ELB和入口控制器将请求路由到3个不同的kubernetes节点,并且出现以下错误:

➜ docker logs a5d30511ffc756f2b5cf4b243ff66d1d9e9d7d47f560f3ca03d07b42efcc763a
Could not delete 'vcl_boot.1601710985.783551/vgc.sym': No such file or directory
Error:
Message from VCC-compiler:
Backend host "sub.domain.com:443": resolves to too many addresses.
Only one IPv4 and one IPv6 are allowed.
Please specify which exact address you want to use,we found all of these:
    31.208.6.184:443
    31.208.221.23:443
    35.161.52.197:443
('/etc/varnish/default.vcl' Line 4 Pos 11)
  .host = "sub.domain.com:443";
----------###########################-


In backend specification starting at:
('/etc/varnish/default.vcl' Line 3 Pos 1)
backend default {
#######----------

Running VCC-compiler failed,exited with 2
VCL compilation failed

所以我的配置是:

vcl 4.0;

backend default {
  .host = "sub.domain.com:443";
}

该怎么办?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)