This commit is contained in:
Waylon S. Walker 2025-05-23 10:24:41 -05:00
parent 0a4b32dffe
commit 774ea44af1
9 changed files with 160 additions and 115 deletions

26
logspammer.yaml Normal file
View 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
---