@@ -183,6 +183,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -183,6 +183,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
fs.BoolVar(&s.MakeIPTablesUtilChains,"make-iptables-util-chains",s.MakeIPTablesUtilChains,"If true, kubelet will ensure iptables utility rules are present on host.")
fs.BoolVar(&s.MakeIPTablesUtilChains,"make-iptables-util-chains",s.MakeIPTablesUtilChains,"If true, kubelet will ensure iptables utility rules are present on host.")
fs.Int32Var(&s.IPTablesMasqueradeBit,"iptables-masquerade-bit",s.IPTablesMasqueradeBit,"The bit of the fwmark space to mark packets for SNAT. Must be within the range [0, 31]. Please match this parameter with corresponding parameter in kube-proxy.")
fs.Int32Var(&s.IPTablesMasqueradeBit,"iptables-masquerade-bit",s.IPTablesMasqueradeBit,"The bit of the fwmark space to mark packets for SNAT. Must be within the range [0, 31]. Please match this parameter with corresponding parameter in kube-proxy.")
fs.Int32Var(&s.IPTablesDropBit,"iptables-drop-bit",s.IPTablesDropBit,"The bit of the fwmark space to mark packets for dropping. Must be within the range [0, 31].")
fs.Int32Var(&s.IPTablesDropBit,"iptables-drop-bit",s.IPTablesDropBit,"The bit of the fwmark space to mark packets for dropping. Must be within the range [0, 31].")
fs.StringSliceVar(&s.AllowedUnsafeSysctls,"experimental-allowed-unsafe-sysctls",s.AllowedUnsafeSysctls,"Comma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk.")
// Flags intended for testing, not recommended used in production environments.
// Flags intended for testing, not recommended used in production environments.
fs.StringVar(&s.RemoteRuntimeEndpoint,"container-runtime-endpoint",s.RemoteRuntimeEndpoint,"The unix socket endpoint of remote runtime service. If not empty, this option will override --container-runtime. This is an experimental feature. Intended for testing only.")
fs.StringVar(&s.RemoteRuntimeEndpoint,"container-runtime-endpoint",s.RemoteRuntimeEndpoint,"The unix socket endpoint of remote runtime service. If not empty, this option will override --container-runtime. This is an experimental feature. Intended for testing only.")
dm.recorder.Eventf(ref,api.EventTypeWarning,events.FailedToCreateContainer,"Failed to create docker container %q of pod %q with error: %v",container.Name,format.Pod(pod),err)
dm.recorder.Eventf(ref,api.EventTypeWarning,events.FailedToCreateContainer,"Failed to create docker container %q of pod %q with error: %v",container.Name,format.Pod(pod),err)