Merge pull request #51221 from MrHohn/kube-proxy-adj-flag

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Use `--oom-score-adj` flag for kube-proxy

**What this PR does / why we need it**:
Replace `echo -998 > /proc/$$$/oom_score_adj` with `--oom-score-adj` flag for kube-proxy.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #51083

**Special notes for your reviewer**:
/assign @justinsb @vishh 

**Release note**:

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue
2017-10-04 14:08:19 -07:00
committed by GitHub
5 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
// +build cgo,linux
// +build linux
/*
Copyright 2015 The Kubernetes Authors.

View File

@@ -1,4 +1,4 @@
// +build cgo,linux
// +build linux
/*
Copyright 2015 The Kubernetes Authors.

View File

@@ -1,4 +1,4 @@
// +build !cgo !linux
// +build !linux
/*
Copyright 2015 The Kubernetes Authors.