jinmin527 web端链接kubectl 报如下错: Connecting…Could not connect to the container. Do you have sufficient privileges?
ljdtc hongming 都是正常的,我详细描述一下:1.如果直接使用NodePort的方式,所有功能都是可用的。2.现在使用Nginx反向代理加域名的方式进行访问,无法打开webshell,此时的status code 是400 bad request,如果加上websocket的配置,此时关于namespace的api status code 是500 bad gateway。
vincentgao 502的问题我也碰到了,我在如下配置后解决,如果大家有更好的方式可以提出来: 1、nginx.conf文件中http增加: map $http_upgrade $connection_upgrade { default upgrade; '' close; } 2、location中配置如下: 如果没有/api这段,会出现502网关报错。