Consider adding etcdctl to Fedora Atomic Cloud 21 rpm-ostree

Steven Dake sdake at redhat.com
Thu Jan 1 18:18:54 UTC 2015


On 01/01/2015 11:17 AM, Scott Collier wrote:
>
> On 01/01/2015 11:00 AM, Steven Dake wrote:
>> Colin,
>>
>> First off, Nice job on Fedora Atomic - I'm liking what I see :) A 
>> fairly complete uOS for container launching.
>>
>> I'm not sure if your aware, but there is no etcdctl in Fedora Atomic 
>> Cloud 21 images.  This wouldn't be such a big deal, but I don't quite 
>> know how to configure flannel without the etcdctl tool.  I guess I 
>> could work around it possibly using curl, but it sure would be nice 
>> if etcdctl were just in by default.
>>
>> Does anyone on the list know how I could use curl to do the same job 
>> of configuring flannel?  If so, I'd super appreciate the information.
>
> Here's one example:
>
> https://github.com/eparis/kubernetes-ansible/blob/master/roles/flannel/templates/update-flannel.sh.j2 
>
>
> or, another example, create a network config file called 
> flannel-config.json which might look something like:
>
> {
>     "Network": "10.0.0.0/8",
>     "SubnetLen": 24,
>     "Backend": {
>         "Type": "vxlan",
>         "VNI": 1
>     }
> }
>
>
> Then upload to flannel
>
> curl -Lhttp://192.168.54.1:4001/v2/keys/coreos.com/network/config 
> -XPUT --data-urlencodevalue at flannel-config.json
>
>
>
Thanks Scott!  You rock.  No need for etcdctl then :)

Regards
-steve

>
>>
>> The downside is the binary file is 7MB in size.
>>
>> Thoughts?
>>
>> Regards
>> -steve
>>
>>
>>
>> _______________________________________________
>> cloud mailing list
>> cloud at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/cloud
>> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>
> _______________________________________________
> cloud mailing list
> cloud at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/cloud
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct



More information about the cloud mailing list