Open DerrickMartinez opened 4 years ago
Label "container_label_annotation_kubernetes_io/config_seen" set on the container by kubernetes (I believe) cannot be a prometheus label (because of the slash).
I'm not sure how it is handled by cadvisor with such label name. We should try to have the same logic here.
Why this defect was closed? This is a major problem preventing adoption of this tool :-(
Sorry I forgot to look at this one, I think @DerrickMartinez closed it and did a pull request that I didn't accept yet. Will look at it asap.
Okay thanks, looking forward to try it out
seems fixed
Hi @alexvaut
Is there a Tentative release for this Bug Fix ?
@OrangeTimes , @DerrickMartinez
Regards, Punith
@punith-s Can you try version 1.6 on dockerhub, I think it contains the fix.
Hi @alexvaut
I tried running
docker run --rm -p 9030:9030 -v \\.\pipe\docker_engine:\\.\pipe\docker_engine alexvaut/cstatsexporter:latest --env KUBERNETES=true
and also tried it by giving it as environment variables in the yaml file for container image as follows:
containers:
- name: cstatsExporter
image: alexvaut/cstatsexporter:lates
env:
- name: KUBERNETES
value: true
but it is not working on the Kubernetes container and I am getting the same error as mentioned in this bug. Is there any workaround to run the image with the Kubernetes parameter overridden to true in config.yml file using deployment yaml files on Kubernetes or via docker command.
@OrangeTimes , @DerrickMartinez
Thanks, Ayushi
Am I doing something wrong? Using Windows Server 1809