Open jomach opened 5 years ago
cc @sashankreddya
I'm not a go programmer but I think I found the issue here (Or it should be handled my the httpcli from mesos-go lib):
func Client() (mesosAgentClient, error) {
mesosClientOnce.Do(func() {
// Start Client
apiURL := url.URL{
Scheme: "http",
Host: *MesosAgentAddress,
Path: "/api/v1",
}
mesosClient = &client{
hc: httpcli.New(
httpcli.Endpoint(apiURL.String()),
httpcli.Codec(codecs.ByMediaType[codecs.MediaTypeProtobuf]),
httpcli.Do(httpcli.With(httpcli.Timeout(*MesosAgentTimeout))),
),
}
})
under container/mesos/client.go. Update: I tried to patch it with adding https to the scheme same problem. It can be that the lib mesos-go is the problem. I asked for help here https://github.com/mesos/mesos-go/issues/377
Hi everyone,
It seems that there is no documentation (or probably is not implemented) that the cadvisor cannot speak with mesos slaves if the following environment vars are set on mesos agent.
I always get:
Is this known and documented how to fix it?