当我在kubernetes中创建服务时,我看到控制器管理器将创建一个安全组和一个新的minion安全组规则。有一些警告:
W1028 05:34:44.104402 1 aws.go:1755] Failed to create tags (too many attempts): InvalidParameterValue: Value ( '' ) for parameter Tag key is invalid. Tag key cannot be null or empty. status code: 400, request id: [] E1028 05:34:44.104450 1 aws.go:1830] error creating load balancer security group: error tagging security group: InvalidParameterValue: Value ( '' ) for parameter Tag key is invalid. Tag key cannot be null or empty. status code: 400, request id: [] E1028 05:34:44.104500 1 servicecontroller.go:173] Failed to process service delta. Retrying: failed to create external load balancer for service default/nginx-service: error tagging security group: InvalidParameterValue: Value ( '' ) for parameter Tag key is invalid. Tag key cannot be null or empty. status code: 400, request id: []
当我设置我的kubernetes集群时,有什么我错过的吗?
于12/22/2015添加
在创建ELB时仍然会发现此问题
W1222 04:38:51.220684 1 aws.go:1571] Failed to create tags (too many attempts): InvalidParameterValue: Value ( '' ) for parameter Tag key is invalid. Tag key cannot be null or empty. status code: 400, request id: E1222 04:38:51.220726 1 aws.go:1647] error creating load balancer security group: error tagging security group: InvalidParameterValue: Value ( '' ) for parameter Tag key is invalid. Tag key cannot be null or empty. status code: 400, request id: E1222 04:38:51.220780 1 servicecontroller.go:187] Failed to process service delta. Retrying: Failed to create load balancer for service default/nginx: error tagging security group: InvalidParameterValue: Value ( '' ) for parameter Tag key is invalid. Tag key cannot be null or empty. status code: 400, request id:
kubectl version Client Version: version.Info{Major:"1", Minor:"1", GitVersion:"v1.1.2", GitCommit:"3085895b8a70a3d985e9320a098e74f545546171", GitTreeState:"clean"} Server Version: version.Info{Major:"1", Minor:"1", GitVersion:"v1.1.3", GitCommit:"6a81b50c7e97bbe0ade075de55ab4fa34f049dc2", GitTreeState:"clean"}
答案 0 :(得分:0)
我是这里代码的作者。肯定是不对的,我不知道你是如何在阅读代码的基础上找到案例的。你正在运行什么版本的kubernetes(一个版本,或从源代码运行)?你是如何安装的 - 你是否使用过kube-up?
此外,当您第一次启动控制器管理器时,它应该记录以下两条消息之一:"标签上的AWS云过滤:..."或"" AWS云 - 无标记过滤"。它记录了哪两个,如果第一个标记是什么过滤?