Difference between revisions of "Kubernetes Finalizers"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/
 
* https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/
 +
 +
[[finalizers:]]
  
 
  ingress.[[k8s.aws]]
 
  ingress.[[k8s.aws]]
 
  ingress.k8s.aws/resources
 
  ingress.k8s.aws/resources
 +
 +
== Examples ==
 +
[[kubectl describe pvc]] mypv
 +
{{kubectl describe pvc example}}
  
  
Line 9: Line 15:
 
* [[Apimachinery]]: <code>[[io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.finalizers]]</code>
 
* [[Apimachinery]]: <code>[[io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.finalizers]]</code>
 
* <code>[[kind: PersistentVolumeClaim]]</code>
 
* <code>[[kind: PersistentVolumeClaim]]</code>
 +
* <code>[[resources-finalizer.argocd.argoproj.io]]</code>
  
 
== See also ==
 
== See also ==
 
* {{Kubernetes Finalizers}}
 
* {{Kubernetes Finalizers}}
* {{K8s}}
 
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 15:46, 9 July 2024

finalizers:
ingress.k8s.aws
ingress.k8s.aws/resources

Examples[edit]

kubectl describe pvc mypv
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
 annotations:
   pv.kubernetes.io/bind-completed: "yes"
   pv.kubernetes.io/bound-by-controller: "yes"
   volume.beta.kubernetes.io/storage-provisioner: example.com/aws-efs
 creationTimestamp: "2022-10-27T15:10:12Z"
 finalizers:
 - kubernetes.io/pvc-protection
 managedFields:
 ...
   manager: kube-controller-manager
   operation: Update
   time: "2022-10-27T15:10:13Z"
 name: yourpv
 namespace: mynamespace
 resourceVersion: "719208361"
 [[selfLink: /api/v1/namespaces/mynamespace/persistentvolumeclaims/myvoy
 uid: b3295ba0-0000-123-123-1234567
spec:
 accessModes:
 - ReadWriteOnce
 resources:
   requests:
     storage: 5Gi
 storageClassName: efs
 volumeMode: Filesystem
 volumeName: pvc-1234-1234-1234-1234-123456789
status:
 accessModes:
 - ReadWriteOnce
 capacity:
   storage: 5Gi
 phase: Bound


Related[edit]

See also[edit]

Advertising: