Author: root

  • Kubernetes – Delete All Completed Jobs One-Liner

    Kubernetes – Delete All Completed Jobs One-Liner

    Sometimes you forget, or don’t want to add, successfulJobsHistoryLimit or event perhaps failedJobsHistoryLimit. Whatever the case, the end result looks something like this: You can of course go and kubectl delete all of them, but a much quicker solution is using this one-liner: Running the above one-line will list all the jobs in the default…

  • Kubernetes – Connect To Private Container Registry

    Kubernetes – Connect To Private Container Registry

    Now that you are hosting your own registry (… are you?). You probably want to deploy Kubernetes pods from that registry. For this you need two things: Docker registry credentials saved in a Secret imagePullSecrets in deployment pointing to said Secret First, Create secret: Second, Use secret in in deployment. Example: And you’re done 🍔

  • Docker – Useful CURL:s For Querying Private Registry

    Docker – Useful CURL:s For Querying Private Registry

    Keep it minimal, who needs a fancy GUI for your Docker Registry when you have, CURL? 😉 Get all container images from registry: Example output: List all tags for container image: Example output: TIP, combine the curl with -s and jq for pretty output: Keep it CURL:in 👾

  • Docker – Host Your Own Private Container Registry

    Docker – Host Your Own Private Container Registry

    Docker Hub (hub.docker.com) provides a great and Free service for pushing, and pulling of course, Docker containers. Many of the major software providers use Docker Hub for their primary container distribution, and you yourself can create an account and push your own images. They do, however, only allow one free private repository. This may not…

  • AXFR.se – Fresh .SE/.NU Domains

    AXFR.se – Fresh .SE/.NU Domains

    Zonedata for the domain name TLD:s .SE and .NU are completely open and freely available to the public. They can be transferred from zonedata.iis.se: More information available at: https://zonedata.iis.se/ With this free information, I created the site https://www.axfr.se. Where I present newly added .SE and .NU domains. All published diffs are compared with Zonedata from…