创建Kubernetes部署清单时验证数据时出错

时间:2018-08-31 07:51:36

标签: kubernetes

if($username == "mue" AND $pass=="da39a3ee5e6b4b0d3255bfef95601890afd80709")
{
    echo '<p>';
    echo "Herzlich Willkommen";
    echo '</p>';
}
else
{
    echo '<p>';
    echo "Login failed";
    echo '</p>';

如何在不关闭似乎有风险的验证的情况下解决此问题?
是什么决定支持哪些API版本?
它是kubectl还是仪表板的版本?

更新:
我使用了命令
error validating data: API version "apps/v1beta2" isn't supported, only supports API versions ["v1" "batch/v1" "batch/v2alpha1" "rbac.authorization.k8s.io/v1alpha1" "federation/v1beta1" "certificates/v1alpha1" "componentconfig/v1alpha1" "extensions/v1beta1" "policy/v1alpha1" "apps/v1alpha1" "authentication.k8s.io/v1beta1" "authorization.k8s.io/v1beta1" "autoscaling/v1"]; if you choose to ignore these errors, turn validation off with --validate=false
发现我的kubectl支持apps / v1beta2。
如此看来,仪表板中还有另一层API检查/版本控制?

详细信息
kubectl api-versions
客户端版本:v1.11.0
服务器版本:v1.9.8

0 个答案:

没有答案