Skip to content
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

Addon-manager "Reconcile" annotation deletes default-http-backend service and deployment #474

Closed
addisonbair opened this issue Sep 13, 2018 · 1 comment

Comments

@addisonbair
Copy link

After deploying GLBC via deploy/glbc/script.sh, I noticed the service and deployment for the default-http-backend was getting deleted after approximately 15 seconds.

Since I don't have access to the masters (GKE) I can't be completely sure, but it appears there is a conflict between the Addon-manager running on the master and the annotations on the objects within deploy/glbc/yaml/default-http-backend.yaml. By changing the annotations to addonmanager.kubernetes.io/mode: EnsureExists from addonmanager.kubernetes.io/mode: Reconcile, the Addon-manager does not delete these objects.

@MrHohn
Copy link
Member

MrHohn commented Sep 13, 2018

Ref https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/addon-manager/README.md.

Object with addonmanager.kubernetes.io/mode=Reconcile being deleted by addon-manager is as expected. We should just remove addonmanager.kubernetes.io/mode label completely from https://github.com/kubernetes/ingress-gce/blob/master/deploy/glbc/yaml/default-http-backend.yaml given using that yaml basically means it is managed by the user but not addon-manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants