惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
Hugging Face - Blog
Hugging Face - Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Vercel News
Vercel News
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
罗磊的独立博客
H
Help Net Security
月光博客
月光博客
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
宝玉的分享
宝玉的分享
P
Proofpoint News Feed
GbyAI
GbyAI
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

Stonecharioteer on Tech

I Traced My Traffic Through a Home Tailscale Exit Node What Was I Reading Last? In Three Not-So-Easy Pieces Dogfooding Is Hard Code blocks in your books, finally GoForGo v0.9.0 Merrilin - We built an app to read books I use a Macbook now Data Structures & Algorithms - Preparing for Interviews Using a local DNS namespace for local service discovery Direction KOllector - Publishing KOReader Highlights gbt: branches touched in the last 24 hours A Soiree into Symbols in Ruby Some Smalltalk about Ruby Loops Ruby Blocks Returning from Ruby Blocks, Procs and Lambdas My Linux Laptop Finally Works: How Claude Helped Me Fix Years of Annoyances TIL: Watchexec - Modern File Watching for Development Workflows A Less Busy Mind GoForGo - Learn Go through live examples Migrating My Old Blog to Hugo with Claude The Qtile Window Manager: A Python-Powered Tiling Experience Read the RFCs that Built the Internet Py-x-Protobuf - Or How I Learned to Stop Worrying and Love Protocol Buffers Python Reverse a List New Beginnings Leaving ChainSafe Systems Screen Lock for Cinnamon Desktop using Zenity and Terminal Commands Crews Not Teams A System for Getting Better at LeetCode
TIL: Kubernetes Environment Variables, kubectl tree, Git ...
2021-01-29 · via Stonecharioteer on Tech

Kubernetes Configuration

Environment Variables for Containers

Environment Variable Sources

  • Direct Values: Hardcoded values in pod specifications
  • ConfigMaps: External configuration data
  • Secrets: Sensitive configuration data
  • Field References: Pod and container metadata
  • Resource References: CPU and memory limits/requests

kubectl tree Plugin

  • GitHub - ahmetb/kubectl-tree
  • kubectl plugin to browse Kubernetes object hierarchies as trees
  • Visualize relationships between Kubernetes resources
  • Helpful for understanding complex deployments and dependencies

Tree Visualization Benefits

  • Resource Relationships: See parent-child relationships clearly
  • Dependency Tracking: Understand how resources connect
  • Debugging: Identify missing or misconfigured resources
  • Learning: Better understand Kubernetes object model

Gitsome - Enhanced Git CLI

  • GitHub - donnemartin/gitsome
  • Supercharged Git/GitHub command line interface
  • Official GitHub integration with enhanced functionality
  • Autocomplete, syntax highlighting, and GitHub-specific commands

Gitsome Features

  • GitHub Integration: Direct GitHub API access from command line
  • Enhanced Commands: Improved git commands with additional functionality
  • Autocomplete: Intelligent command and argument completion
  • Syntax Highlighting: Colorized output for better readability

System Administration

SSH Host Key Management

SSH Configuration Options

  • StrictHostKeyChecking: Control host key verification behavior
  • UserKnownHostsFile: Specify known hosts file location
  • Global vs User: System-wide vs user-specific configuration
  • Security Trade-offs: Convenience vs security implications

Monkeytype - Typing Practice

  • Monkeytype
  • Modern, customizable typing test and practice platform
  • Various test modes, themes, and difficulty levels
  • Track progress and improve typing speed and accuracy

Typing Practice Benefits

  • Developer Productivity: Faster typing improves coding efficiency
  • Customizable Tests: Different languages, lengths, and difficulty
  • Progress Tracking: Monitor improvement over time
  • Modern Interface: Clean, distraction-free design

Key Takeaways

  • Configuration Management: Kubernetes provides flexible ways to inject configuration
  • Visualization Tools: Tree views help understand complex resource relationships
  • CLI Enhancement: Tools like gitsome can significantly improve command-line productivity
  • Automation vs Security: Balance convenience with security in SSH configurations
  • Skill Development: Improving typing skills has long-term productivity benefits

These tools and techniques span from infrastructure management to personal productivity, showing the breadth of skills needed in modern development workflows.