Revisions of kubernetes-salt
Containers Team (containersteam)
committed
(revision 337)
new commit from concourse: Commit e501ce9 by Rafael Fernández López ereslibre@ereslibre.es Fix tests Commit 90423b6 by Rafael Fernández López ereslibre@ereslibre.es _service kubernetes-salt.changes kubernetes-salt.spec master.tar.gz Add more test cases for `caasp_etcd` _service kubernetes-salt.changes kubernetes-salt.spec master.tar.gz Update to allow `etcdctl` API version 3 Fixes: bsc#1098433 Fixes: bsc#1098064 Fixes: bsc#1098161 Commit e5efa1c by Rafael Fernández López ereslibre@ereslibre.es Allow `etcd` to grow as required and shrink to optimal etcd cluster sizes on corner cases. Improve `etcd` configuration handling to allow it to grow as needed. This change includes: _service kubernetes-salt.changes kubernetes-salt.spec master.tar.gz Adding several masters at the same time _service kubernetes-salt.changes kubernetes-salt.spec master.tar.gz `etcd` will grow instance by instance still, as recommended by the `etcd` administration best practices. _service kubernetes-salt.changes kubernetes-salt.spec master.tar.gz Try to use the current endpoints reported by `etcd`. This makes much easier to grow several instances one by one without having to relay on internal hacks to properly set up `ETCD_INITIAL_CLUSTER` environment variable. _service kubernetes-salt.changes kubernetes-salt.spec master.tar.gz Add helper methods that allow us to list current members (active and unstarted) _service kubernetes-salt.changes kubernetes-salt.spec master.tar.gz Differentiate between the first bootstrap (`ETCD_INITIAL_CLUSTER_STATE` defaults to `new`) and *any* other run, where `ETCD_INITIAL_CLUSTER_STATE` will be `existing`, as the `etcd` cluster is already running. When we grow, we take into account the golden ratio; however, when shrinking the cluster we don't. It might happen that a cluster ends up with not recommended etcd number of nodes (2, 4, 6...) depending on how it grew before and how it shrank. This logic makes sure that we are always on an etcd golden ratio, also on corner cases when removing nodes. Fixes: bsc#1098433 Fixes: bsc#1098064 Fixes: bsc#1098161
buildservice-autocommit
accepted
request 644679
from
Factory Maintainer (factory-maintainer)
(revision 336)
baserev update by copy to link target
Containers Team (containersteam)
committed
(revision 335)
new commit from concourse: Commit 0d75b49 by Florian Bergmann fbergmann@suse.de Use the registry configuration mapped from the host node.
buildservice-autocommit
accepted
request 642690
from
Factory Maintainer (factory-maintainer)
(revision 334)
baserev update by copy to link target
Containers Team (containersteam)
committed
(revision 333)
new commit from concourse: Commit 641ab4e by Ludovic Cavajani lcavajani@suse.com rename aggregator to proxy-client Signed-off-by: Ludovic Cavajani <lcavajani@suse.com> Commit 081d260 by Ludovic Cavajani lcavajani@suse.com bsc#1108195 Aggregation layer needs configuration Signed-off-by: Ludovic Cavajani <lcavajani@suse.com>
Containers Team (containersteam)
committed
(revision 332)
new commit from concourse: Commit 842a528 by Florian Bergmann fbergmann@suse.de Fix unittests by mocking the __utils__ dictionary of salt. Fix flake8 errors. Update flake8 configuration to contain __utils__ as builtin. Commit dfa86b1 by Florian Bergmann fbergmann@suse.de Copy the dex configmap before running kubectl_appy_dir_template. Otherwise there can be a different ordering, in which the configmap file has not been copied before the 20-deployment.yaml file is rendered by jinja. Commit 3c7e2ff by Florian Bergmann fbergmann@suse.de Remove all pkg.installed statements. Given that caasp right now only runs on transactional-update servers, these statements are useless - they can never install a package anyhow and will only fail should the package not be installed already. Commit ccc3834 by Florian Bergmann fbergmann@suse.de Cleanup shebang lines: remove unneeded ones, use python3 else. Commit 5fac8c1 by Florian Bergmann fbergmann@suse.de Use a salt module to determine base_image_url used for images. Remove containerfeeder states, if registry images are used. Commit 15cb59d by Florian Bergmann fbergmann@suse.de Synchronize grains on minion connect. Commit a73f3d4 by Alvaro Saurin alvaro.saurin@gmail.com Fix caasp_hosts: use caasp_log utililty module instead of importing. Importing the module would break in python3. Commit d0371e9 by Florian Bergmann fbergmann@suse.de Do not ignore etcd members if they were requested without id. Commit 95119a5 by Florian Bergmann fbergmann@suse.de Fix Jinja filters for python3. - Dictionary accesses can no longer be indexed. - Neither values() nor keys() return a index-accessed datastructure in python3: in Jinja this means having to use the 'first' filter instead to access the first element. get_with_expr returns dict_keys() which don't implement __add__. Instead converting them to lists, where needed will allow concatenating those. Commit 02fa037 by Florian Bergmann fbergmann@suse.de Add the whole /usr/share/salt/kubernetes/salt folder as module_dir. Otherwise the _utils/caasp_log.py module will not be available in orchestrations. Commit f77ab2f by Florian Bergmann fbergmann@suse.de Use __utils__ to access the caasp_log utility module. This is required for python3: https://docs.saltstack.com/en/latest/topics/utils/index.html Add caasp_log module to proxy the _utils module. This allows salt-states and templates to call the module still.
Containers Team (containersteam)
committed
(revision 331)
new commit from concourse: Commit d1b7960 by Florian Bergmann fbergmann@suse.de Fix bsc#1111168: Do not expect masters to always need to be updated If the masters already updated, but workers failed to update this state will not have any minions to run on and fail if 'execpt_minions: false' is not set.
Containers Team (containersteam)
committed
(revision 330)
new commit from concourse: Commit 84a115f by Florian Bergmann fbergmann@suse.de Changes has to be dictionary. When using a boolean it will fail the state in salt-2018.3.0. Commit 5bcafd2 by Alvaro Saurin alvaro.saurin@gmail.com Generate the /etc/hosts file from a state, merging our entries with previously found entries. bsc#1098334
Containers Team (containersteam)
committed
(revision 329)
new commit from concourse: Commit 5e37228 by Jordi Massaguer Pla jmassaguerpla@suse.de use sle12sp3 images from suse registry Signed-off-by: Jordi Massaguer Pla <jmassaguerpla@suse.de>
Containers Team (containersteam)
committed
(revision 328)
new commit from concourse: Commit 95c1980 by Rafael Fernández López ereslibre@ereslibre.es Always wait for haproxy to be serving requests before continuing. We could do the wait on the different places to avoid a generic piece like haproxy having to wait for a specific component like the apiserver, but we are already writing specific components in its configuration, and a future reordering of states could trigger this error again. So, when we kill haproxy, wait for it to be serving requests again before continuing with the next state. On the 2 to 3 upgrade this was causing a failure because right after restarting haproxy we were trying to drain the node. Since we run this operation on the very same machine that is being targeted, this `kubectl` command cannot reach the apiserver (because haproxy is still initializing), causing the whole update orchestration to fail. Fixes: bsc#1109661
Jordi Massaguer (jordimassaguerpla)
committed
(revision 327)
fix changelog
Containers Team (containersteam)
committed
(revision 326)
new commit from concourse: Commit 310c6ba by Michal Jura mjura@suse.com Fix space formatting in apiserver configuration
buildservice-autocommit
accepted
request 637413
from
Factory Maintainer (factory-maintainer)
(revision 325)
baserev update by copy to link target
Jordi Massaguer (jordimassaguerpla)
committed
(revision 324)
fix changes
buildservice-autocommit
accepted
request 635506
from
Factory Maintainer (factory-maintainer)
(revision 323)
baserev update by copy to link target
Containers Team (containersteam)
committed
(revision 322)
new commit from concourse: Commit 5fee301 by Vicente Zepeda Mas vzepedamas@suse.com Fix bsc#1099045 adds annotation to use docker/default seccomp profile Signed-off-by: Vicente Zepeda Mas <vzepedamas@suse.com>
buildservice-autocommit
accepted
request 631321
from
Factory Maintainer (factory-maintainer)
(revision 321)
baserev update by copy to link target
Containers Team (containersteam)
committed
(revision 320)
new commit from concourse: Commit 904eac6 by Kiall Mac Innes kiall@macinnes.ie Create RoleBinding to allow dex discovery This RoleBinding allows unauthenticated users (such as those using caasp-cli) to find the Dex service endpoint. This was dropped in 3cdcfaedb2d029694a34fbcb147087eccea3e25a bsc#1104658
Containers Team (containersteam)
committed
(revision 319)
new commit from concourse: Commit 95898c4 by Vicente Zepeda Mas vzepedamas@suse.com Fix bsc#1101004 removes unsused pillars for transactional updates
Containers Team (containersteam)
committed
(revision 318)
new commit from concourse: Commit 865e929 by Vicente Zepeda Mas vzepedamas@suse.com Fix #bsc1101004 removes extra configuration for transactional updates Signed-off-by: Vicente Zepeda Mas <vzepedamas@suse.com>
Displaying revisions 41 - 60 of 377