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
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
TimeoutStartSec=10min
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
@ -130,6 +131,7 @@ ExecStop=-/usr/bin/podman stop kube-controller-manager
|
|||
Delegate=yes
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
TimeoutStartSec=10min
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
@ -157,6 +159,7 @@ ExecStop=-/usr/bin/podman stop kube-scheduler
|
|||
Delegate=yes
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
TimeoutStartSec=10min
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
@ -204,6 +207,7 @@ ExecStop=-/usr/bin/podman stop kubelet
|
|||
Delegate=yes
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
TimeoutStartSec=10min
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
@ -235,6 +239,7 @@ ExecStop=-/usr/bin/podman stop kube-proxy
|
|||
Delegate=yes
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
TimeoutStartSec=10min
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
|
|
@ -103,6 +103,7 @@ ExecStart=/bin/bash -c '/usr/bin/podman run --name kubelet \\
|
|||
ExecStop=-/usr/bin/podman stop kubelet
|
||||
Delegate=yes
|
||||
Restart=always
|
||||
TimeoutStartSec=10min
|
||||
RestartSec=10
|
||||
[Install]
|
||||
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
|
||||
Delegate=yes
|
||||
Restart=always
|
||||
TimeoutStartSec=10min
|
||||
RestartSec=10
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue