Merge pull request #7014 from a-robinson/dirname

Move the logging-related directories to where I think they belong
pull/6/head
Brendan Burns 2015-04-20 10:50:09 -07:00
commit ba95c8a176
11 changed files with 0 additions and 51 deletions

View File

@ -1,22 +0,0 @@
# Makefile for a synthetic logger to be logged
# by GCP. The cluster must have been created with
# the variable LOGGING_DESTINATION=GCP.
.PHONY: up down logger-up logger-down get
KUBECTL=kubectl.sh
up: logger-up
down: logger-down
logger-up:
-${KUBECTL} create -f synthetic_0_25lps.yml
logger-down:
-${KUBECTL} delete pods synthetic-logger-0.25lps-pod
get:
${KUBECTL} get pods

View File

@ -1,29 +0,0 @@
# This pod specification creates an instance of a synthetic logger. The logger
# is simply a program that writes out the hostname of the pod, a count which increments
# by one on each iteration (to help notice missing log enteries) and the date using
# a long format (RFC-3339) to nano-second precision. This program logs at a frequency
# of 0.25 lines per second. The shellscript program is given directly to bash as -c argument
# and could have been written out as:
# i="0"
# while true
# do
# echo -n "`hostname`: $i: "
# date --rfc-3339 ns
# sleep 4
# i=$[$i+1]
# done
apiVersion: v1beta1
kind: Pod
id: synthetic-logger-0.25lps-pod
desiredState:
manifest:
version: v1beta1
id: synth-logger-0.25lps
containers:
- name: synth-lgr
image: ubuntu:14.04
command: ["bash", "-c", "i=\"0\"; while true; do echo -n \"`hostname`: $i: \"; date --rfc-3339 ns; sleep 4; i=$[$i+1]; done"]
labels:
name: synth-logging-source

View File

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB