-
Notifications
You must be signed in to change notification settings - Fork 33
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
Make k8s images configurable #341
Conversation
ebaa795
to
bef4094
Compare
self.meta["master_count"] = self.cluster.metadata["master_count"] | ||
mc = self.cluster.metadata["master_count"] | ||
if mc % 2 == 0: | ||
raise ValueError("Master node count must be an odd number at least 3 or greater") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
afaik its redundant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redundant with what?
do we need to forward it in compose-configs? |
this config is used in compose-demo file. I suggest to keep all Mirantis-related params in a one config |
d0ad51f
to
4c46bb3
Compare
with open(os.path.join(dst, "all.yml"), "a") as all_yaml: | ||
all_yaml.write("\ncloud_provider: openstack\n") | ||
data_to_add = {'cloud_provider': 'openstack'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imo unclear naming , maybe kubespray_configuration?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubespray_configuration is located at "all.yml" and we are open this file for append and in data_to_add dictionary contains everything that will be appended
OK, LGFM, we can merge it , if it tested properly |
kqueen/config/demo.py
Outdated
@@ -33,3 +33,16 @@ class Config(BaseConfig): | |||
# Creds for Kqueen Read-only user | |||
LDAP_DN = 'cn=admin,dc=example,dc=org' | |||
LDAP_PASSWORD = 'heslo123' | |||
|
|||
# Images for Kubespray (available images that can be provided is listed in the link below) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*are listed
4c46bb3
to
a598950
Compare
b801376
to
b2ad51f
Compare
No description provided.