Class: KBE::CLI::DeleteCommand

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/kbe/cli/delete_command.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



14
15
16
17
# File 'lib/kbe/cli/delete_command.rb', line 14

def execute
  pod = KBE.pod_by(selector_or_pod, only_running: false)
  KBE.kubectl "delete pod #{pod}"
end