You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some issues using Klar to analyse some images with clair.
My setup :
I have deployed a clair and database instance on an Openshift cluster.
I use clair:v2.1.7
with 6060 and 6061 as target port
and Postgres:9.6 with port 5432
I did configure a route to be able to communicate with the clair pod using Klar on my local machine.
here is the output of the corresponding curl
curl -X GET -I http://myclairroute/health
HTTP/1.1 200 OK
Server: clair
Date: Mon, 10 May 2021 12:02:13 GMT
Content-Length: 0
Set-Cookie: "some_set_of_letter_and_numbers"; path=/; HttpOnly
Cache-control: private
here the output of Klar
CLAIR_ADDR=http://myclairroute CLAIR_OUTPUT=Low CLAIR_THRESHOLD=10 klar alpine:latest
Analysing 1 layers
Failed to analyze using API v1: push image http://registry-1.docker.io/v2/library/alpine:latest to Clair failed: can't push layer to Clair: Post http://http://myclairroute:6060/v1/layers: dial tcp ip_of_the_route:6060: getsockopt: no route to host
Failed to analyze using API v3: push image http://registry-1.docker.io/v2/library/alpine:latest to Clair failed: roc error: code - unavailable desc = SubConns are in TransientFailure
Failed to analyze, exiting
I can ping http://myclairroute from my local machine without any problem , although it is worth mentioning that I need to be. connected to a vpn to do so.
The text was updated successfully, but these errors were encountered:
Hello all,
I have some issues using Klar to analyse some images with clair.
My setup :
I have deployed a clair and database instance on an Openshift cluster.
I use clair:v2.1.7
with 6060 and 6061 as target port
and Postgres:9.6 with port 5432
My config.yaml
I did configure a route to be able to communicate with the clair pod using Klar on my local machine.
here is the output of the corresponding curl
here the output of Klar
I can ping http://myclairroute from my local machine without any problem , although it is worth mentioning that I need to be. connected to a vpn to do so.
The text was updated successfully, but these errors were encountered: