一些k8s的小的报错记录

apply报错

Resource: “apps/v1, Resource=deployments”, GroupVersionKind: “apps/v1, Kind=Deployment”
Name: “istio-egressgateway”, Namespace: “istio-system”
for: “egressgateway.yaml”: Operation cannot be fulfilled on deployments.apps “istio-egressgateway”: the object has been modified; please apply your changes to the latest version and try again

解决:
将导出的yaml文件中的如下字段删除

  creationTimestamp:   
  resourceVersion:  
  selfLink:   
  uid:

你可能感兴趣的:(Cloud,Native,kubernetes,容器)