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

otel-collector deployment is not updated properly during events #269

Open
orfeas-k opened this issue Jan 15, 2025 · 1 comment
Open

otel-collector deployment is not updated properly during events #269

orfeas-k opened this issue Jan 15, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@orfeas-k
Copy link
Contributor

Bug Description

otel-collector deployment is not updated properly during config-changed, relation-removed and most events apart from the relation created. What this means it that:

  • on config-changed, the image will not be updated in the deployment
  • on removal of relations, we 'll still be able to see the created services and pod

To Reproduce

juju deploy knative-operator --channel latest/edge --trust
juju deploy knative-eventing --channel latest/edge --trust --config namespace="knative-eventing"
juju deploy knative-serving --channel latest/edge --trust --base [email protected] --config namespace="knative-serving" --config istio.gateway.namespace="kubeflow" --config istio.gateway.name="kubeflow-gateway"
juju integrate knative-eventing:otel-collector knative-operator:otel-collector
juju integrate knative-serving:otel-collector knative-operator:otel-collector
# here the deployment should go up and metrics working
juju config knative-operator otel-collector-image="otel:fake-tag"
kubectl describe pod -n kubeflow otel-...
# you will see that it still has the previous image
juju remove-relation knative-operator knative-eventing
juju remove-relation  knative-operator knative-serving
kubectl get svc -n kubeflow
kubectl get deploy -n kubeflow
# you will still see the observability resources there

Environment

microk8s 1.29, juju 3.6.1

Relevant Log Output

n/a

Additional Context

No response

@orfeas-k orfeas-k added the bug Something isn't working label Jan 15, 2025
Copy link

Thank you for reporting your feedback to us!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-6732.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant