แสดงบทความที่มีป้ายกำกับ swarm2k แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ swarm2k แสดงบทความทั้งหมด

วันเสาร์ที่ 23 กรกฎาคม พ.ศ. 2559

docker swarm2k with Chanwit

Yesterday I just join in awesome activity it is "swarm2k"
this activity focus on try to create docker swarm more than 2000 node and try to run service on it (in this activity +Chanwit Kaewkasi try to run 100k app

Let start

This activity have github project at https://github.com/swarm2k/swarm2k and follow this instruction https://github.com/swarm2k/swarm2k/blob/master/INSTRUCTIONS.md

I start create my machine with docker-machine in my Vultr account



but before use docker-machine with Vultr you must install Vultr driver

After that I start to create my machine on Vultr with docker-machine command
but from instruction we must use docker dev version then we must use option --engine-install-url "https://experimental.docker.com/" for fix version of docker


Option --vultr-api-key= --vultr-os-id= --vultr-region-id= --vultr-plan-id= you can find with Vultr API
https://www.vultr.com/api/

Now time to join swarm cluster


I'm very lucky after I finish setup my node +Chanwit Kaewkasi just start to deploy service on Cluster



Few minute after deploy service every node on cluster start app at my node start 41 container/node
and then data collector for Grafana die

and response after run cluster checking take about 12 sec


Cluster can't reach 100k app it running at 94k and start to have failed it try hard to make 100k but it can't pass 97k


This activity very fun have many ppl join all around the world I'm very happy to be a part of awesome activity Next time I will join again