Skip to content

Commit

Permalink
interesting: restore ability to start with swap on by default
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt committed Nov 20, 2017
1 parent 424fa05 commit bd1da08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cmd/server/kubernetes/node/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ func Build(options configapi.NodeConfig) (*kubeletoptions.KubeletServer, error)
server.RemoteImageEndpoint = options.DockerConfig.DockerShimSocket
server.DockershimRootDirectory = options.DockerConfig.DockershimRootDirectory

// TODO: check/warn/fail in setup instead?
// allows kubelet to continue to start in swap environments
server.FailSwapOn = false

// prevents kube from generating certs
server.TLSCertFile = options.ServingInfo.ServerCert.CertFile
server.TLSPrivateKeyFile = options.ServingInfo.ServerCert.KeyFile
Expand Down

0 comments on commit bd1da08

Please sign in to comment.