(Justin)

Tech nerd from Sweden

Matrix: @jlh:jlh.name

  • 1 Post
  • 452 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle





  • For question 1: You can have multiple resource objects in a single file, each resource object just needs to be separated by ---. The small resource definitions help keep things organized when you’re working with dozens of precisely configured services. It’s a lot more readable than the other solutions out there.

    For question 2, unfortunately Docker Compose is much more common than Kubernetes. There are definitely some apps that provide kubernetes documentation, especially Kubernetes operators and enterprise stuff, but Docker-Compose definitely has bigger market share for self-hosted apps. You’ll have to get experienced with turning a docker compose example into deployment+service+pvc.

    Kubernetes does take a lot of the headaches out of managing self-hosted clusters though. The self-healing, smart networking, and batteries-included operators for reverse-proxy/database/ACME all save so much hassle and maintenance. Definitely Install ingress-nginx, cert-manager, ArgoCD, and CNPG (in order of difficulty).

    Try to write yaml resources yourself instead of fiddling with Helm values.yaml. Usually the developer experience is MUCH nicer.

    Feel free to take inspiration/copy from my 500+ container cluster: https://codeberg.org/jlh/h5b/src/branch/main/argo

    In my repo, custom_applications are directories with hand-written/copy-pasted yaml files auto-synced via ArgoCD Operator, while external_applications are helm installations, managed via ArgoCD Operator Applications.







  • That is not the argument stated in the article

    Sánchez argued that Spain doesn’t need to spend 5 percent of its GDP to fulfill its so-called capability targets, meaning new objectives of weapons inventory agreed by NATO defense ministers earlier this month.

    He also wrote that a 5 percent defense spending goal would jeopardize the country’s welfare system, force the government to increase taxes on the middle class, scale back commitments to the green transition and curtail international development cooperation.

    “It is the legitimate right of every government to decide whether or not they are willing to make those sacrifices,” he wrote.

    Rushing to 5 percent would also force Madrid to buy off-the-shelf equipment instead of fostering its own industrial base, as well as take money away from welfare policies, Sánchez also wrote.

    The Spanish Socialist party is in a coalition with the junior left-wing Sumar party, which opposes increased defense spending and whose members are expected to attend a counter-summit for peace in parallel to the NATO summit.