Column Type | Knex Method | Notes |
---|---|---|
Primary ID | table.increments('id') |
Auto-incremented integer (serial) |
UUID | table.uuid('id') |
You generate UUIDs manually or with gen_random_uuid() |
String | table.string('title', [length]) |
varchar , max 255 by default |
Text | table.text('content') |
Unlimited length |
This markdown document walks you through trunk-based development using Git, explaining each command in detail. Comments include tips and notes for solo developers, who can often streamline parts of the process.
git checkout main
/* Headings */ | |
.mdxeditor h1 { | |
font-size: 2rem; | |
font-weight: bold; | |
margin: 1rem 0; | |
} | |
.mdxeditor h2 { | |
font-size: 1.5rem; | |
font-weight: bold; |
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.
Every Kubernetes resource file follows this general structure:
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.
docker-compose [COMMAND] [OPTIONS]
To see the full list of commands, run:
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.
kubectl [COMMAND] [TYPE] [NAME] [FLAGS]
COMMAND
: The action you want to perform (e.g., get, describe, delete).