• Set command arguments with environment variables

    2 min read

    kubernetes pod argument command environment variable

    When configuring command line arguments for containers we might need to be able to use certain values that might be elsewhere like the name of the current namespace.

    We can use environment variables as the source of the information without having to write a wrappet to actually populate them

    26/08/2022

    Read more...
  • Getting regular user and admin credentials to login to a CRC cluster

    2 min read

    If we are using CRC to run a minikube-like OpenShift cluster we'll need the use oc login to connect to the cluster. If we don't have the credentials but the cluster is not deleted, we can still retrieve them

    25/08/2022

    Read more...
  • How to retrieve a github actions secret

    2 min read

    github action get secret

    When using Github Actions secrets, it won't show any secrets on the action's logs: It is going to replace any string that matches with an existing secret with ***

    24/08/2022

    Read more...
  • OpenShift: unable to start CRC

    3 min read

    While trying to setup CRC (a OpenShift version of minikube) on your laptop, while trying to start crc it might fail starting with the following crypting message:

    $ crc start
    requires memory in MiB >= 9216
    

    23/08/2022

    Read more...
  • Using ephemeral containers

    3 min read

    kubernetes kubectl debug troubleshooting ephemeral containers

    Starting Kubernetes 1.23, ephemeral containers are enabled by default (in beta though). Using ephemeral containers we can now troubleshoot pods by deploying a temporary container into it with extra privileges or binaries to use

    22/08/2022

    Read more...

More recent...

Older content...