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

推荐订阅源

Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
有赞技术团队
有赞技术团队
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
U
Unit 42
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
Vercel News
Vercel News
Martin Fowler
Martin Fowler
V
V2EX
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LangChain Blog
云风的 BLOG
云风的 BLOG
H
Hackread – Cybersecurity News, Data Breaches, AI and More
aimingoo的专栏
aimingoo的专栏
G
Google Developers Blog
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
Google DeepMind News
Google DeepMind News
雷峰网
雷峰网
阮一峰的网络日志
阮一峰的网络日志
F
Fortinet All Blogs

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.