I have Clair deployed in kubernetes cluster, and I'm trying to send images to be analyzed to the clair pod using Klar client on a separate server, outside of the cluster. As shown below, Klar successfully GETs the image from private docker repo, then tries to push the image to clair pod. On line 40, I see that Klar tries "POST /v1/layers HTTP/1.1". I assume that it is trying to push the image to Clair pod according to Clair API v1, and that it should try to push according to Clair API v3 as well?
Maybe Klar is not even attempting to push according to Clair API v3 because of this, on line 47?
rpc error: code = Unavailable desc = transport is closing
I am using Clair v2.0.3 and Klar v2.3.0, as was recommended by kody-abe in this issue pertaining to an rpc error manifesting in failure to push: #110.
I have Clair deployed in kubernetes cluster, and I'm trying to send images to be analyzed to the clair pod using Klar client on a separate server, outside of the cluster. As shown below, Klar successfully GETs the image from private docker repo, then tries to push the image to clair pod. On line 40, I see that Klar tries "POST /v1/layers HTTP/1.1". I assume that it is trying to push the image to Clair pod according to Clair API v1, and that it should try to push according to Clair API v3 as well?
Maybe Klar is not even attempting to push according to Clair API v3 because of this, on line 47?
rpc error: code = Unavailable desc = transport is closing
I am using Clair v2.0.3 and Klar v2.3.0, as was recommended by kody-abe in this issue pertaining to an rpc error manifesting in failure to push: #110.