Fading Coder

One Final Commit for the Last Sprint

Building Kubernetes Clusters from Scratch

Infrastructure Planning Prerequisites Familiarity with Kubernetes concepts is essential. Setting up a temporary cluster using existing tutorials helps understand kubectl commands and core concepts like pods and services. Install kubectl following the appropriate installation guide if not already pre...

Kubernetes Resource Manifest Structure and Field Reference

Pod Manifest Specification apiVersion: v1 kind: Pod metadata: name: web-pod namespace: production labels: app: web-server version: stable annotations: description: "Production web application instance" spec: restartPolicy: Always nodeSelector: environment: production hostNetwork: false ima...

Deploying Kubernetes Clusters with Rancher: A Complete Setup Guide

Quick Rancher Deployment The following Docker command launches a Rancher server instance with certificate mounting. If you lack custom certificates, remove the volume mount options—Rancher will automatically generate self-signed certificates. docker run -d --name rancher-server --privileged --restar...

Deploying MySQL 8 to Kubernetes for ruoyi-cloud Project

Background After setting up a Kubernetes cluster and a private image registry, it's time to begin practical service orchestration. This series uses the ruoyi-cloud project for hands-on deployment, following the order of MySQL, Nacos, Redis, Nginx, Gateway, Auth, and System to deploy the microservice...

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...

Kubernetes Installation and Testing with Docker on CentOS

[root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) Kubernetes Installation Refer to the official Kubernetes doucmentation for adding nodes to the cluster. Environment Configuration swapoff -a setenforce 0 rm -rf $HOME/.kube # if previously installed Software Installati...

Kubernetes Setup and Fundamental Resource Management

Installation and Architecture Overveiw Core Components API Server: Handles cluster operations and user requests Controller Manager: Maintains desired pod states and self-healing Scheduler: Assigns pods to worker nodes etcd: Distributed key-value store for cluster state Installation Methods yum: Simp...

Kubernetes Pod Fundamentals and Core Concepts

Understanding Pods A Pod represents the smallest deployable unit within Kubernetes architecture. It serves as the foundational building block for running containerized applications, consisting of one or more containers that share the same network namespace and storage resources. All other Kubernetes...

Streamlining Kubernetes Deployments with Helm

Helm functions as the package manager for the Kubernetes ecosystem, filling a role analogous to apt or yum in Linux distributions. Deploying applications directly through Kubernetes manifests often introduces challenges, including fragmented configuration management, the difficulty of bundling relat...

Exporting Pod Images from Kubernetes Clusters: A Practical Guide

Problem Statement and Solution Docker Hub registry changes frequently cause image pull failures when restarting Pods, preventing applications from starting properly. This scenario demands a systematic approach to audit container images across Kubernetes clusters. A Python-based utility can scan Pod...