wip
This commit is contained in:
parent
0a4b32dffe
commit
774ea44af1
9 changed files with 160 additions and 115 deletions
26
logspammer.yaml
Normal file
26
logspammer.yaml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: logspammer
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: logspammer
|
||||
namespace: prod
|
||||
labels:
|
||||
app: logger
|
||||
service_name: logspammer-service-name
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
containers:
|
||||
- name: logspammer
|
||||
image: busybox:latest
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- |
|
||||
while true; do
|
||||
echo "$(date -Is) ⚙️ Hello from the Kubernetes logger pod!"
|
||||
sleep 5
|
||||
done
|
||||
---
|
||||
Loading…
Add table
Add a link
Reference in a new issue