Posts
Open-Source GPU Virtualization Projects on Kubernetes
· β˜• 5 min read
1. k8s-device-plugin https://github.com/NVIDIA/k8s-device-plugin is the official Kubernetes device plugin from NVIDIA, used to manage and allocate NVIDIA GPU resources in a Kubernetes cluster. By interacting with kubelet, k8s-device-plugin automatically discovers and registers GPU devices and exposes them to the Kubernetes scheduler as resources. It supports many GPU models and is able to handle GPU partitioning and sharing.

FoundationDB Data Backup and Restore
· β˜• 2 min read
1. Set Environment Variables Set the foundationdb cluster name and version 1 2 3 4 5 export CLUSTER_NAME= export NAMESPACE= export DEPLOY_NAME=${CLUSTER_NAME}-deployment export SECRET_NAME=fdb-backup-secret export VERSION=7.1.26 Set the S3 backup bucket and credentials 1 2 3 4 5 export BUCKET= export HOST=s3.us-west-2.amazonaws.com export AK=x export SK=x export S3_BACKUP_URI="blobstore://${AK}:${SK}@${HOST}/fdb-backup?bucket=${BUCKET}&sc=0" 2. Create the Credentials 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 cat <<EOF | kubectl apply -f - apiVersion: v1 kind: Secret metadata: name: ${SECRET_NAME} namespace: ${NAMESPACE} type: Opaque stringData: credentials: | { "accounts": { "${BUCKET}@${HOST}": { "access_key": "${AK}", "secret": "${SK}", "endpoint": "${HOST}" } } } EOF 3.

The Cognitive Awakening
· β˜• 1 min read
Subtitle: The Driving Force That Initiates Self-Change Author: Zhou Ling Publisher: Posts & Telecom Press Publication Year: 2020-10 ISBN: 9787115543424 Notes: The book is divided into two parts. The first part is inward-looking: understanding yourself. Starting from the triune brain theory, it explains how the brain works. The instinctive brain maintains basic physiological needs, the emotional brain handles emotion and social interaction, and the rational brain processes logic and decision-making.

Adding Scrape Credentials to Node Exporter
· β˜• 2 min read
1. Background Node Exporter is a common component in the Prometheus ecosystem for collecting host metrics, but by default it does not provide access authentication. This article describes how to add basic authentication to Node Exporter in a Kubernetes environment to improve security. 2. Configuring Credentials for Node Exporter 2.1 Generating an Encrypted Password Use the htpasswd tool to generate an encrypted password:

Deploying smokeping-prober to Probe Network Quality
· β˜• 2 min read
1. What smokeping-prober Is smokeping-prober is a tool for probing network quality. It probes network quality by sending ICMP requests to target nodes. 2. Deploying smokeping-prober 2.1 Generating the smokeping-prober.yaml Configuration File 1 2 3 4 5 6 7 8 9 10 11 cat > smokeping_prober.yaml <<EOF --- targets: - hosts: - 1.