"Fossies" - the Fresh Open Source Software Archive

Member "magnum-8.1.0/releasenotes/notes/fix-race-condition-for-k8s-multi-masters-29bd36de57df355a.yaml" (1 Oct 2019, 717 Bytes) of package /linux/misc/openstack/magnum-8.1.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ---
    2 fixes:
    3   - |
    4     When creating a multi-master cluster, all master nodes will attempt to
    5     create kubernetes resources in the cluster at this same time, like
    6     coredns, the dashboard, calico etc. This race conditon shouldn't be
    7     a problem when doing declarative calls instead of imperative (kubectl
    8     apply instead of create). However, due to [1], kubectl fails to apply
    9     the changes and the deployemnt scripts fail causing cluster to creation
   10     to fail in the case of Heat SoftwareDeployments. This patch passes the
   11     ResourceGroup index of every master so that resource creation will be
   12     attempted only from the first master node.
   13     [1] https://github.com/kubernetes/kubernetes/issues/44165