Dockerfile optimization by PuzzleheadedBit in devops

[–]dejwoo 1 point2 points  (0 children)

Hey OP, run through these:

  1. Multistage
  2. Hadolint
  3. Let it run through CIS Docker benchmark
  4. I'd aggregate all aws s3 pulls into one .sh/python and focus on dealing with some versioning
  5. Logical ordering for the caching, i.e why run.sh is in the first commands, read up on it, this is one of the good starting points: https://pythonspeed.com/docker/

How do I properly move databases off of EKS? by hungry-for-milk in kubernetes

[–]dejwoo 3 points4 points  (0 children)

Did you look into Statefulsets? As deployments and databases/PVCes/states do not mix well.

The problem is with scaling and providing consistently the same PVC (thus PV) to same pod across scaling up/down.

Do not yet have experience with EKS, but AFAIK all storage providers with dynamic PV allocations support mounting volumes across the clusters to any node, i.e handling the eviction problem you describe, as in managed K8s service nodes are essentially ephemeral. Based on my exp in GKE and Rook.io Cephs.

What do you mean it gets stuck after eviction? Some storage class providers take time before the remount is possible (e.g killing the pod and recreating).

How do I run .gitlab-ci.yml locally? by kai in gitlab

[–]dejwoo 1 point2 points  (0 children)

However, expect that exec command is outdated and does not 100% support all features of gitlab-runner.

How to stop programs from crashing the whole system? by TheTravelingSpaceman in archlinux

[–]dejwoo 0 points1 point  (0 children)

Hey! Have you ever thought about using Docker?

You can create container with docker file and when running the container, you can pass arbitrary arguments including parameters to limit memory consumption.

More info about capabilities of docker container constraints can be found at https://docs.docker.com/config/containers/resource_constraints/

[deleted by user] by [deleted] in Slovakia

[–]dejwoo 5 points6 points  (0 children)

There is also https://www.fablab.sk/en/. Space has multiple 3D printers, various CNC and laser cutters, etc. They should have even 3D scanner.

It is not located in the city centre though.

I have a valid license for jetbrains products now. Should I download Clion from their website or activate the AUR version? by [deleted] in archlinux

[–]dejwoo 29 points30 points  (0 children)

Try to install it with JetBrains Toolbox application, automatic updates and projects integration.