Skip to content

Instantly share code, notes, and snippets.

@mike-weiner
Created March 29, 2024 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mike-weiner/c16ee1e52c01be20f6f478f76f95692b to your computer and use it in GitHub Desktop.
Save mike-weiner/c16ee1e52c01be20f6f478f76f95692b to your computer and use it in GitHub Desktop.
A k8s echoserver Daemonset that can be helpful for debugging. Not intended for production use.
# This YAML describes a rudimentary echoserver DaemonSet
# that can be useful for debugging purposes, especially
# when it comes to Services.
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: echoserver-debug
namespace: default
labels:
app: echoserver-debug
spec:
selector:
matchLabels:
app: echoserver-debug
template:
metadata:
labels:
app: echoserver-debug
spec:
containers:
- name: echoserver
image: k8s.gcr.io/echoserver:latest
ports:
- containerPort: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment