mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
kubelet: Add --exit-on-lock-contention flag
This patch adds the --exit-on-lock-contention flag, which must be used in conjunction with the --lock-file flag. When provided, it causes the kubelet to wait for inotify events for that lock file. When an 'open' event is received, the kubelet will exit.
This commit is contained in:
@@ -17,8 +17,9 @@ limitations under the License.
|
||||
package app
|
||||
|
||||
import (
|
||||
"k8s.io/kubernetes/pkg/util/config"
|
||||
"testing"
|
||||
|
||||
"k8s.io/kubernetes/pkg/util/config"
|
||||
)
|
||||
|
||||
func TestValueOfAllocatableResources(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user