Method: Cloud::Sh::Commands::K8sTail#command
- Defined in:
- lib/cloud/sh/commands/k8s_tail.rb
#command ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/cloud/sh/commands/k8s_tail.rb', line 15 def command [ exe, "^" + ([:pod] == "all" ? "." : [:pod]), "--context #{[:context]}", "--namespace #{[:namespace]}", "--regex", "--tail #{[:tail]}", "--since 240h", "--colored-output pod", "--follow true" ].join(" ") end |