Sha256: 74ecadad762ef2d665aaf6e789863260427776a1cbda19c4bf9988a9c4a988bb
Contents?: true
Size: 618 Bytes
Versions: 1
Compression:
Stored size: 618 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true $LOAD_PATH.unshift File.join(File.dirname(__FILE__), "..", "lib") require 'helm_upgrade_logs' helm_pid = Process.spawn "helm upgrade #{ARGV.join(' ')}" event_pid = Process.spawn 'kubectl get events --watch-only=true' service_pid = Process.spawn 'kubectl get services --watch-only=true' sleep 5 log_pid = Process.spawn 'kubectl logs -lapp.kubernetes.io/managed-by=Helm -f --all-containers --prefix --pod-running-timeout=20s --ignore-errors=true --max-log-requests=20' Process.wait helm_pid puts `kill #{log_pid}` puts `kill #{event_pid}` puts `kill #{service_pid}`
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
helm_upgrade_logs-0.1.3 | exe/helm_upgrade_logs |