Difference between revisions of "CreationTimestamp"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[selfLink]]: | [[selfLink]]: | ||
[[Kubernetes UIDs|uid]]: | [[Kubernetes UIDs|uid]]: | ||
+ | |||
+ | |||
+ | [[kubectl patch]] --type=json -p='[{"op": "remove", "path": "metadata.creationTimestamp"}]' | ||
Revision as of 15:25, 9 August 2023
resourceVersion: selfLink: uid:
kubectl patch --type=json -p='[{"op": "remove", "path": "metadata.creationTimestamp"}]'
metadata: template.metadata kubectl apply the object has been modified; please apply your changes to the latest version and try again kubectl create --save-config
Activities
- Remove
creationTimestamp
from your manifest to avoid terrafrom plan to always suggest changes. https://github.com/hashicorp/terraform-provider-kubernetes/issues/1652 - Read https://stackoverflow.com/questions/51297136/kubectl-error-the-object-has-been-modified-please-apply-your-changes-to-the-la
See also
Advertising: