abstract class K8sSyslog::K8s

Direct Known Subclasses

Defined in:

k8s-syslog/k8s.cr

Constant Summary

TLS_CTX = OpenSSL::SSL::Context::Client.new.tap do |ctx| if File.exists?("/var/run/secrets/kubernetes.io/serviceaccount/ca.crt") ctx.ca_certificates = "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" end end

TLS contexts are memory heavy so reuse between all clients

Constructors

Constructor Detail

def self.new #

https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/


[View source]