Skip to content

Instantly share code, notes, and snippets.

View azpoint's full-sized avatar

Alejandro Z azpoint

View GitHub Profile

How to Build and Configure Kubernetes YAML Files

Kubernetes YAML files define and manage cluster resources declaratively. Understanding how to build these files with proper configuration options is crucial for deploying and managing applications efficiently.


1. Basic YAML Structure

Every Kubernetes resource file follows this general structure:

Complete List of docker-compose Commands with Explanations

Overview

docker-compose is a tool for defining and running multi-container Docker applications. It allows you to manage services, networks, and volumes defined in a docker-compose.yml file.

General Syntax

docker-compose [COMMAND] [OPTIONS]

To see the full list of commands, run:

Complete List of docker Commands with Explanations

Overview

docker is the command-line tool for interacting with Docker containers. It allows you to build, run, manage, and troubleshoot containerized applications.

General Syntax

docker [COMMAND] [OPTIONS]

To see the full list of commands, run:

Complete List of kubectl Commands with Explanations

Overview

kubectl is the command-line tool for interacting with Kubernetes clusters. It allows you to deploy applications, inspect resources, manage cluster components, and troubleshoot issues.

General Syntax

kubectl [COMMAND] [TYPE] [NAME] [FLAGS]
  • COMMAND: The action you want to perform (e.g., get, describe, delete).
@azpoint
azpoint / .hyper.js
Created September 29, 2023 21:02
Windows Hyper Terminal Config file
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',