Technotes
Technotes for future me
Home
About
Boilerplate
Search
External
My sites
External sites
Tooling
docker-toolbox
Locust
Siege
Testssl.sh
Load Test
Fetchurls
Query and log output website
Copy Docker repositories
Services
Services snippets
Last updated on 25 Dec 2019
Published on 25 Dec 2019
Edit on GitHub
Prev - SELinux
Next - Apache
Home
Containers
+
Containerd
+
How to run and manage containers using ctr
How to use nerdctl if you are familiar with Docker CLI
How to work with container images using ctr
Portworx
+
Portworx cheatsheet
Harbor
+
Harbor
Helm
+
Helm
Kubernetes
+
Kubernetes cronjob
How to trigger a Kubernetes cronjob manually
ConfigMap
+
Mounting a ConfigMap to an Existing Volume in Kubernetes
Updating a ConfigMap
Scheduling
+
nodeSelector and nodeAffinity
PodAffinity
Taint and Tolerations
Kubernetes: Evenly Distribution of Pods Across Cluster Nodes
Canary testing
Life Cycle Management
+
Kubent
Kubernetes rollout history and rollback
Network Policies
+
Kubernetes Network Policy Recipes
Kubernetes Network Policies
Role Based Access Control RBAC
+
Creating A Kubernetes Service Account To Run Pods
Kubernetes Role Based Access Control RBAC
Authorization
Kubernetes namespace deleting stuck in Terminating state
kubectl error: You must be logged in to the server (Unauthorized) – how to fix
Backup and Restore Kubernetes ETCD database
Clean up old containers and images in your kubernetes cluster
Kubernetes CheatSheet
Kubernetes Pod Security Policies explained
Kubernetes copy data between pvc
Kubernetes pvc deleting stuck in Terminating state
Easy way to change namespace in Kubernetes
Pull an Image from a Private Registry
Check PVC usage
Kubernetes NodePort vs LoadBalancer vs Ingress
externalTrafficPolicy
Quota's, Limits and Resources
Upgrade Kubernetes
Volumes
Generate TLS Secret for kubernetes
Update cluster DRAFT - NOT TESTED
Kubernetes
Docker
+
GoLang: Using multi-stage builds to create clean Docker images
Docker
Docker CMD vs ENTRYPOINT
Docker Swarm
Docker run in background
Docker: determining container responsible for largest overlay directories
Docker exec into container
Docker logging
Docker registry actions
Syncthing
Algolia
Nexuses
+
Nexus database restore
Python
+
Python 3.11, pip and (breaking) system packages
Virtual environment
DevOps
+
Using VSCode over SSH
Take Your VS Code Configuration Anywhere Easily with Settings Sync
Demo
Go
WSL
+
Running Docker on WSL2 without Docker Desktop
Go
Testing
+
Siege
Curl
Bash
+
Source
Level up your shell history with Loki and fzf
Loops
Bash CLI
Best practices
Logging in bash scripts
Safer bash scripts
Function
Hostfile
Snippets
Redis
+
Redis
Network
+
dnsdiag
mmcli
nsswitch
Basic Load-Balancer Scenarios Explained
nslookup
dig
Network Tools
nmap
Linux Networking
Ipcalc/Sipcalc
Netcat
network troubleshoot
Languages
+
YAML
Scripting
+
awk
Bash
Bash functions
Bash regex
sed
Shell scripting
Videos
Security
+
AppArnor
https
Security Incident Handling
SELinux
Services
+
Apache
htaccess
MySQL
NFS
Nginx
Nodejs
Postgres
Redis
Samba
Squid
Tomcat
Webserver
Splunk
+
Splunk
Terraform
+
Terraform
Virtualization
+
Quemu
KVM
LXC
Vagrant
VirtualBox
Jenkins
+
Jenkins dump credentials
Jenkins DSL seed job
Send messages via mail and Slack
Jenkins Environment variables
Jenkins
Jenkins docs
Jenkins pipeline DSL
JenkinsX
Jinja
Script to automaticaly install plugins in Jenkins.
Jenkins create git webhook
Jenkins use git submodule with declarative pipeline
Jenkins create git pipeline
Jenkins sources
Monitoring
+
Alertmanager
Netdata
Node exporter
Prometheus
Test
+
Chapter 1
+
Chapter 1-1
Chapter 1-2
Chapter 1-3
Chapter 1-4
Chapter 2 (weighted)
+
Chapter 2-3 (weight: 10)
Chapter 2-4 (weight: 20)
Chapter 2-2 (weight: 30)
Chapter 2-1 (weight: 40)
Chapter 3 (hierarchized)
+
Chapter 3-1
Chapter 3-2
+
Chapter 3-2-1
Chapter 3-2-2
Chapter 3-2-3
Chapter 3-2-4
Chapter 3-3
Chapter 3-4
Sample Document
+
Build-in Shortcodes
Custom Shortcodes
Table of Contents
Template
Performance Test
Blaataap
test
Ansible
+
Running Ansible through SSH Jump / Bastion Host
Ansible add block to file
Ansible copy file
Ansible course notes
Ansible remove file
Ansible remove line from file
Ansible roles
Ansible service handlers
Ansible set permissions of file
add iptable rule
Ansible cfg hierarchy
Ansible check if port is listening
Ansible execute a role with condition
Ansible fail if condition fails
Ansible force ansible version
Ansible idempotently change file attributes
Ansible patch single package
Ansible patching or using forked version ansible galaxy role
Ansible pipelining
Ansible register shell output
Ansible run playbook
Ansible with items key and value
Better CLI experience
Cheatsheet
Cloning private GitHub repositories with Ansible on a remote server through SSH
Certificates
+
Certificates Kubernetes
SAN Certificates
Show Certificate info
Certificates
Git
+
Quickly import your ssh public keys from Github with ssh-import-id
Unfork a repo on GitHub
Clean up old git branches
Compare encrypted git files
Git errors and how to solve them
How to compare two git branches
Show current git branch with colors in Bash prompt
Git tips
GitHub SSH auth
Linux
+
Ubuntu
+
How to Enable Minimize on Click on Ubuntu
Split a file in blocks and do something with each block
Hot add memory
How to convert JPG to PDF in Linux
Create Password Protected ZIP in Linux
awk
sed
Find
Memory
Base64 encode/decode
Network NMCLI
Cron
tping ping with a timestamp
Killall
SELinux
Systemctl
wget
Boot CentOS/RHEL in single user mode
Auditd
DBUS
Debian
Debugging
FFMPEG
Filesystem
GPG
IPMI
JQ
Kernel Tracing
Mail
Package Management
Packaging
Partitioning
Perf
Raid
RSYNC
Screen vs TMUX
SSH
Systemd
tcpdump
ulimit
vi
vi2
Virtualization
Safer bash scripts
dd
Empty mailq
Empty mailq
Firewall
Grub
Install quemu agent
Logging
Logical Volume Management
lsof
Mount
NTP
pgrep
Restart ELK stack
Sar issue
Scan/detect new LUNs
Screen
Swap
Puppet
+
Hiera
Mcollective
Puppet
Parameters
Puppet Duplicate Resources with PuppetDB
Ubuntu
+
Always connect VPN Ubuntu 19.10
Pulse Audio Bluetooth codecs
Varnish
+
Varnish Cheat sheet
Varnish Purge
varnishlog
Markdown
+
Linebreaks