Skip to content

Riaan's SysAdmin Blog

My tips, howtos, gotchas, snippets and stuff. Use at your own risk!

  • About
Docker rancher 

Rancher Admin Password Docker Image

June 3, 2023 admin

To reset the Rancher admin console password when you are using the docker image you can do this. $ docker

Read more
Bash 

sed remove ansi colors from output

April 30, 2023 admin

Using ansi colors can be very helpful to see script out[put. Example of cleaning ansi color codes from output before

Read more
Bash OCI 

Bash alias inside a script

March 16, 2023March 19, 2023 admin

If you need to use an alias inside a script you need this: shopt -s expand_aliases source ~/.bash_aliases I recently

Read more
Kubernetes Uncategorized 

kubectl export

December 4, 2022December 4, 2022 admin

Since kubectl –export is deprecated it is possible to do something like this. WARNING: I have not tested this #!/bin/bash

Read more
Kubernetes Virtualbox 

VirtualBox Host-Only Networking Change

October 16, 2022 admin

In case this save someone hours of frustration. I recentlty tried to dust off an old kubernetes POC running on

Read more
AWS 

ACM check validation

February 16, 2022February 16, 2022 admin

Everytime I want to do a CLI query I spend a little time on syntax so recording this just for

Read more
Bash Linux 

Linux Shell Incremental Search

February 6, 2022February 6, 2022 admin

You probably use (and rely) on command search a lot already but thought I would add something about fish. If

Read more
Python 

python append key

December 4, 2021 admin

Python Append Key Building a dict and ordering it into groups by key is sometimes very useful. Teh following code

Read more
Kubernetes nginx 

Kubernetes NodePort Load Balancing with nginx

September 15, 2021September 15, 2021 admin

Mostly this is done in a cloud environment where they have Kubernetes integrated with cloud load balancers and you expose

Read more
AWS Flask Python 

AWS SNS to http subscription receiving in python3 http server and Flask

July 24, 2021July 24, 2021 admin

I wanted an easier way to test and manipulate a notification using an AWS SNS subscription. Mostly I do a

Read more
  • ← Previous

Recent Posts

  • Rancher Admin Password Docker Image
  • sed remove ansi colors from output
  • Bash alias inside a script
  • kubectl export
  • VirtualBox Host-Only Networking Change

Tags

Active Directory Ansible AWS Azure Backups Bash DNS Docker DynamoDB Firewall Gnome go javascript jq json Kubernetes KVM LDOM Linux Logging LVM Nagios nfs OCI Oracle Bare Metal Cloud Services OVM PHP Python rclone RDP restic Security Sendmail SMTP Solaris SSH Terraform Ubuntu Uncategorized Video Encoding Virtualbox VNC VPN Windows ZFS
Copyright © 2023 Riaan's SysAdmin Blog. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.