Introduction This cheat sheet from Applo Clark’s Cheatsheet. Amazon’s Official CLI Documentation. Amazon Web Services (AWS)’s Command Line Interface (CLI) is a shell based means to work with AWS. The CLI provides the ability to list out resources at Amazon like which EC2 instances are running, poke around S3 buckets, inspect pretty much anything at Amazon. It also provides advanced features like copying information to and from S3. Below is a cheat sheet I will be updating over time with frequently used commands.
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 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 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.