1 | apiVersion: v1 |
ownerRefrences
when we delete the database called postgres, this should result in the automatic garbage collection of the namespace “postgres-namespace”.
1 | kubectl get database postgres -oyaml | grep uid |
通过ownerRefrence去关联不同scope之间的resouce,但始终都有一个uid来关联