Fading Coder

One Final Commit for the Last Sprint

Common Software and Tools Download Links for DevOps

Ganeral Purpose Tools JDK: Download Link (Change version number in URL for specific version) Docker: CentOS Packages, Static Binaries Docker Hub (requires proxy): Docker Hub Docker Desktop: Release Notes Page Minikube: v1.18.1 RPM K9s (Kubernetes CLI Tool): Installation Script Python: Official Downl...

Essential kubectl Command Reference for Kubernetes Administration

Configuring Shell Autocompletion Enabling command completion improves efficiency when working with the CLI. Ensure the appropriate completion package is installed for your shell environment. # Enable autocomplete for Bash $ source <(kubectl completion bash) # Enable autocomplete for Zsh $ source...

Chinese Localization of GitLab: Implementation Guide

Overview GitLab provides a robust platform for version control and CI/CD pipelines. When deploying GitLab in Chinese-speaking environments, localizing the interface improves user experience significantly. This guide covers the complete process of applying Chinese language patches to a GitLab install...

Deploying GitLab on CentOS 7 and Implementing Branch Protection

System Preparation and InstallationBegin by disabling the firewall and SELinux to prevent initial connectivity issues. Install the necessary dependencies for the SSH server and script utilities.sudo systemctl stop firewalld sudo setenforce 0 sudo yum install -y curl policycoreutils-python openssh-se...

Terraform: Infrastructure Automation and Orchestration Tool

Understanding Terraform Terraform is an infrastructure as code (IaC) tool that enables users to safely and efficiently manage infrastructure resources. It supports deployment, modification, and versioning of infrastructure through declarative configuration files. Terraform can manage resources acros...

Essential Server Configuration Steps for Microservice Deployments

1. Persisting Firewall Port Rules When exposing services to external traffic, port configurations must survive system reboots. Using firewalld, rules are applied to the runtime environment by default. To make them permanent, append the --permanent flag: sudo firewall-cmd --zone=public --add-port=808...

Setting Up a Local Kubernetes Environment with Minikube on CentOS

This guide provides a step-by-step process to install Minikube and kubectl on CentOS for creating a local single-node Kubernetes cluster. Prerequisites and References Official Documentation: kubectl installation Minikube installation Install kubectl Download the Binary Obtain the kubectl binary for...

Building Docker Images Without Cache: A Technical Guide

Understanding Docker's Build Cache Mechanism Docker's caching mechanism significantly optimizes image builds by reusing unchanged layers, which reduces storage requirements and build times. However, effectively utilizing this cache requires understanding its behavior and limitations. Cache Behavior...

Extending K8s Certificate Validity to 100 Years

Modify Source Code ==== 1. Extend CA Expiration to 100 Years (Default is 10 Years) --------------------------- Edit file: `./staging/src/k8s.io/client-go/util/cert/cert.go```` // Locate the NotAfter field within this function: // NotAfter: now.Add(duration365d * 10).UTC() // Change default 10-year...

Installing Docker CE on CentOS 7 via YUM Repository Configuration

System Prerequisites Verification Prior to installation, verify the operating system release to ensure compatibility, as Docker requires a CentOS 7 environment or newer. This can be checked using the following command: lsb_release -a Additionally, the system architecture must be 64-bit with a kernel...