// NewConfig returns an KubeProxyConfiguration with appropriate
// defaults set for WKS.
NewConfig returns an KubeProxyConfiguration with appropriate
defaults set for WKS.
// NewConfig returns an KubeProxyConfiguration with appropriate // defaults set for WKS .
func NewConfig(conntrackMax int32) *kubeproxycfg.KubeProxyConfiguration {
	return &kubeproxycfg.KubeProxyConfiguration{
		TypeMeta: metav1.TypeMeta{
			Kind:       kubeProxyConfiguration,
			APIVersion: kubeproxycfg.SchemeGroupVersion.String(),
		},
		Conntrack: kubeproxycfg.KubeProxyConntrackConfiguration{
			Max: pointer.Int32Ptr(conntrackMax),
		},
	}
}
func NewConfig ( conntrackMax int32 ) * kubeproxycfg . KubeProxyConfiguration { return & kubeproxycfg . KubeProxyConfiguration { TypeMeta : metav1 . TypeMeta { Kind : kubeProxyConfiguration , APIVersion : kubeproxycfg . SchemeGroupVersion . String ( ) , } , Conntrack : kubeproxycfg . KubeProxyConntrackConfiguration { Max : pointer . Int32Ptr ( conntrackMax ) , } , } }
NewConfig returns an KubeProxyConfiguration with appropriate
defaults set for WKS.
NewConfig returns an KubeProxyConfiguration with appropriate defaults set for WKS .