
1_r/devopsish
How to Create Custom CLIs for Internal Developer Platforms with Nushell
In this video, we delve into the world of Command Line Interfaces (CLIs) and explore how to create our own platform-specific CLI using Nushell. We'll cover why building custom CLIs can be beneficial, especially for internal developer platforms, and how Nushell provides a perfect blend of scripting and programming capabilities. Learn to handle parameters, arguments, and data with ease, and see how to integrate and execute other binaries seamlessly. By the end of this tutorial, you'll be equipped to build efficient, user-friendly CLIs tailored to your platform's needs.
CLI #Nushell #DevTools #DeveloperPlatform
Consider joining the channel: https://www.youtube.com/c/devopstoolkit/join
▬▬▬▬▬▬ 🔗 Additional Info 🔗 ▬▬▬▬▬▬ ➡ Transcript and commands: https://devopstoolkit.live/terminal/how-to-create-custom-clis-that-make-your-devops-life-easier---nushell 🔗 Nushell: https://nushell.sh 🎬 The Future of Shells with Nushell! Shell + Data + Programming Language: https://youtu.be/zoX_S6d-XU4
▬▬▬▬▬▬ 💰 Sponsorships 💰 ▬▬▬▬▬▬ If you are interested in sponsoring this channel, please visit https://devopstoolkit.live/sponsor for more information. Alternatively, feel free to contact me over Twitter or LinkedIn (see below).
▬▬▬▬▬▬ 👋 Contact me 👋 ▬▬▬▬▬▬ ➡ BlueSky: https://vfarcic.bsky.social ➡ LinkedIn: https://www.linkedin.com/in/viktorfarcic/
▬▬▬▬▬▬ 🚀 Other Channels 🚀 ▬▬▬▬▬▬ 🎤 Podcast: https://www.devopsparadox.com/ 💬 Live streams: https://www.youtube.com/c/DevOpsParadox
▬▬▬▬▬▬ ⏱ Timecodes ⏱ ▬▬▬▬▬▬ 00:00 Intro to CLIs for Platforms 02:12 Why Build Our Own CLIs? 06:41 How to Build a Platform-Specific CLI? 10:46 Requirements for Internal CLIs 11:52 Help with Nushell 13:34 Parameters and Arguments with Nushell 15:58 Source Code with Nushell 18:35 Binaries Execution with Nushell 19:38 Data Management with Nushell 22:17 Creating Single Self-Sufficient Executable with Nushell
via YouTube https://www.youtube.com/watch?v=TgQZz2kGysk
How Kubernetes API Works? RBAC, Admission Controllers, Schema Validation, etc.
How does Kubernetes API Work?
We'll explore all the phases a request goes through, starting with RBAC or Role Based Access Controler, through Mutating Admission Controller, Object Schema Validation, and Admission Controller validations, all the way until it is stored in etcd and a controller picks it up.
kubernetes #k8s #api
▬▬▬▬▬▬ 💰 Sponsorships 💰 ▬▬▬▬▬▬ If you are interested in sponsoring this channel, please visit https://devopstoolkit.live/sponsor for more information. Alternatively, feel free to contact me over Twitter or LinkedIn (see below).
▬▬▬▬▬▬ 👋 Contact me 👋 ▬▬▬▬▬▬ ➡ BlueSky: https://vfarcic.bsky.social ➡ LinkedIn: https://www.linkedin.com/in/viktorfarcic/
▬▬▬▬▬▬ 🚀 Other Channels 🚀 ▬▬▬▬▬▬ 🎤 Podcast: https://www.devopsparadox.com/ 💬 Live streams: https://www.youtube.com/c/DevOpsParadox
via YouTube https://www.youtube.com/watch?v=sBLDxyOe400
GPL vs. LGPL vs. APGL
https://chrisshort.net/micro/gpl-lgpl-agpl/
A comparison of GPL, LGPL, and AGPL licenses, examining their key differences, use cases, and impact on software development and distribution
via Chris Short https://chrisshort.net/
January 10, 2025
Work Outputs
https://chrisshort.net/work-outputs/
Chris Short's video, blog, and additional work outputs
via Chris Short https://chrisshort.net/
January 09, 2025
Week Ending January 5, 2025
https://lwkd.info/2025/20250109
Developer News
Session proposals for the Maintainer Summit in London, which includes the Kubernetes Contributor Summit, are due on January 12th. This includes proposals for SIG/Team meetings. Please remember to propose your session idea by Sunday UK time!
Release Schedule
Next Deadline: Release Cycle Starts, January 13
While we’re in the pre-release cycle period, the Release Team is still looking for a few shadows.
Featured PRs
129119: Fix PodTopologySpread matching pods counts for constraints with the same topologyKey
This PR addresses a bug in the Kubernetes scheduler where constraints sharing the same topologyKey could incorrectly overwrite each other’s results. By updating the PodTopologySpread plugin to index data structures by constraint, it isolates each constraint’s results. Additionally, replacing a map with a slice in the PreFilter stage significantly improves scheduling throughput for pods with topology spreading, boosting performance by up to 25% on large clusters. This change ensures more accurate scheduling and better resource distribution across nodes.
Other Merges
Added validation for revisionHistoryLimit in sts to prevent negative value
e2e tests for volume group snapshots
Static NodePort allocator for e2e tests
Improvements to kubectl describe output for projected volume sources
kubeadm: bug fix for ‘kubeadm upgrade node’ command respecting ‘node.skipPhases’ in UpgradeConfiguration
Extracted list response struct to manage all the response fields
kubeadm to skip disabled addons in clusterconfig on upgrade
kubeadm to run kernel version and OS version preflight checks on kubeadm upgrade
Tests for kubectl QOS
Deprecated
Removed DRA plugin resourceslice QueueingHintFn
PDBUnhealthyPodEvictionPolicy feature gate removed
Version Updates
publishing-bot rules to Go 1.22.10 for the active release branches
Shoutouts
Paco Xu: Huge shout out to Ed Bartosh for diligently tracking all failing SIG-Node presubmit jobs. Presubmit jobs are crucial, and failing ones can significantly impact the judgment and progress of PR merge.
via Last Week in Kubernetes Development https://lwkd.info/
January 09, 2025 at 01:20AM