Last active
February 21, 2018 06:04
-
-
Save maniankara/e617d6b423394eb00ef0c77a8fdf9cc3 to your computer and use it in GitHub Desktop.
TCP echo server which replies with hostname, run as kubernetes daemonset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
kind: DaemonSet | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: tcp-server-ds | |
labels: | |
app: tcp-server-ds | |
spec: | |
template: | |
metadata: | |
name: tcp-server-ds | |
labels: | |
app: tcp-server-ds | |
spec: | |
hostNetwork: true | |
containers: | |
- image: maniankara/tcp-echo:1.0 | |
ports: | |
- containerPort: 446 | |
name: tcp-echo-server | |
args: ["--port", "446"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment