Skip to content

Commit 97ab350

Browse files
committed
Revert "interesting: restore ability to start with swap on by default"
This reverts commit bd1da08.
1 parent 49fb419 commit 97ab350

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/cmd/server/kubernetes/node/options/options.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ func Build(options configapi.NodeConfig) (*kubeletoptions.KubeletServer, error)
8282
server.RemoteImageEndpoint = options.DockerConfig.DockerShimSocket
8383
server.DockershimRootDirectory = options.DockerConfig.DockershimRootDirectory
8484

85-
// TODO: check/warn/fail in setup instead?
86-
// allows kubelet to continue to start in swap environments
87-
server.FailSwapOn = false
88-
8985
// prevents kube from generating certs
9086
server.TLSCertFile = options.ServingInfo.ServerCert.CertFile
9187
server.TLSPrivateKeyFile = options.ServingInfo.ServerCert.KeyFile

0 commit comments

Comments
 (0)