CRI: Add dns option, rename DNSOption to DNSConfig.

This commit is contained in:
Yifan Gu
2016-09-28 18:37:23 -07:00
parent 1e5e4fdb9d
commit 44ca3ea5e0
5 changed files with 223 additions and 203 deletions

View File

@@ -37,6 +37,11 @@ const (
minQuotaPeriod = 1000
)
var (
// The default dns opt strings
defaultDNSOptions = []string{"ndots:5"}
)
type podsByID []*kubecontainer.Pod
func (b podsByID) Len() int { return len(b) }