Skip to content

Instantly share code, notes, and snippets.

@silveiralexf
silveiralexf / showstat.go
Last active October 16, 2019 19:07
Command line utility to display app status in a given port -- useful for example for signaling successful start of an application for other pods waiting with initContainers
package main
import (
"encoding/json"
"flag"
"fmt"
"log"
"net/http"
"os"
)