We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24fee74 commit 1b8edd6Copy full SHA for 1b8edd6
src/deploy/shell/deploy-httplogger.sh
@@ -0,0 +1,13 @@
1
+#!/usr/bin/env bash
2
+if [ -z "$BASH_VERSION" ]; then
3
+ echo "This script requires Bash. Use: bash $0 $*"
4
+ exit 0
5
+fi
6
+SCDIR=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
7
+
8
+cat > deploy-httplogger.shell <<EOF
9
+stream create --name httplogger --definition "http | log"
10
+stream deploy --name httplogger --properties app.*.logging.level.root=debug,deployer.http.kubernetes.createLoadBalancer=true
11
+EOF
12
13
+"$SCDIR/shell.sh" --spring.shell.commandFile=deploy-httplogger.shell
0 commit comments