Skip to content
tezvyn:

All bites

The whole library, newest first. Filter by what you are here for, or pick a topic if you already know.

8668 bites

Page 85

Docker & Kubernetes1 min read

Vulnerability scanning as a deploy gate

Scan with Trivy or Clair, fail the build on high or critical severity above threshold, and enforce again at admission with signing and registry policies.

Docker & Kubernetes1 min read

Manifest lists and multi-arch images

A manifest list maps platform descriptors to per-arch image manifests, the client picks by os and architecture, and pulls only that variant.

Docker & Kubernetes1 min read

Three techniques to shrink a Docker image

Multi-stage builds to drop build tooling, smaller base images like slim or distroless, and fewer or cleaner layers plus dockerignore.

Docker & Kubernetes1 min read

Debugging ImagePullBackOff on a private registry

ImagePullSecrets reference a dockerconfigjson Secret on the pod or service account, kubelet uses it to authenticate, and you inspect events to isolate auth versus name versus network errors.

Docker & Kubernetes1 min read

Why :latest is a production anti-pattern

Latest is mutable so pods run different code, rollbacks and pull policy break, and you should use immutable version tags or digests.

Docker & Kubernetes1 min read

Tag and push an image to a private registry

Authenticate with docker login, retag the image to include the registry host and repo path, then docker push that full reference.

Docker & Kubernetes1 min read

Docker Compose profiles for optional services

Profiles tag services so they stay off by default, activate via --profile or COMPOSE_PROFILES, and unprofiled services always run.

Docker & Kubernetes1 min read

Optimizing Dockerfile layer caching

Order instructions least-to-most volatile, copy dependency manifests and install before copying source, and understand any changed layer busts all later layers.

Docker & Kubernetes1 min read

Structuring Compose files across environments

A base compose.yaml plus override files, the default override auto-merge, and explicit -f flags or extends per environment.

Design Systems1 min read

Structuring color tokens for a new app

Primitive palette, semantic role tokens, optional component tokens, theming benefit.

Design Systems1 min read

A simple automatable metric for dev-time savings

Component coverage or cycle time, gathered automatically, compared across adoption levels.

Design Systems1 min read

Framework-agnostic components across React, Vue, Angular

Web components for one core, framework wrappers for ergonomics, codegen as an alternative, with their costs.

Design Systems1 min read

Documentation for a new Card component

Usage guidance and do/don't, variants, accessibility, code examples, composition.

Design Systems1 min read

Design tokens for multi-brand button theming

Tokens as named design decisions, primitive-versus-semantic layers, per-brand themes mapping semantic to primitive.

Design Systems1 min read

End-to-end process for a Modal props API break

Justify and design the change, additive rollout with deprecation, major release plus codemod, comms and adoption tracking.

Design Systems1 min read

Measuring designer efficiency from Figma data

Library component usage and detach rates from Figma, time-to-mockup, override frequency via the API.

Design Systems1 min read

Linking form-component adoption to fewer a11y bugs

Define both variables, segment by adoption level, control confounders, watch correlation-versus-causation.

Design Systems1 min read

Gradual design system adoption in legacy code

Coexistence strategy, codemods for mechanical swaps, lint rules to block regressions, prioritize high-traffic surfaces.

Design Systems1 min read

Measuring design system adoption and health

Component coverage and version spread from code scans, usage analytics, issue and satisfaction signals.

Design Systems1 min read

Technical and comms plan for a Button break

Additive-first then deprecate, major semver, codemod and guide, multi-channel early comms with adoption tracking.