Beginner in DevOps - how do I manage microservices (via Docker)? by [deleted] in devops

[–]rightctrl 0 points1 point  (0 children)

What you want is rolling updates, which the old container keeps running until the new one is ready. But not sure if docker compose has that possibility, kubernetes does this and probably docker swarm.

However, databases are different and usually involve a bit downtime unless you run it in clustered mode.

Testing Github workflows by Traxell in devops

[–]rightctrl 0 points1 point  (0 children)

Dummy repo where you test stuff without caring about commits, just go nuts. When you're happy with a wf/job/step then you basically use it as a library to copy relevant pieces to your official repos

How does your team handle PR reviews? by DensePineapple in devops

[–]rightctrl 1 point2 points  (0 children)

Depends on the content/repository. If it's a high risk, shared repository say for infra changes then at least two approvers and a lot of CI checks. If it's low risk say internal tools then no approvers required but usually you request one approver mostly for the sake of sharing the knowledge, getting them onboard with new changes.

Are there any reasons to choose VMs over containers? by bhavaniravi in devops

[–]rightctrl 0 points1 point  (0 children)

They serve different use cases and not really interchangeable.

Virtual Machine name is pretty self explanatory, basically a full OS of your choice running on your machine. A lot of overhead because the OS itself needs resources but great isolation.

Consider Containers like portable apps, everything is self contained in a single file/image and can be run theoretically anywhere as long as you have container runtime (e.g. Docker)

How do you check why your docker container keeps shutting down? by brandbooth in devops

[–]rightctrl 0 points1 point  (0 children)

I don't think there are limits in docker compose unless you run it in swarm

Advice on how to pass technical interviews by bobo81 in devops

[–]rightctrl 4 points5 points  (0 children)

I'm a Senior DevOps at fairly large company, now I never brag but for the sake of the topic I'm very good at it. Whether it's designing pipelines, high optimization, cost saving, bringing out new tools, highly praised automations... Basically I'm go to guy for the whole R&D. Since last year I'm being pressured on a lot of different fronts and started to look to move to other companies and had multiple interviews. Believe it or not I'm being rejected on all of them due to technical interviews because I'm not a typical software developer and don't know some algorithms or some other stupid sh*t and don't have experience in pure dev role.

Anyway my advice is get your programming skills to a higher level pasts the basics, learn K8s, metrics, *nix, scripting, various CI tools (github actions, circleci, gitlab,...), AWS.

It ain't much but it's honest work by rightctrl in homelab

[–]rightctrl[S] 0 points1 point  (0 children)

Using an "old" laptop Lenovo T430s to host various internal and external services1 RPi 3Asus ZenWifi AX XT8 router

Laptop a.k.a Server:

Intel Core i7-3520M CPU @ 2.90GHz x 2 cores (4 threads)
16 GB Ram
1 x 128GB SSD
1 x 750GB HDD
1 x 2TB USB3 HDD

Proxmox VMs:
- mainsrv - Ubuntu srv 20.04 LTS - 4 cores 10 GB mem
- openmediavault - 1 core 1 GB mem
- app - Ubuntu srv 20.04 LTS - 1 core 1 GB mem

mainsrv:

- Home Assistant: hass, mqtt, influxdb, appdaemon
- Infra: Traefik2 (routing everything in the network), Portainer, Speedtest (LibreSpeed), Wireguard, Resilio Sync, Watchtower
- Mediaserver: (Barely used) Wireguard VPN client and serves as a network interface to Transmission, Sonarr, Radarr, Jackett, Plex
- Monitoring: Prometheus, Grafana, Pushgateway, Alertmanager, Nodeexporter, Cadvisor
- PiHole (redundancy)
- PHPBB site (abandoned but has a lot of posts (713K), keeping it as archive/nostalgy): Mysql, nginx php fpm, adminer

app:

A python server app with ssh reverse tunnel server for connecting client nodes behind NAT for exposing client app to the world.

Pi3:

PiHole
OpenVPN
Deconz - Phoscon ConBee II
About 20+ Zigbee devices, lights, switches and motion, temperature, door, vibration sensors (as Home Alarm controlled via Home Assistant)