-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build config file for worker nodes too #224
Build config file for worker nodes too #224
Conversation
|
I agree with the the changes you're proposing here, we've had internal discussions to do something similar with the use of config files for joining nodes with the newer versions of k8s. There's a few things in here that are broken like the config files and the define types but generally speaking the direction is one I support You're also welcome to grab me in the puppet community slack if that is an easier place to discuss any ideas you're having before putting a lot of time and effort into PR's etc. |
33a21d9
to
e1fd7e2
Compare
|
Have been testing this branch over the xmas/new year period and can't seem to get a clean run with kream on the worker nodes first go. I need to re run puppet, as it seems to skip over the unless statement the first time and not put any of the worker config down. Are you only working in AWS? |
60d4494
to
513f9d6
Compare
|
Are you talking about this I tested this in Kream with 1.10.2, 1.11.2, 1.12.3, 1.13.0 and 1.13.1 and I'm not seeing that problem. What does your test data look like? |
|
That is the unless I'm referring to. Appears the error only occurs on ubuntu. I'm running it with the default data in kream and pointing my puppetfile to your fork. Here are some excerpts from the log.
It skips over the unless statement and runs packages the services, without the worker config.
|
If a cloud configuration is used, it must be mounted in these pods as of 1.11 https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.11.md#new-deprecations
This resolves the same cloud_provider problem for workers as the previous patch. It also does some strategic structure for the new config-file-oriented world, which will hopefully make it easier to obsolete older versions with less pain.
513f9d6
to
c1c82b9
Compare
|
I tested this on aws with ubuntu and it worked fine. Still can't get it to work with vagrant using puppet5/6 on debian and ubuntu...very odd. |
|
I am gonna work on this, sorry, cycles have been hard to find last few days |
|
@jorhett no problem. Just to be clear the PR is good, and we have every intention of merging once we can hopefully figure out this small issue. I've had someone else test to make sure it's not my local environment with the same result. I am in the same boat in that I am working in the background whilst doing other things so let's post any results here and keep the conversation going |
|
I'm going to merge this, and raise a separate issue to track this as a big in KREAM only, as a release is dependent on this code and master is currently broken without it. Thanks again for your contributions |
This resolves the same cloud_provider problem for workers as the previous patch.
It also does some strategic structure for the new config-file-oriented world,
which will hopefully make it easier to obsolete older versions with less pain.
I wouldn't merge this yet, I don't think it's been tested all the ways it needs to be. We need some eyeballs on this in different environments.