Affinity in the Kubernetes Scheduler
· β˜• 2 min read
1. The Scheduler in Kubernetes kube-scheduler is the component in Kubernetes that decides which Node a Pending Pod runs on; it is called the scheduler. Kubernetes ships with a large number of built-in scheduling policies and also provides some advanced scheduling policies (nodeAffinity, podAffinity, and so on) for users, which

A Complete Git Submission Process
· β˜• 2 min read
This is also a complete Git process for submitting a PR to an open source project. 1. Local Configuration Set the commit user information 1 2 git config --global user.name "username" git config --global user.email "user@email.com" GPG configuration Reference: GPG Verified Commits 2. Cloning the Code First fork the original repository

The Difference Between GitHub's Three Code Merge Methods
· β˜• 1 min read
1. Create a merge commit PR commit log: 1 2 commit c1 commit c2 Integration branch commit log: 1 2 3 commit PR #NUM commit c2 commit c1 Create a merge commit carries every commit in the PR over to the integration branch intact, and adds one PR commit entry on top.

When We're on Ticket Duty, What Are We On Duty For?
· β˜• 4 min read
1. When We’re on Ticket Duty, What Are We On Duty For? Most people have probably only ever filed a ticket, never worked one. And people who have worked tickets generally don’t file them lightly. A ticket is a service bundled free with the product a customer paid for, dedicated to solving every kind of usage problem.

Analyzing the "not a tree" Git Operation in Jenkins
· β˜• 4 min read
1. Problem Description When a Webhook was configured to automatically trigger a Jenkins pipeline, the following error occurred: 1 2 3 hudson.plugins.git.GitException: Command "git checkout -f 23b446ea" returned status code 128: stdout: stderr: fatal: reference is not a tree: 23b446ea 2. How Git Manages Versions Git is a content-addressable filesystem. Git maintains a sha tree, and any historical node can be traced back to via its sha value.