Check how the data is stored by: $ kubectl describe secret <secret-name> -n <namespace> Now, use the value under Data … More
Category: CommandLine
Are you looking for good practices and guidelines to know to build CLI tools?
If so, then I’d like to recommend checking out; https://clig.dev/ An open-source guide to help you write better command-line programs, taking traditional … More
Changes in bash_profile not getting reflected in Mac OS.
It seems like your login shell on the mac is not Bash, so if you just execute bash you need to … More
How to clean my local docker and prune all images?
Following the command. $ docker system prune -a
[Util] – How to change the permissions of a file in order to make it an executable script?
Use the command chmod to apply the permission 755. Following an example. ( Note the x at the end in … More
[Mac Os X] – How to install ansible version X?
Following an example/commands to install ansible 2.4. $ brew install python $ pip3 install virtualenv $ sudo pip install ansible==2.4.0 If you … More
[Utils] – Configuration to show the current git branch on the terminal
Following the result of this setup. To do this setup go to the bash_profile and add the following code. (~/.bash_profile … More
[DevOps] – How to solve DNS issues? How to use Google Public DNS?
Your default DNS is that of the access provider, but you can change this if there is a problem in … More
[CommandLine] – How to change DNS/resolv.conf into ubuntu? How don’t lost the changes after reboot the system?
Edit the head file as sudo and run the command for the “resolv.conf” file be automatically generated again. # To edit … More
[CommandLine] – How to copy a local file to a remote service? How to do a `scp` with a public key?
scp -r -i mykey.pem <file_path> <server_user>@<server_ip>:<server_path_file>