4 ms·
If you guys don't see the value of being able to click on a button on a website to deploy, perfectly, everytime over some guy sshing into the box and running gi
by hparadiz 3y ago
If you guys don't see the value of being able to click on a button on a website to deploy, perfectly, everytime over some guy sshing into the box and running git pull I dunno what to tell you.
- mmmm2 3y agoEmacs has a button for that :-).
- banku_brougham 3y agoPeople arent missing the value, nobody is saying it wont perform as advertised -- the discussion is about the cost.
- hparadiz 3y agoSetting up a testing & deploy via a CI script is basically free. AWS gives away CodeDeploy for free. Ansible is open source. I learned all this stuff working on open source stuff where platforms like GitHub give you free compute time.
- deleted 3y ago[deleted]
- rmbyrro 3y agoThe discussion here is not the method of deployment, but the infra architecture. You don't need k8s, containers, and multiple cloud instances to automate deployment. It's perfectly possible and simple to implement a button to deploy on a single machine. Heck, on OVH or Hetzner, you can have a dedicated bare metal machine with many cores and RAM exclusive to you, cheaper than famous cloud instances. These bare metals will handle what takes sometimes hundreds of containers to handle, with a much simple and easy to maintain infra.
- moondev 3y agoYou can deploy k8s on a single machine though. This way you get the benefit of a standardized, documented API without the burden of multiple machines.
- zer00eyz 3y agoYour still setting up K8's... I have scp'd my go binary and set it up in system d. Nothing about K8 or containers are light... they are buckets where bad devs hide the bodies in most cases.
- moondev 3y agokubernetes is also a static go binary (kubelet) deployed with systemd!
- hparadiz 3y agoWhy use k8s over just a docker container?
- zer00eyz 3y agoDont deploy docker in production. Podman. You could but why all the extra overhead?
- hparadiz 3y agoDocker has no overhead on the Linux kernel. It just runs things for you via LXC. The overhead is no different from any other process.
- zer00eyz 3y agoThe last time I checked docker was libcontainer and not running lxc any longer. Libcontaier lxc all use the same api calls to the kernel... so in effect your still correct (mostly) They all have overhead, if you're starting to use their features... cgroups can have some very funny impacts on app performance more so if your running containers ontop of a linux install over a hypervisor vs nix on hardware.
- JodieBenitez 3y agoHey ! I click on a button to deploy. Turns out that button does the sshing but that still counts, right ?
- ProblemExplorer 3y ago> If you guys don't see the value of being able to click on a button on a website to deploy, perfectly, everytime over some guy sshing into the box and running git pull I dunno what to tell you. Maybe clicking a button that sshes into the box and runs git pull?
- deleted 3y ago[deleted]
- erik_seaberg 3y agoPSA: please don't follow a manual checklist over ssh. At least write an Ansible playbook that does those things repeatably, or even better, script idempotent changes in an .rpm or .deb to install.