3 ms·
For me, simplicity beats completeness any day of the week. With swarm it takes 3 commands to create a swarm of 2 nodes and raise a simple replicated service(no
by msl09 10y ago
For me, simplicity beats completeness any day of the week.
With swarm it takes 3 commands to create a swarm of 2 nodes and raise a simple replicated service(not considering installing swarm and ssh'ing into the nodes).
Now lets talk about kubernetes:
With kubernetes I need to edit several configuration files and run 4 commands to start the master, edit more configuration files in each minion run 4 more commands, btw all that without ingress(which swarm has it built in by default, though I hear that it's also coming for kubernetes).
When all that is done I'm finally able to start writing my pods and services(with swarm pods=services so it's less flexible, but easier to wrap your head around).
Writing pods is a challenge on it's own the API changed like there was no tomorrow in the past(maybe that will improve in the future) so most configurations you find on the internet are out of date and will simply not run, nearly every field requires a name tag for no obvious reason, exposing services to the rest of your network seems to require a phd in distributed network systems.
The documentation is often inconsistent with the current version. The customer/community support is non-existent or abrasive. Actually I think this tweet by Kesley Hightower underlines pretty accurately the team attitude towards criticism on the state of the software: https://twitter.com/kelseyhightower/status/735511037928038401 https://twitter.com/kelseyhightower/status/73551103792803840...
Finally I must say that all those problems that I have encountered were with creating a kubernetes cluster in our company infrastructure, I have not encountered most of those problems using gcloud. If you use google's infrastructure kubernetes is just harder than swarm, not unbearably obnoxious. Sadly we don't have the option to rent a cloud service for our company.
To sum it up, I think it's great that docker is becoming a competitor to kubernetes their attitude towards quality always impressed me and thus far I'm sold on it, but the best outcome of this is that having docker in the cluster managers competition may help raise the bar for every system.