mesos-go icon indicating copy to clipboard operation
mesos-go copied to clipboard

enable tls transport for executor

Open kkrishna opened this issue 7 years ago • 2 comments

Looked for this topic in issues and explored code, however couldn't find relevant information. My apologies if this has been discussed earlier.

Mesos is running with tls enabled (LIBPROCESS_SSL_ENABLED=true) in my cluster; I'm looking for sample code to enable tls transport for executor. Sample executor example doesn't have sufficient details.

It seems, this can be realized using DriverConfig.NewMessenger? looking for sample code/pointers on the same.

kkrishna avatar May 19 '18 17:05 kkrishna

I haven't written any sample code for this yet. PRs welcome :)

If you use the newer v1 API then you'd presumably configure TLS using the TLSConfig or RoundTripper funcs in the api/v1/lib/httpcli package.

jdef avatar Jun 12 '18 21:06 jdef

Much appreciate your response @jdef Noticed this commit Not sure, httpOpt isn't public? Is this change-set complete for tls support? let me know if any additional ones need to be done for tls support in v0 API.

appreciate your help. thanks.

kkrishna avatar Jun 27 '18 06:06 kkrishna