unable to recognize “rs.yaml”: no matches for kind “ReplicaSet” in version
原因:当前版本没有ReplicaSet.这种资源功能。即需要选择合适apiVersions
解决方案:
kubectl api-versions 查看当前的资源。这里我选择了apps/v1
上一篇:bilibili
下一篇:service(SVC)