Allow privileged pods.

pull/102/head
Dan Lorenc 2016-05-23 18:10:34 -07:00
parent a4150c2523
commit e5c3564f9e
2 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,8 @@ func StartAPIServer(lk LocalkubeServer) func() error {
config.EnableWatchCache = true
config.MinRequestTimeout = 1800
config.AllowPrivileged = true
return func() error {
return apiserver.Run(config)
}

View File

@ -38,6 +38,8 @@ func StartKubeletServer(lk LocalkubeServer) func() error {
// Set containerized based on the flag
config.Containerized = lk.Containerized
config.AllowPrivileged = true
// Networking
config.ClusterDomain = lk.DNSDomain
config.ClusterDNS = lk.DNSIP.String()