• Kubernetes Submit Queue's avatar
    Merge pull request #33965 from euank/coreos-kube-up-now-with-less-cloud-init · 3994845f
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Coreos kube-up now with less cloud init
    
    This update includes significant refactoring. It moves almost all of the
    logic into bash scripts, modeled after the `gci` cluster scripts.
    
    The reason to do this is:
    1. Avoid duplicating the saltbase manifests by reusing gci's parsing logic (easier maintenance)
    2. Take an incremental step towards sharing more code between gci/trusty/coreos, again for better maintenance
    3. Pave the way for making future changes (e.g. improved rkt support, kubelet support) easier to share
    
    The primary differences from the gci scripts are the following:
    1. Use of the `/opt/kubernetes` directory over `/home/kubernetes`
    2. Support for rkt as a runtime
    3. No use of logrotate
    4. No use of `/etc/default/`
    5. No logic related to noexec mounts or gci-specific firewall-stuff
    
    It will make sense to move 2 over to gci, as well as perhaps a few other small improvements. That will be a separate PR for ease of review.
    
    Ref #29720, this is a part of that because it removes a copy of them.
    
    Fixes #24165
    
    cc @yifan-gu 
    
    Since this logic largely duplicates logic from the gci folder, it would be nice if someone closely familiar with that gave an OK or made sure I didn't fall into any gotchas related to that, so cc @andyzheng0831
    3994845f
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd 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...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
vendor Loading commit data...
.gazelcfg.json Loading commit data...
.generated_docs Loading commit data...
.generated_files Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
BUILD.bazel Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
OWNERS_ALIASES Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
WORKSPACE Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...