Merge "Support TimeoutStartSec for k8s systemd services"
This commit is contained in:
commit
b07f8ba861
|
@ -102,6 +102,7 @@ ExecStop=-/usr/bin/podman stop kube-apiserver
|
||||||
Delegate=yes
|
Delegate=yes
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
TimeoutStartSec=10min
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
@ -130,6 +131,7 @@ ExecStop=-/usr/bin/podman stop kube-controller-manager
|
||||||
Delegate=yes
|
Delegate=yes
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
TimeoutStartSec=10min
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
@ -157,6 +159,7 @@ ExecStop=-/usr/bin/podman stop kube-scheduler
|
||||||
Delegate=yes
|
Delegate=yes
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
TimeoutStartSec=10min
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
@ -204,6 +207,7 @@ ExecStop=-/usr/bin/podman stop kubelet
|
||||||
Delegate=yes
|
Delegate=yes
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
TimeoutStartSec=10min
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
@ -235,6 +239,7 @@ ExecStop=-/usr/bin/podman stop kube-proxy
|
||||||
Delegate=yes
|
Delegate=yes
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
TimeoutStartSec=10min
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -103,6 +103,7 @@ ExecStart=/bin/bash -c '/usr/bin/podman run --name kubelet \\
|
||||||
ExecStop=-/usr/bin/podman stop kubelet
|
ExecStop=-/usr/bin/podman stop kubelet
|
||||||
Delegate=yes
|
Delegate=yes
|
||||||
Restart=always
|
Restart=always
|
||||||
|
TimeoutStartSec=10min
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -134,6 +135,7 @@ ExecStart=/bin/bash -c '/usr/bin/podman run --name kube-proxy \\
|
||||||
ExecStop=-/usr/bin/podman stop kube-proxy
|
ExecStop=-/usr/bin/podman stop kube-proxy
|
||||||
Delegate=yes
|
Delegate=yes
|
||||||
Restart=always
|
Restart=always
|
||||||
|
TimeoutStartSec=10min
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue