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:
Derek Parker
2016-05-05 15:24:54 -07:00
parent 835a2577f8
commit f307e97f87
11 changed files with 818 additions and 685 deletions

View File

@@ -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) {