caicloud / rudder

Application releases based on helm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

release controller 在某些特殊情况下会删掉自己的子资源

whalecold opened this issue · comments

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

What happened:
日志如下:

I0812 16:32:21.834783       1 controller.go:74] Enqueue: kube-system/config-admission
I0812 16:32:21.834830       1 controller.go:116] Handle release by key: kube-system/config-admission
I0812 16:32:21.834896       1 release.go:147] Start release handler of kube-system/config-admission
I0812 16:32:21.834903       1 controller.go:140] Handled release: kube-system/config-admission
I0812 16:32:21.834930       1 handler.go:39] Start handler: kube-system/config-admission
I0812 16:32:21.835061       1 apply.go:33] Apply release kube-system/config-admission
W0812 16:32:21.929465       1 controller.go:232] relesae(kube-system/config-admission)'s manifest is empty
I0812 16:32:22.532060       1 apply.go:116] Update manifest of release kube-system/config-admission for version 1
W0812 16:32:23.633680       1 controller.go:232] relesae(kube-system/config-admission)'s manifest is empty
I0812 16:32:26.428942       1 request.go:530] Throttling request took 2.989373431s, request: PATCH:https://10.254.0.1:443/apis/release.caicloud.io/v1alpha1/namespaces/kube-system/releases/con
fig-admission
W0812 16:32:27.134927       1 controller.go:232] relesae(kube-system/config-admission)'s manifest is empty
W0812 16:32:27.235038       1 controller.go:232] relesae(kube-system/config-admission)'s manifest is empty
W0812 16:32:27.235053       1 controller.go:232] relesae(kube-system/config-admission)'s manifest is empty
W0812 16:32:27.235061       1 controller.go:232] relesae(kube-system/config-admission)'s manifest is empty
W0812 16:32:27.235094       1 controller.go:232] relesae(kube-system/config-admission)'s manifest is empty
W0812 16:32:27.235139       1 controller.go:232] relesae(kube-system/config-admission)'s manifest is empty
I0812 16:32:27.928916       1 controller.go:404] Delete resource Deployment kube-system/config-admission-admission-v1-0[b7588b9f-bcdb-11e9-8730-00163e143eb0] successfully
W0812 16:32:28.129703       1 controller.go:232] relesae(kube-system/config-admission)'s manifest is empty
I0812 16:32:28.132058       1 controller.go:74] Enqueue: kube-system/config-admission
I0812 16:32:28.132116       1 controller.go:116] Handle release by key: kube-system/config-admission
I0812 16:32:28.132143       1 controller.go:140] Handled release: kube-system/config-admission
I0812 16:32:28.139185       1 controller.go:404] Delete resource Service kube-system/config-admission[b748aca0-bcdb-11e9-8730-00163e143eb0] successfully

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

/assign