class Kitchen::Transport::K8s

Kubernetes transport for Kitchen. Uses kubectl exec.

Public Instance Methods

connection(state) { |conn| ... } click to toggle source

All configuration options can be found in the Driver class.

# File lib/kitchen/transport/k8s.rb, line 16
def connection(state, &block)
  Connection.new(
    pod_id: state[:pod_id],
    namespace: config[:namespace],
    binary: config[:binary]
  ).tap do |conn|
    yield(conn) if block
  end
end