-
Notifications
You must be signed in to change notification settings - Fork 719
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
Impossible to annotate Kibana Service #2175
Comments
@xkobal I have not been able to reproduce your issue. I used the same client version and ECK |
@pebrc The service was already exists without annotation, that was an update made with |
Ok @pebrc I have found how delete Kibana. So I can confirm you it works when no previous Kibana service exists. But update doesn't work. |
Yes you are right. There is an issue with the update detection code here that does ignore metadata changes. cloud-on-k8s/pkg/controller/common/service_control.go Lines 45 to 81 in e888a37
Deleting the Kibana service is a workaround to get the annotation applied. |
Thanks for your help. It works for now with Kibana deletion. |
Bug Report
What did you do?
I want to configure Google IAP (https://cloud.google.com/iap/docs/enabling-kubernetes-howto) to secure my Kibana installation and be able to open it on Internet without risk.
I need to add a BackendConfig to enable IAP, but the Kibana Service controller seems to ignore my annotations if they are added to an existing Kibana resource (@pebrc).
What did you expect to see?
Kibana service respect the annotation added.
What did you see instead? Under which circumstances?
Empty annotation, even by deleting the service.(@pebrc I found that deleting the service does in fact lead to the correct creation of the the annotation)The only way I have found now to annotate, is to use this command
kubectl annotate service kibana-kb-http --overwrite beta.cloud.google.com/backend-config='{"ports": {"5601":"backend-kibana"}}'
but if Kibana service is deleted, the annotation is lost.Environment
1.0.0
Kubernetes information:
GKE
The text was updated successfully, but these errors were encountered: