Skip to content

Instantly share code, notes, and snippets.

@hexfusion
Last active January 31, 2025 18:48
Show Gist options
  • Save hexfusion/f538997dbf8379f4048a5eacf778bb96 to your computer and use it in GitHub Desktop.
Save hexfusion/f538997dbf8379f4048a5eacf778bb96 to your computer and use it in GitHub Desktop.
helm install fctl-ocp-ui oci://quay.io/flightctl/flightctl-ocp-ui --version=0.0.1-96-gab2e859
grep 'Completed fetch device' your_log_file.log | grep -E ' [0-9]+(\.[0-9]+)?s"'
bin/flightctl login --insecure-skip-tls-verify https://api.flightctl-rw9.apps.cs-aws-416-cbf72.dev02.red-chesterfield.com --token=<token>
# count total devices in fleet
./bin/flightctl get fleets | awk 'NR>1 {sum+=$NF} END {print sum}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment