• Michael Taufen's avatar
    Kubelet Refactoring · f277205f
    Michael Taufen authored
    This refactor removes the legacy KubeletConfig object and adds a new
    KubeletDeps object, which contains injected runtime objects and
    separates them from static config. It also reduces NewMainKubelet to two
    arguments: a KubeletConfiguration and a KubeletDeps.
    
    Some mesos and kubemark code was affected by this change, and has been
    modified accordingly.
    
    And a few final notes:
    
    KubeletDeps:
    KubeletDeps will be a temporary bin for things we might consider
    "injected dependencies", until we have a better dependency injection
    story for the Kubelet. We will have to discuss this eventually.
    
    RunOnce:
    We will likely not pull new KubeletConfiguration from the API server
    when in runonce mode, so it doesn't make sense to make this something
    that can be configured centrally. We will leave it as a flag-only option
    for now. Additionally, it is increasingly looking like nobody actually uses the
    Kubelet's runonce mode anymore, so it may be a candidate for deprecation
    and removal.
    f277205f
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api/swagger-spec Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
release Loading commit data...
staging/src/k8s.io/client-go Loading commit data...
test Loading commit data...
third_party Loading commit data...
vendor Loading commit data...
www Loading commit data...
.generated_docs Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...