使用API部署工作负载失败

URL:[code]https://192.168.33.xx/v3/project/c-tdccp:p-5bt7k/workloads [/code] 参数:[code]{\"name\":\"testmains\",\"namespaceId\":\"dev\",\"containers\":{\"name\":\"testmains\",\"imagePullPolicy\":\"IfNotPresent\",\"image\":\"192.168.33.xx:88/base/hello:1.0\"}} [/code] 结果: {"baseType":"error","code":"Invalid","message":"Deployment.apps \"testmains\" is invalid: spec.template.spec.containers: Required value","status":422,"type":"error"}   这个name是怎么回事呢,也不能缺少,填写了也会报错。
已邀请:

要回复问题请先登录注册