-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add finalizer to egressgateway #1019
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1019 +/- ##
==========================================
+ Coverage 43.15% 43.36% +0.21%
==========================================
Files 20 21 +1
Lines 3154 3166 +12
==========================================
+ Hits 1361 1373 +12
Misses 1592 1592
Partials 201 201
Flags with carried forward coverage won't be shown. Click here to find out more.
|
71d1068
to
d2a3cd0
Compare
d2a3cd0
to
66488af
Compare
66488af
to
e5f2e37
Compare
e5f2e37
to
4b3f286
Compare
步骤 2 没有必要, |
7e18069
to
4fc372e
Compare
4fc372e
to
b69b107
Compare
b69b107
to
8a986c4
Compare
8a986c4
to
dc7f0a8
Compare
docs/usage/Install.zh.md
Outdated
@@ -274,3 +274,8 @@ helm repo update | |||
$ curl 10.6.1.92:8080 | |||
Remote IP: 172.22.0.110 | |||
``` | |||
|
|||
## 卸载 EgressGateway | |||
为了保证业务不断流,`egressgateway` 中加入了 finalizer 机制,删除 `egressgateway` 时,如果存在 policy 引用此 `egressgateway`,`egressgateway` 会一直处于 deleting 状态,所以,如果要删除 `egressgateway`,建议使用如下步骤: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
egressgateway
会一直处于 deleting 状态 .... 直到 所有的 policy 被删除,finalizer 就会被自动删除
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,一会我改一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
egressgateway
会一直处于 deleting 状态 .... 直到 所有的 policy 被删除,finalizer 就会被自动删除
已修改
dc7f0a8
to
50aa628
Compare
Signed-off-by: bzsuni <[email protected]>
50aa628
to
9e6aa5e
Compare
Fixes
Fix #866
Fix #990
release nodes
description
When creating an
egressgateway
, add a finalizer to it using a webhook.When deleting the
egressgateway
, if it is not referenced by anypolicies
and the finalizer is present, remove the finalizer from theegressgateway
and perform an update.