diff --git a/pkg/controller/bootstrap/jws.go b/pkg/controller/bootstrap/jws.go index b2da4ee54b9..81f87ce1d5b 100644 --- a/pkg/controller/bootstrap/jws.go +++ b/pkg/controller/bootstrap/jws.go @@ -33,7 +33,7 @@ func computeDetachedSig(content, tokenID, tokenSecret string) (string, error) { } opts := &jose.SignerOptions{ - // Since this is a symetric key, go-jose doesn't automatically include + // Since this is a symmetric key, go-jose doesn't automatically include // the KeyID as part of the protected header. We have to pass it here // explicitly. ExtraHeaders: map[jose.HeaderKey]interface{}{ diff --git a/pkg/kubelet/server/portforward/websocket.go b/pkg/kubelet/server/portforward/websocket.go index a7c9e82ce54..8bd6eb70980 100644 --- a/pkg/kubelet/server/portforward/websocket.go +++ b/pkg/kubelet/server/portforward/websocket.go @@ -45,7 +45,7 @@ const ( // options contains details about which streams are required for // port forwarding. -// All fields incldued in V4Options need to be expressed explicitly in the +// All fields included in V4Options need to be expressed explicitly in the // CRI (pkg/kubelet/apis/cri/{version}/api.proto) PortForwardRequest. type V4Options struct { Ports []int32 diff --git a/pkg/proxy/ipvs/proxier.go b/pkg/proxy/ipvs/proxier.go index 00413f4a21e..c3933f01be7 100644 --- a/pkg/proxy/ipvs/proxier.go +++ b/pkg/proxy/ipvs/proxier.go @@ -95,7 +95,7 @@ var ipvsModules = []string{ "nf_conntrack_ipv4", } -// In IPVS proxy mode, the following flags need to be setted +// In IPVS proxy mode, the following flags need to be set const sysctlRouteLocalnet = "net/ipv4/conf/all/route_localnet" const sysctlBridgeCallIPTables = "net/bridge/bridge-nf-call-iptables" const sysctlVSConnTrack = "net/ipv4/vs/conntrack"