open-menu closeme
Home
RetroComp icon
Retro Computing Articles Composition Notebooks 8bit
DevOps icon
Automation K8s Done Right
GenAI icon
Fatlama Newsletter Generative AI
SQLite
Status
Links icon
LinkedIn
About
馃寪
English Italiano
github linkedin rss
  • Resource tuning in K8s

    calendar Sep 4, 2023 路 4 min read
     devops en  路 k8s
     路
    Share on: twitter facebook linkedin copy

    K8s and limits

    On K8s, for every pod you can define how much memory and CPU the pod needs. To make things "simpler", K8s define two set of values: requests and limits, both for CPU and memory. After some trouble on GCP, I was forced to dig a bit in the subject.

    聽


    Read More
  • Healthcheck

    calendar Sep 15, 2023 路 2 min read
     devops en featured  路 docker docker-compose k8s
     路
    Share on: twitter facebook linkedin copy

    I am always amused on how complex K8s/Docker Swarm are, and how easy “plain” docker is.


    Read More
  • addCiarpame: Automate your K8s configuration automation

    calendar Oct 6, 2023 路 3 min read
     automation devops en  路 k8s
     路
    Share on: twitter facebook linkedin copy

    Context: Spring microservice application to be deployed on K8s via helm + boring Friday

    In this scenario, you end up writing the SAME configuration string in a lot of places:

    1. On at least 2 application.properties (main and test)
    2. On the final, helm-generated application properties (or in the relevant environment variable if you use them in place (1))
    3. On the default K8s values.yaml used by helm. Possibly on other yaml file too, all documented a bit to be kindly with the K8s SRE.
    4. On the relevant Java code, as a @Value annotation to finally use that damn config.
    These configuration are not particular exciting: they are all similar, some case can change but, really, ChatGPT could do it for you. If you have 4 parameters, you end up losing half an hour to do everything and test it. We can do better, for sureTM
    Read More
  • Alpine vs Busybox: how to wget in K8s

    calendar Nov 10, 2023 路 1 min read
     devops en  路 docker k8s
     路
    Share on: twitter facebook linkedin copy

    In the last projects, I get used to use K8s CronJob(s) to schedule tasks.


    Read More
  • Magicron, small K8s template to make cronjob

    calendar Nov 23, 2024 路 3 min read
     en  路 k8s cronjob
     路
    Share on: twitter facebook linkedin copy
    Magicron, small K8s template to make cronjob

    Sometimes you need to create a lot of CronJobs in k8s. In particular, in my last project I need to create a lot of stupid “web hooks” to fire complex job execution. K8s is well suited for this task because it take care of launching a single job instance, and relaunch them in case of error.


    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Giovanni Giorgi

Master Solution Architect, father and free spirit.
Read More

Recent Posts

  • FatLama for GenAI: The comeback!
  • Caciaball Extreamer
  • Screen to Gif and Terminal Screencam
  • PostgreSQL Queue in Java + Spring

Latest comments

    Disclaimer

    Gioorgi is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for website owners to earn advertising fees by advertising and linking to amazon.com, audible.com, and any other website that may be affiliated with Amazon Service LLC Associates Program. As an Amazon Associate we earn from qualifying purchases.
    Last updated:2025-05-02 02:00
    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top