Introduction “Helm is the best way to find, share, and use software built for Kubernetes.” Kubernetes is a great container orchistration tool, however managing all the yaml files associated with it become a huge undertaking. Helm is a tool that allows you to create templates for Kubernetes yaml files. Then you only have to manage a set a value pairs that are passed to your templates. This allows you to easily share packages of templates, and other people can easily bring your containers online only having to modify the values to match their needs to customize or configure.
Introduction Rancher Desktop is a Kubernetes and Docker platform that is a replacement for Docker Desktop. I’ll be installing and configuring it using the installation guide provided in Rancher’s Documentation Rancher is a replacement for Docker Desktop. Rancher provies you helm, kubernetes, docker, the CRI runtimes of dockerd or containerd kubernetes. It integrates in nicely with WSL if you wish to use Linux instead of Windows. Additionally it lets you choose which version of Kubernetes you want to run.
Introduction This cheat sheet from Alex arak14’s Cheatsheet. Git is a version constrol system often used by developers, and devops to store insource code and configurations. It has even been adapted to store websites that are rended to the internet (like this one!) using Hugo. Git repositories are distributed in that each developers has a local copy of the repository and a series of pushs, pulls, merges, forks occur for the repositories to synchronize with one another.
Introduction We will be turning a Command Line Interface (CLI) Redhat 9 server hosted at Amazon on EC2 into a full Xwindows based workstation that you can use Remote Desktop Protocal (RDP) to using xRDP.
Installation Install the updates on your fresh server from Amazon.
sudo dnf update -y Install “Extra Packages for Enterprise Linux” (EPEL).
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm sudo dnf repolist sudo dnf makecache Install “Workstation” or “Server with GUI” (not both)
python http server If you need a quick and easy webserver to copy files between servers, or from your server to your workstation all you need is Python, which is part of YUM and is on almost every redhat based linux server. Simple goto the directory you want to share, and a single command in the shell will start up a webserver that you can use to get your files copied over.
Introduction This is a quick cheat sheet from Sematext’s Docker Cheatsheet
Docker Cheatsheet Tutorial series Get started with Docker: https://docs.docker.com/engine/getstarted/
Installation Linux Install script provided by Docker:
curl -sSL https://get.docker.com/ | sh Or see Installation instructions for your Linux distribution.
Mac OS X Download and install Docker For Mac
Create Docker VM with Docker Machine You can use Docker Machine to:
Install and run Docker on Mac or Windows Provision and manage multiple remote Docker hosts Provision Swarm clusters A simple example to create a local Docker VM with VirtualBox:
Introduction This is a quick cheat sheet from Sematext’s Elastic Devops Cheatsheet
DevOps cheatsheet Allocation Allocation awareness Avoids putting two copies of the same shard on nodes with the same attribute (e.g. rack, availability zone). For example:
node.attr.availability_zone: us-east1 # in elasticsearch.yml Awareness is enabled at the cluster level:
curl -XPUT localhost:9200/_cluster/settings?pretty -d '{ "persistent" : { "cluster.routing.allocation.awareness.attributes" : "availability_zone" } }' Allocation filtering Shards of an index can prefer/avoid nodes with certain attributes.
Introduction This is a quick cheat sheet from Sematext’s SOLR Metric’s Cheatsheet
Solr Metrics API Retrieving all Metrics
Get all metrics:
localhost:8983/solr/admin/metrics
Retrieving Metrics for Specific Group
Metrics for a group (groups: solr.jvm, solr.node, solr.jetty, solr.core.<collection_name>):
localhost:8983/solr/admin/metrics?group=solr.jvm
Retrieving Metrics in JSON
Default is XML. For JSON:
localhost:8983/solr/admin/metrics?wt=json
localhost:8983/solr/admin/metrics?wt=json&indent=true
Jetty Metrics Number of Requests with Given Response Status
Check the number of requests with the given HTTP status, useful when checking for number of errors and successful requests:
Introduction This is a quick cheat sheet from Kubernetes Website’s Cheatsheet.
This page contains a list of commonly used kubectl commands and flags.
Kubectl autocomplete BASH source <(kubectl completion bash) # set up autocomplete in bash into the current shell, bash-completion package should be installed first. echo "source <(kubectl completion bash)" >> ~/.bashrc # add autocomplete permanently to your bash shell. You can also use a shorthand alias for kubectl that also works with completion:
Introduction This cheat sheet from Dave Wongillies’s Cheatsheet. OpenSSL is a very strong tool when working with certificates. OpenSSL can be used to for a wide variaty of taks involving SSL/TLS. For instance you can use it to convert certificates from format to another, use it as a debugging tool, use it to generate certificates, use it to download certificates from hosts, and even use it as a connectivity tool if telnet is not available.
Introduction This is a quick cheat sheet from Adam Pritchard’s Cheatsheet that is useful when writing markup to make sure the syntax is correct. Markdown is a syntax used to format text. It essentially is a short form version of Hypertext Mark Up Language (HTML). You can achieve similar formatting with far less effort and by writing in Markdown instead of HTML. There is a Live Demo of Markdown available. This is especially useful if you would like to see what the rendered interactively.
Professional I started writing code in 1980 when I was 5 years old. Atari Line Basic! I’ve have been doing Development and IT work since then. Most likely you have used, or your information is in one of the many systems i’ve worked on. I’m happily employeed at Armedia. My Resume is on Linked In if you would like to look it over. I graduated from George Mason University. I have a Master’s, Bachelor’s, and Associate’s in Computer Science, as well as a second Associate’s in Mathematics.
Introduction We will install a Kubernetes on RHEL 9 with CRI-O, and Podman. We are using an r5.large on Amazon EC2 using Amazon’s provided Red Hat Enterprise Linux.
Installation Install the updates on your fresh server from Amazon.
sudo dnf update -y Setup DNS or atleast Hostname entries in your /etc/hosts file
echo `/sbin/ifconfig eth0 | grep 'inet ' | awk {'print $2'}` ${HOSTNAME} | sudo tee -a /etc/hosts Set selinux to permissive
Introduction Today we review and Unbox a GorillaPod RIG 5K. The GorillaPod is the standard for VLOGGERS, and the RIG provides additional features.
Video
Introduction What are ND Filters & Haida Installation on Sony FE 1.7 / 14 GM. Today we first explain what ND filters are, how they can be used. We tackle how to install ND Filters, and finally we will install a rear Haida ND filter on the Sony FE 1.7 / 14 GM Lens.
Video