Skip to content

Commit

Permalink
Revert "interesting: restore ability to start with swap on by default"
Browse files Browse the repository at this point in the history
This reverts commit bd1da08.
  • Loading branch information
liggitt committed Nov 20, 2017
1 parent 49fb419 commit 97ab350
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/cmd/server/kubernetes/node/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ 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 97ab350

Please sign in to comment.