<div dir="ltr">Kanwar,<div><br></div><div>that's excellent point but from bootstrap perspective there is no CABPK so far since there is no K8s. The only thing we have at the beginning of the deployment is LiveCD/LiveUSB image for ephemeral K8s cluster. Ephemeral cluster on this Live image should be deployed using the same mechanism as Target cluster for consistency sake. Therefore we need something that generate this cloud init script.</div><div><br></div><div>That being said we can try to use CABPK Golang library for generating cloud-config. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 28, 2019 at 1:51 PM Kanwar Saad <<a href="mailto:kanwar.sbl@gmail.com">kanwar.sbl@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Dmitry,<div><br></div><div>Airship will be using kubernetes cluster-api and cloud-init generation will be taken care by "Cluster api bootstrap provider kubeadm(CABPK)" and final specifics of cloud-init(like network config) for bare metal hosts will be provided by CAPI baremetal provider. So from the airship point of view cloud init generation is not our task.</div><div><br></div><div>Br,</div><div>Kanwar</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 28, 2019 at 12:42 PM Mael Kimmerlin <mael.kimmerlin@est.tech> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="gmail-m_4052922294786912318gmail-m_-501670381659480751appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_4052922294786912318gmail-m_-501670381659480751divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Dmitry Ukov <<a href="mailto:dukov@mirantis.com" target="_blank">dukov@mirantis.com</a>><br>
<b>Sent:</b> Wednesday, August 28, 2019 9:55 AM<br>
<b>To:</b> <a href="mailto:airship-discuss@lists.airshipit.org" target="_blank">airship-discuss@lists.airshipit.org</a> <<a href="mailto:airship-discuss@lists.airshipit.org" target="_blank">airship-discuss@lists.airshipit.org</a>><br>
<b>Subject:</b> [Airship-discuss] Cloud init script generator for airshipctl</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hello all,
<div><br>
</div>
<div>Since we a re moving to Ironic-based bare metal provisioning using metal3-io we need to implement solution for cloud-init script creation based on new document model.</div>
<div>There is Golang library and cli tool [1] shared by Alan Meadows recently. We can leverage it in scope of airshipctl.</div>
<div>Unfortunately it supports only Ubuntu, Debian, Centos, Fedora and Redhat. So I see 2 options here:</div>
<div>
<ol>
<li>Use this library and try to contribute to it by adding more Linux distributions</li><li>Reimplement same approach as a part of airshipctl codebase</li></ol>
<div>What do you think?</div>
</div>
<div><br>
</div>
<div>[1] <a href="https://github.com/moshloop/konfigadm" target="_blank">https://github.com/moshloop/konfigadm</a><br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail-m_4052922294786912318gmail-m_-501670381659480751gmail_signature">
<div dir="ltr">
<div>Kind regards
<div>Dmitry Ukov</div>
<div>Principal Deployment Engineer</div>
<div>
<div>Mirantis, Inc.</div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Kind regards<div>Dmitry Ukov</div><div>Principal Deployment Engineer</div><div><div>Mirantis, Inc.</div></div><div><br></div></div></div></div>