Documentation ¶
Index ¶
- func GetHollowKubeletConfig(nodeName string, kubeletPort int, kubeletReadOnlyPort int, maxPods int, ...) (*options.KubeletFlags, *componentconfig.KubeletConfiguration)
- type FakeProxier
- func (*FakeProxier) OnEndpointsAdd(endpoints *api.Endpoints)
- func (*FakeProxier) OnEndpointsDelete(endpoints *api.Endpoints)
- func (*FakeProxier) OnEndpointsSynced()
- func (*FakeProxier) OnEndpointsUpdate(oldEndpoints, endpoints *api.Endpoints)
- func (*FakeProxier) OnServiceAdd(service *api.Service)
- func (*FakeProxier) OnServiceDelete(service *api.Service)
- func (*FakeProxier) OnServiceSynced()
- func (*FakeProxier) OnServiceUpdate(oldService, service *api.Service)
- func (*FakeProxier) Sync()
- func (*FakeProxier) SyncLoop()
- type HollowKubelet
- type HollowProxy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHollowKubeletConfig ¶
func GetHollowKubeletConfig( nodeName string, kubeletPort int, kubeletReadOnlyPort int, maxPods int, podsPerCore int) (*options.KubeletFlags, *componentconfig.KubeletConfiguration)
Builds a KubeletConfiguration for the HollowKubelet, ensuring that the usual defaults are applied for fields we do not override.
Types ¶
type FakeProxier ¶
type FakeProxier struct{}
func (*FakeProxier) OnEndpointsAdd ¶ added in v1.7.0
func (*FakeProxier) OnEndpointsAdd(endpoints *api.Endpoints)
func (*FakeProxier) OnEndpointsDelete ¶ added in v1.7.0
func (*FakeProxier) OnEndpointsDelete(endpoints *api.Endpoints)
func (*FakeProxier) OnEndpointsSynced ¶ added in v1.7.0
func (*FakeProxier) OnEndpointsSynced()
func (*FakeProxier) OnEndpointsUpdate ¶ added in v1.7.0
func (*FakeProxier) OnEndpointsUpdate(oldEndpoints, endpoints *api.Endpoints)
func (*FakeProxier) OnServiceAdd ¶ added in v1.7.0
func (*FakeProxier) OnServiceAdd(service *api.Service)
func (*FakeProxier) OnServiceDelete ¶ added in v1.7.0
func (*FakeProxier) OnServiceDelete(service *api.Service)
func (*FakeProxier) OnServiceSynced ¶ added in v1.7.0
func (*FakeProxier) OnServiceSynced()
func (*FakeProxier) OnServiceUpdate ¶
func (*FakeProxier) OnServiceUpdate(oldService, service *api.Service)
func (*FakeProxier) Sync ¶
func (*FakeProxier) Sync()
func (*FakeProxier) SyncLoop ¶
func (*FakeProxier) SyncLoop()
type HollowKubelet ¶
type HollowKubelet struct { KubeletFlags *options.KubeletFlags KubeletConfiguration *componentconfig.KubeletConfiguration KubeletDeps *kubelet.KubeletDeps }
func NewHollowKubelet ¶
type HollowProxy ¶
type HollowProxy struct {
ProxyServer *proxyapp.ProxyServer
}
func NewHollowProxyOrDie ¶
func NewHollowProxyOrDie( nodeName string, client clientset.Interface, eventClient v1core.EventsGetter, iptInterface utiliptables.Interface, sysctl utilsysctl.Interface, execer utilexec.Interface, broadcaster record.EventBroadcaster, recorder record.EventRecorder, useRealProxier bool, ) (*HollowProxy, error)
func (*HollowProxy) Run ¶
func (hp *HollowProxy) Run()
Click to show internal directories.
Click to hide internal directories.