Tagged articles
statefulset
52 articles · Page 1 of 1
This article presents a hands‑on guide to diagnosing Kubernetes production failures, distilling a real e‑commerce outage into 20 actionable rules that cover nodes, control plane, networking, scheduling, storage and observability, and provides a step‑by‑step diagnostic workflow with concrete commands and examples.
ConfigMapHPAKubernetes
0 likes · 29 min read

This article dissects the challenges of running MySQL as a stateful workload on Kubernetes, explains why storage, consistency, and fail‑over are the real pain points, and provides a production‑grade solution that combines Longhorn distributed block storage with a carefully engineered MySQL 8.0 StatefulSet, complete with YAML manifests, performance tuning, backup strategies, and disaster‑recovery playbooks.
KubernetesLonghornMySQL
0 likes · 50 min read

This guide lists 100 practical kubectl commands for diagnosing Kubernetes clusters, covering cluster information, pod inspection, service checks, deployment status, StatefulSet details, ConfigMap and Secret queries, and namespace analysis.
ClusterConfigMapKubernetes
0 likes · 5 min read

This guide presents a step‑by‑step SOP for safely decommissioning and provisioning Kubernetes nodes in production, covering lifecycle labeling, RBAC safeguards, draining procedures, validation checks, handling StatefulSets and local storage, automation tips, and real‑world incident examples to ensure zero downtime and data loss.
Production OpsRBACSOP
0 likes · 10 min read

This guide presents a comprehensive Kubernetes storage learning roadmap, covering core concepts, static and dynamic provisioning, common storage backends, StatefulSets, CSI drivers, operational best practices, security, and emerging solutions, with hands‑on tasks to reinforce each stage.
CSICloudNativeDynamicProvisioning
0 likes · 8 min read

Learn a step‑by‑step solution to deploy a production‑grade RocketMQ cluster on Kubernetes, covering architecture design with StatefulSets, Helm chart or native YAML configurations, persistent storage, external access, monitoring, security hardening, and one‑click installation commands.
CloudNativeHelmKubernetes
0 likes · 10 min read

This guide explains why changing a ZooKeeper node’s IP requires updating the configuration on all members, then walks through a step‑by‑step procedure—including stopping the target node, editing zoo.cfg on every server, restarting the remaining nodes, and verifying the quorum—plus best‑practice tips for Kubernetes deployments.
IP upgradeKubernetescluster management
0 likes · 7 min read

This tutorial walks through building a MySQL master‑slave cluster on Kubernetes using StatefulSets, covering local persistent volumes, storage classes, ConfigMaps, Secrets, Services for read‑write splitting, and step‑by‑step YAML manifests with verification commands to ensure proper replication and scaling.
MySQLReplicationlocal storage
0 likes · 18 min read

OpenKruise 1.8, the latest CNCF‑incubated cloud‑native automation suite, introduces in‑place vertical pod autoscaling, native StatefulSet volume expansion, AI‑aware WorkloadSpread, serverless probe support, sidecar gray‑release capabilities, and a Helm pre‑delete safety hook, all backed by detailed YAML examples and future roadmap.
InPlaceVPAKubernetesOpenKruise
0 likes · 13 min read

This guide walks through setting up a MySQL master‑slave replication cluster on Kubernetes using a StatefulSet, local persistent volumes, delayed binding StorageClass, ConfigMap, Secret, and Services, then verifies replication and demonstrates horizontal scaling of slave nodes.
KubernetesLocal PVMySQL
0 likes · 19 min read

This article explains Kubernetes StatefulSets, covering their core concepts, guarantees such as stable network IDs and persistent storage, the controller’s components, deployment workflow, typical use cases, best‑practice recommendations, and a detailed comparison with Deployments to help you manage stateful workloads effectively.
Kubernetescloud-nativedeployment
0 likes · 8 min read

This article explains what headless services are, how they differ from regular Kubernetes services, their DNS‑based discovery mechanism, practical examples with OpenLDAP and Kafka Zookeeper, and how to include unready pods using annotations, providing a comprehensive guide for stateful workloads.
DNSHeadless ServiceKubernetes
0 likes · 14 min read

Bilibili migrated its Elasticsearch and ClickHouse clusters to Kubernetes using custom operators, CRDs, LVM‑based local storage, MacVLAN networking, and pod anti‑affinity, achieving higher resource utilization, isolation, and automation that cut server count, reduced latency spikes, and lowered operational costs dramatically.
ClickHouseElasticsearchKubernetes
0 likes · 38 min read

This article explains Kubernetes StatefulSet fundamentals, its headless service networking, access patterns, creation workflow, controller mechanics, and detailed procedures for updating, scaling, and deleting stateful pods with illustrative code examples.
Headless ServiceKubernetescloud-native
0 likes · 11 min read

This guide walks through installing RabbitMQ, explaining its features and typical use cases, then details step‑by‑step deployment of a mirrored‑mode RabbitMQ cluster on Kubernetes using StatefulSets, NFS‑backed persistent storage, RBAC, and verification of cluster health and management operations.
Cluster DeploymentKubernetesMessage Queue
0 likes · 23 min read

This guide explains how to deploy Jenkins as a Kubernetes pod, covering data persistence, Docker image download and tagging, RBAC setup, headless Service definition, and a StatefulSet with resource limits and volume claims for a robust CI/CD pipeline.
CI/CDJenkinsRBAC
0 likes · 5 min read

This article provides a step‑by‑step tutorial on preparing hardware, installing Docker, downloading and configuring Kubernetes, deploying the control plane and workloads, managing clusters, and detailed hands‑on examples for ConfigMaps, Jobs, Deployments, StatefulSets, and common applications such as Flask, MySQL, Redis, GitLab, and Jenkins, all illustrated with ready‑to‑use YAML and kubectl commands.
ConfigMapDockerK8s
0 likes · 18 min read

Kubernetes 1.27 introduces a beta‑level StatefulSet PVC retention policy that lets users choose when PersistentVolumeClaims created by a StatefulSet are kept or removed, offering four configurable scenarios—Retain or Delete on deletion and scaling—along with practical examples and activation steps.
BetaFeatureCloudNativeKubernetes
0 likes · 7 min read

This article explains how the open‑source Kruise Rollout framework enables progressive delivery on Kubernetes, covering Gateway API‑based canary releases, batch rollouts for StatefulSet and Advanced StatefulSet, pod batch labeling, and integration with KubeVela for seamless canary deployments.
Gateway APIKruise RolloutKubernetes
0 likes · 7 min read

OpenKruise v1.2 introduces the PersistentPodState CRD for stateful pod retention, improves CloneSet partition logic and status fields, adds markPodNotReady to lifecycle hooks, and expands PodUnavailableBudget to protect custom workloads, with detailed YAML examples and usage notes.
CRDCloneSetKubernetes
0 likes · 10 min read

This guide demonstrates how to deploy a MySQL cluster on Kubernetes using NFS persistent storage, ConfigMap for configuration, Service for access, and a StatefulSet to manage multiple replicas with init containers and volume claims.
ConfigMapMySQLNFS
0 likes · 6 min read

OpenKruise v1.1 extends Kubernetes with ordered container startup, in‑place upgrade sequencing, StatefulSet PVC auto‑deletion policies, a refactored Advanced DaemonSet with lifecycle hooks, and a DisableDeepCopy performance tweak, all while remaining compatible with clusters running Kubernetes 1.16 or newer.
DaemonSetKubernetesOpenKruise
0 likes · 12 min read

This guide walks through deploying a Redis cluster on Kubernetes, covering the challenges of stateful workloads, the use of StatefulSets and Headless Services, configuration of persistence, and step‑by‑step commands to create, initialize, and expose the cluster.
ClusterDevOpsHeadless Service
0 likes · 11 min read

Learn how to deploy a Redis cluster on Kubernetes by using a StatefulSet with a headless Service, configuring persistent storage, creating ConfigMaps, initializing the cluster with redis-cli, and exposing it via a regular Service, complete with step‑by‑step commands and YAML examples.
DevOpsHeadless ServiceKubernetes
0 likes · 12 min read

Learn how to deploy a Redis cluster on Kubernetes using a StatefulSet and Headless Service, covering problem analysis, key concepts, configuration steps, initialization with redis-cli, and creating services for access, all without persistent volumes for simplicity.
ClusterDevOpsHeadless Service
0 likes · 10 min read

This tutorial walks through Kubernetes architecture, cluster setup methods, and a step‑by‑step Redis deployment using Pods, Deployments, StatefulSets, and an Operator SDK example, illustrating core concepts and practical commands for building reliable cloud‑native applications.
KubernetesOperator SDKRedis
0 likes · 23 min read

This article explains Kubernetes core concepts—including pods as container groups, how ReplicaSets maintain desired replica counts, Deployment's rolling update mechanism, and StatefulSet's approach to managing stateful services with persistent storage—providing a comprehensive guide for cloud‑native deployments.
KubernetesPodReplicaSet
0 likes · 9 min read

OpenKruise v0.10.0 introduces major enhancements such as WorkloadSpread for flexible topology-aware pod distribution, PodUnavailableBudget that extends PDB protection to voluntary disruptions, CloneSet scaling rules based on topology, and Advanced StatefulSet’s maxUnavailable-driven streaming scale-out, all configurable via feature-gates.
CloneSetKubernetesOpenKruise
0 likes · 10 min read

This article explains the fundamental concepts of Kubernetes—including what pods are, how they manage related services, the underlying networking and storage mechanisms, and the roles of ReplicaSet, Deployment, and StatefulSet in scaling and updating both stateless and stateful applications.
KubernetesPodReplicaSet
0 likes · 10 min read

This article explains the fundamental principles of Kubernetes core components—including pods, their networking and storage mechanisms, the role of ReplicaSets for scaling, how Deployments enable rolling updates, and how StatefulSets manage stateful services—providing clear insights and visual diagrams for each concept.
PodsReplicaSetcloud-native
0 likes · 10 min read

This guide explains why a Kubernetes pod can remain in ContainerCreating due to an RBD volume still being used, walks through identifying the holding node with Ceph commands, and provides forced unmount and mountinfo techniques to resolve the issue.
CephKubernetesPod
0 likes · 6 min read

This guide demonstrates how to deploy Apache Zookeeper on Kubernetes using three approaches—StatefulSet, a custom Operator, and KUDO—covering configuration files, command‑line steps, scaling procedures, and verification, enabling elastic, high‑availability service discovery in cloud‑native environments.
KUDOKubernetesOperator
0 likes · 7 min read

This tutorial walks through creating a MySQL master‑slave replication cluster on Kubernetes using a StatefulSet, local persistent volumes, custom StorageClass, ConfigMap, Secret, and Services, showing how to initialize, scale, and verify data synchronization across pods.
KubernetesLocal Persistent VolumeMySQL
0 likes · 19 min read

This article introduces Redis, explains why it is popular, describes the architecture of a Redis Cluster, and provides a complete step‑by‑step tutorial for deploying, initializing, validating, and testing a Redis Cluster on Kubernetes with sample code and a hit‑counter application.
ClusterDevOpsKubernetes
0 likes · 14 min read

This article demonstrates how to build a MySQL master‑slave replication cluster on Kubernetes by leveraging StatefulSet for stateful pod management, local persistent volumes for storage, and a series of YAML manifests and commands to configure storage classes, PVs, ConfigMaps, Secrets, Services, and the StatefulSet itself, while also showing how to verify replication and scale the replica set.
KubernetesLocal Persistent VolumeMySQL
0 likes · 18 min read

This article explains Redis fundamentals, its typical use cases, and presents a detailed cloud‑native deployment architecture on Kubernetes—including Server, Proxy, ConfigServer components, placement strategies, storage handling, scaling, and upgrade procedures—illustrated with diagrams and practical operator workflows.
KubernetesOperatorRedis
0 likes · 17 min read

An interview with ByteDance engineer Xie Ning reveals how Redis can be transformed into a cloud‑native service on Kubernetes, covering the use of Deployments, StatefulSets, Operator patterns, dynamic storage provisioning, and the operational benefits over traditional physical‑machine deployments.
DevOpsKubernetesOperator
0 likes · 7 min read

This article introduces Redis, explains its advantages, describes Redis Cluster architecture, and provides a detailed, hands‑on tutorial for deploying a Redis Cluster on Kubernetes using StatefulSets, PersistentVolumes, services, and a sample hit‑counter application, complete with configuration files and verification commands.
KubernetesRedisRedis Cluster
0 likes · 15 min read

This tutorial demonstrates how to create a MySQL master‑slave replication cluster on Kubernetes using a StatefulSet, local persistent volumes, ConfigMaps, Secrets, and Services, covering storage class configuration, pod initialization, data cloning, replication setup, verification, and horizontal scaling.
KubernetesLocal PVMySQL
0 likes · 19 min read

This guide walks you through deploying Grafana as a StatefulSet on Kubernetes using a custom StorageClass for data persistence, configuring service accounts, ConfigMaps, Secrets, and exposing the service via ingress‑nginx alongside Prometheus and Alertmanager ingress resources.
GrafanaIngressKubernetes
0 likes · 16 min read

This guide walks through manually deploying a highly available Prometheus and Alertmanager stack on Kubernetes using StatefulSets, StorageClasses, and persistent volumes, covering environment setup, RBAC, ConfigMaps, services, node exporters, kube‑state‑metrics, and verification steps.
AlertmanagerKubernetesPrometheus
0 likes · 23 min read

This guide walks through installing etcd, launching a static three‑node pseudo‑cluster on a single host, explains key command‑line flags, and shows how to deploy, configure, and scale the etcd cluster in Kubernetes using a corrected StatefulSet manifest.
ClusterDevOpsdistributed systems
0 likes · 16 min read

This article explains how Xiaomi migrated tens of thousands of Redis instances from bare‑metal servers to Kubernetes, using Redis Proxy, StatefulSets, and Ceph storage to achieve resource isolation, automated deployment, dynamic scaling, and improved reliability while addressing latency, IP‑change, and security challenges.
CephKubernetesProxy
0 likes · 20 min read

This article examines why MySQL is deployed on Kubernetes, outlines the technical challenges such as service routing, monitoring isolation, storage and high‑availability, highlights the benefits of cloud‑native networking and scheduling, and reviews popular MySQL operators and their implementation details.
KubernetesMySQLOperator
0 likes · 8 min read

This article explains the challenges of traditional Deployment and StatefulSet IDs, introduces OpenKruise and its five enhanced controllers, details the installation process via Helm, and demonstrates how Advanced StatefulSet enables parallel pod startup and in‑place updates for faster, more reliable workloads.
Advanced StatefulSetHelmKubernetes
0 likes · 10 min read

This guide explains MySQL’s fundamentals, describes a master‑slave high‑availability architecture, and provides a complete step‑by‑step tutorial for deploying the cluster on Kubernetes using ConfigMaps, Services, a StatefulSet, dynamic PVCs, and verification commands.
High AvailabilityKubernetesMySQL
0 likes · 9 min read

This guide explains Kubernetes StatefulSets, covering their purpose, core components, YAML definition, deployment steps, stable network identities, ordered pod scaling, persistent volume handling, and practical commands for creating, updating, and deleting StatefulSet workloads.
HeadlessServiceKubernetesPersistentStorage
0 likes · 11 min read

This guide walks through setting up persistent Ceph RBD storage for Kubernetes by creating the external rbd‑provisioner client, generating the required Ceph secret, defining a StorageClass with appropriate parameters, and deploying a StatefulSet that uses the dynamic volume provisioning, including all necessary YAML manifests and command‑line steps.
CephKubernetesPersistentVolume
0 likes · 8 min read

This guide explains how Kubernetes StatefulSet solves the challenges of deploying stateful applications by providing stable network identities, persistent storage, ordered scaling, and flexible update strategies, and walks through example manifests, creation commands, status inspection, upgrade procedures, and scaling policies.
KubernetesUpgrade Strategiesscaling
0 likes · 21 min read

This article explains how UCloud’s KUN platform leverages Kubernetes Operators to simplify deployment and management of stateful distributed services like Redis, covering Operator fundamentals, design choices, Redis Operator features, scope handling, persistence, monitoring, and the overall benefits for DevOps efficiency.
DevOpsKubernetesOperator
0 likes · 16 min read

This article provides a concise, beginner-friendly overview of Kubernetes, covering its origins, key concepts such as Pods, Nodes, Labels, Service Discovery, ReplicaSet, DaemonSet, StatefulSet, Jobs, ConfigMaps, Secrets, Deployments, and Storage, and explains how each component fits into a cloud‑native architecture.
DeploymentsKubernetesPods
0 likes · 10 min read

OpenKruise, announced at KubeCon Shanghai 2019, is Alibaba's open‑source cloud‑native automation engine that extends Kubernetes with custom controllers for deployment, upgrade, scaling, and sidecar management, offering in‑place updates, parallel upgrades, and a GitHub repository for community contributions.
ControllerKubernetesOpenKruise
0 likes · 9 min read
