创建service时 报 mapping values are not allowed in this context


apiVersion: v1
kind: Service
metadata:
name: web
spec:
ports:
- port : 9999
targetPort: 80
selector:
app: myweb
已邀请:

stirlingx

赞同来自:


文件格式没对齐吧,该缩进的地方要缩进

mgnetwork

赞同来自:


......是的 谢谢 格式如下

<div class="aw-upload-img-list active">
<a href="http://dockone.io/uploads/answ ... ot%3B target="_blank" data-fancybox-group="thumb" rel="lightbox"><img src="http://dockone.io/uploads/answ ... ot%3B class="img-polaroid" title="11111111.png" alt="11111111.png" /></a>
</div>

要回复问题请先登录注册