Open juanjolmm opened 3 years ago
Indeed there is no service for the analyzer defined in the chart. However, adding the prometheus metrics annotations on the deployment worked fine for me.
apiVersion: v1
kind: Service
metadata:
name: anchore-engine-analyzer
labels:
app: anchore-engine
component: analyzer
spec:
type: ClusterIP
ports:
- name: analyzer-api
port: 8084
targetPort: 8084
protocol: TCP
selector:
app: anchore-engine
component: analyzer
Thanks for the Service yaml @ArjonBu! I have more than 1 analyzer, so this solution can't fix my problem at all. Thank you very much.
@hbermu Yes, it does. I am afraid you might not know how kubernetes services work.
Hello, I have just installed the Anchore Helm chart and I am very interested in having access to the metrics. I see that we can have access to the metrics of each component by accessing the /metrics path. In my case, I have deployed Anchore using an ALB ingress, everything is working fine, but I need a service for the analyzer, that does not exist. If I am not wrong the only way I have to access the analyzer metrics is to create an extra service. Am I missing something?
Thank you very much in advance.