Created
May 8, 2020 17:33
-
-
Save nithu0115/4d90d012ac4c6014b59853921893af22 to your computer and use it in GitHub Desktop.
This file contains 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
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: startup-script | |
labels: | |
app: startup-script | |
spec: | |
template: | |
metadata: | |
labels: | |
app: startup-script | |
spec: | |
hostPID: true | |
containers: | |
- name: startup-script | |
image: gcr.io/google-containers/startup-script:v1 | |
imagePullPolicy: IfNotPresent | |
securityContext: | |
privileged: true | |
env: | |
- name: STARTUP_SCRIPT | |
value: | | |
#! /bin/bash | |
echo 340 > /proc/sys/net/ipv4/tcp_keepalive_time | |
echo done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment