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

Service file for machine-agent needs an update as it has wrong selector #16

Open
praveenpattisapu opened this issue May 6, 2021 · 0 comments

Comments

@praveenpattisapu
Copy link

We are trying to configure a Analytic agent for App Dynamics but we are getting an error "No route to host"
After trouble shooting further, we found that ,service file machine agent have the following the selector:
selector:
app.kubernetes.io/instance: machine-agent
app.kubernetes.io/name: machine-agent
But none of the machine agent pods are running with the labels mentioned above,the pods have the following labels:

app=machine-agent,controller-revision-hash=6cf5558c6d,linkerd.io/control-plane-ns=linkerd,linkerd.io/proxy-daemonset=machine-agent,linkerd.io/workload-ns=appdynamics-machine,pod-template-generation=2,release=machine-agent

As you can clearly see, it doesn't match with the selector mentioned in the service file.

I have done the changes manually(to change the selector see below ) and it all started working
selector:
app: machine-agent

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

1 participant