• Fixing Killed: 9 Error on macOS

    2 min read

    OpenShift macOS quarantine CLI oc kubectl security

    When downloading and installing software downloaded from internet on macOS, you might encounter a frustrating "Killed: 9" error immediately after trying to run the binary. This issue is caused by macOS Gatekeeper security feature that quarantines downloaded files to protect against potentially malicious software.

    In this case we are downloading the openshift-client from RedHat, but we won't be able to run it:

    $ tar xzvf openshift-client-mac-arm64.tar.gz
    x README.md
    x oc
    x kubectl
    $ mv oc ../local/bin/
    $ oc
    Killed: 9
    

    21/07/2025

    Read more...
  • How to Create a Homebrew Formula

    3 min read

    Homebrew formula Python tap distribution

    Homebrew is a popular package manager for macOS (also available for Linux), allowing developers to distribute their software through simple brew install commands. We are going to use a Python project to create a Homebrew formula and distribuite it using a tap.

    06/09/2024

    Read more...
  • Apple Silicon's Rosetta: Selecting different architectures

    2 min read

    apple sillicon m1 rosetta arch command

    On Apple Silicon-based Macs we have the arch command that will allow us to to run a selected architecture of a universal binary. By default, the operating system will select the architecture that most closely matches the processor type.

    The arch command can be used to alter the operating system's normal selection order.

    30/08/2023

    Read more...
  • How to Fix the "invalid active developer path" error

    2 min read

    macOS error Xcode invalid active developer path xcrun

    Have you encountered the invalid active developer path error while trying, for example, to use git on your macOS system? This error occurs because Git requires the Command Line Tools for Xcode to be installed on your system (typically you'll encounter this after updating the system)

    $ git
    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
    

    06/04/2023

    Read more...
  • Show current Kubernetes context in the menu bar

    2 min read

    kubernetes context macos tray icon

    Some commands might be safe to execute while connected to some environments, but can definitely break stuff is applied to the wrong Kubernetes cluster. However, having to execute kubectl config current-context too ofter to make sure we are connected to the right cluster is no fun either.

    With kubectx tray we can have a small icon on the tray bar to help us identify what's the current cluster.

    30/11/2022

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets
Categories
tags related to this category