You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/18 01:30:07 UTC

[GitHub] [apisix-dashboard] EnableAsync commented on issue #819: request help: Is it normal that upstreams used by a router can be deleted directly?

EnableAsync commented on issue #819:
URL: https://github.com/apache/apisix-dashboard/issues/819#issuecomment-729317388


   > > > > * I can directly delete the upstream used by route in dashboard.
   > > > >   Is this expected behaviour?
   > > > 
   > > > 
   > > > Yes, even if the upstream object is used in the route, we are allowed to delete it.
   > > > if the user is using the dashboard, we can show a warning message for confirming.
   > > 
   > > 
   > > Yes, we could allow the deletion, which is like what k8s does.
   > 
   > ok then @EnableAsync what do you think?
   
   I found that k8s has a parameter called "propagationPolicy" to control whether dependencies are automatically deleted or not[1].
   I think it is possible to add a parameter like this to control whether or not dependencies can be removed.
   
   [1] https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/#controlling-how-the-garbage-collector-deletes-dependents


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org