This guide walks through creating the necessary Kubernetes resources with a recommended YAML file, applying it, exposing the dashboard via NodePort, generating a service account and token, and finally accessing the dashboard through a browser for cluster monitoring and management.
This article explores the quirks and advanced features of YAML configuration in SpringBoot, covering string handling, numbers, dictionaries, objects, lists, special data types, and complex key syntax, while providing practical code examples and debugging tips to help Java developers avoid common pitfalls.
This article provides a comprehensive overview of GitLab CI/CD, covering its core concepts—pipelines, stages, jobs, and runners—along with .gitlab-ci.yml configuration, variables, triggers, DAG pipelines, runner types, cloud‑native capabilities, efficiency management, and practical demo examples to help teams implement robust DevOps workflows.
The article explains why Kubernetes is notoriously difficult to use, detailing four main pain points—complex initial setup, confusing YAML syntax, copy‑paste pitfalls, and hard debugging—and then offers practical suggestions to make the platform more approachable.
This article demystifies Kubernetes by explaining its core scheduling function, the role of Pods, YAML configuration, probes, high‑availability constructs like ReplicaSet and Deployment, internal components, resource limits, and practical cluster‑setup tools, providing a comprehensive guide for newcomers and practitioners alike.
This article explains what Kubernetes Jobs and CronJobs are, outlines common use cases, and provides detailed, code‑rich instructions for creating, configuring, and managing them—including parallel execution, random naming, and key parameters—so you can automate batch and ad‑hoc tasks in a cloud‑native environment.
This article demystifies Kubernetes by explaining its scheduling fundamentals, the role of Pods, essential YAML configurations, health probes, high‑availability objects, service types, and core internal components, providing a comprehensive guide for developers and operators.
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.
This article provides a comprehensive overview of YAML, covering its purpose, concise syntax, indentation rules, data structures, scalar types, built‑in tags, special types, and examples of JavaScript‑specific and custom types, making it a valuable reference for developers working with configuration files.
This article explains why and how to use GitHub Actions for automated front‑end deployment, covering the basics of Actions, creating workflow files, common CI steps, Docker integration, secret management, and a complete end‑to‑end example with code snippets and deployment scripts.
This guide explains how Spring Boot 2.4 and later deprecates the traditional spring.profiles.active property, introduces the new spring.config.activate.on-profile mechanism, and shows step‑by‑step YAML and command‑line examples for single‑file, multi‑file, and legacy configuration styles.
This article explains the four Kubernetes networking models and demonstrates two primary ways for containers inside a Pod to exchange data—using shared volumes and inter‑process communication (IPC)—with detailed YAML examples and command‑line verification steps.
This guide explains Ansible playbooks, their required hosts and tasks sections, optional fields like name and become, YAML indentation rules, module usage, and demonstrates creating and executing a playbook that installs and starts Apache on a target host.
Learn how to simplify Kubernetes administration with Rancher by installing Docker, deploying Rancher, creating MySQL and SpringBoot deployments via YAML, configuring services, and exposing the application through Nginx, all illustrated with step‑by‑step commands and screenshots.
This article explains the fundamentals of Kubernetes Ingress, how it relies on an Ingress controller such as ingress‑nginx to expose services, compares it with manual Nginx proxy setups, and provides step‑by‑step YAML examples, annotations, TLS configuration, and testing tips.
This article explains how Spring Boot 2.4 changes multi‑environment configuration by replacing the old spring.profiles.include grouping with the new spring.profiles.group mechanism, showing before‑and‑after YAML examples, activation logs, and practical steps to migrate existing projects.
This article details a production‑grade pipeline that uses Apache Flink 1.11's SQL CDC to stream MySQL changes into Elasticsearch, enabling low‑latency OLAP reporting, and shares the architecture, DDL/DML scripts, operational settings, and dozens of pitfalls encountered along the way.
This guide explains how to package a Spring Boot project into a Docker image using Jib, install the Spring Boot Operator on a Kubernetes cluster, and manage applications through custom resources, including deployment, scaling, graceful shutdown, node affinity, and custom operator configuration.
This article explains how to define command‑line interfaces in YAML, use clap‑rs to generate rich shell completion scripts for multiple shells, and leverage a Rust‑based cli‑completion tool (including a Cloudflare Workers FaaS version) to streamline CLI development across languages.
This article compares popular configuration file formats—INI, JSON, TOML, and YAML—detailing their syntax, Python parsing libraries, advantages, limitations, and security considerations, and provides code examples for reading each format, helping developers choose the most suitable option for cross‑language projects.
This guide explains Kubernetes Pod concepts, how to create and manage Pods using YAML and kubectl commands, outlines basic Pod management operations, describes image pull policies, and shows how to configure a Harbor private registry secret for Pods.
This article introduces Dockercraft and its successor Kubecraft, explains how each Minecraft house represents a Docker container or Kubernetes pod, and provides step‑by‑step Docker and Kubernetes deployment instructions, including required YAML, ConfigMap creation, and essential container flags.
Sampler is a lightweight tool that runs shell commands, visualizes their output, and can trigger alerts; configured via simple YAML, it works on macOS, Linux and Windows, supports various components such as runcharts, sparklines, gauges, and interactive shells for monitoring databases, queues and system metrics.
This article explains Spring Boot's two configuration file formats—properties and YAML—detailing their syntax, how to map them to Java classes, and the various annotations (@ConfigurationProperties, @Value, @PropertySource) for retrieving configuration values, including custom file handling.
This article explains how to define and execute performance testing workflows for Kubernetes using declarative YAML files, covering the design of custom CRDs, task orchestration, example manifests, and the implementation of core operations and monitoring.
This article explores how YAML files serve as the pivotal interface for managing Kubernetes resources, detailing their role in defining storage, compute, network, and application configurations, and demonstrating practical deployment, service, and ingress creation to streamline operations and enhance platform stability.
Spring Boot loads configuration files in a defined order, giving higher priority to application.properties over application.yaml, and searches locations such as file:./config/, file:./, classpath:/config/, and classpath:/, with merging behavior that interviewers often test.
This article provides a comprehensive, step‑by‑step guide to setting up GitLab CI/CD pipelines, configuring .gitlab-ci.yml files, registering Docker‑based GitLab Runners, and deploying applications via SSH, covering stages, jobs, and practical code examples for DevOps practitioners.
This comprehensive guide walks frontend developers through the concepts, benefits, and step‑by‑step implementation of automated deployment using GitLab CI, covering pipeline mechanics, runner configuration, YAML syntax, practical .gitlab-ci.yml examples, common pitfalls, and advanced features to streamline continuous integration and delivery.
Spring Boot 2.4 introduces a major overhaul of how application.properties and application.yml files are processed, adding deterministic document ordering, new profile activation keys, support for multi‑document properties, profile groups, import of external configuration, and Kubernetes‑aware volume mounts, while preserving backward compatibility through a legacy mode.
This article explains what a PodSecurityPolicy is, details its configurable fields such as RunAsUser, SELinux, supplemental groups, FSGroup, and volume restrictions, and provides step‑by‑step commands to create, list, edit, delete, and enable PSPs in a Kubernetes cluster.
This guide walks through creating PrometheusRule resources, deploying Alertmanager via the Prometheus Operator, configuring custom alerting rules, exposing Alertmanager with a Service, and applying custom Prometheus configuration files using Kubernetes secrets and kubectl commands.
This article explains what the Prometheus Operator is, how it extends Kubernetes with custom resources, lists the CRDs it provides, and walks through a complete deployment—including cloning the source, creating a monitoring namespace, applying RBAC, installing the operator, creating a Prometheus instance, configuring ServiceMonitor, and troubleshooting common permission errors—using concrete YAML manifests and kubectl commands.
This guide shows how to configure a Redis exporter alongside a Redis pod in Kubernetes, add Prometheus scrape annotations, apply the deployment and service manifests, and visualize metrics in Grafana, providing step‑by‑step commands, YAML examples, and screenshots of the monitoring dashboard.
This guide explains Kubernetes service exposure options, the challenges they address, and provides a step‑by‑step tutorial for deploying an Ingress controller, creating Ingress resources, and configuring TLS to securely expose applications within a cluster.
This guide walks through Kubernetes Service concepts, creation methods via kubectl expose and YAML, service inspection, endpoint management, and three ways to expose services externally—NodePort, LoadBalancer, and Ingress—plus detailed deployment options, TLS configuration, and practical command‑line examples.
The article explains Kubernetes' rapid rise by detailing its history, YAML‑based declarative infrastructure, GitOps workflow, scalability features, security policies, cloud‑provider integration, extensibility through CRDs and Operators, and the vibrant community that drives continuous innovation.
This tutorial explains how to set up a GitHub Actions CI/CD pipeline for a Docker‑based project, covering workflow file creation, YAML configuration, secret management, and verification of Docker image builds.
This guide walks through Kubernetes deployment methods—including blue‑green, canary, and rolling updates—explaining their concepts, showing how to define Deployments with kubectl, and providing step‑by‑step command examples and YAML configurations for practical implementation.
This guide introduces kubectl basics, walks through its most common commands, explains Kubernetes pod concepts, related API objects, YAML‑based pod creation, lifecycle phases, container hooks, health probes, status types, and restart policies, providing practical code examples and diagrams.
This article explains how the Open Application Model (OAM) abstracts away infrastructure details, enabling developers to define applications with concise YAML files and deploy them to AWS Fargate via the Amazon ECS for OAM project using just a few simple commands.
This tutorial introduces GitLab CI/CD, explains its core concepts, reasons to choose it, outlines typical pipeline stages and jobs, and provides a complete example .gitlab-ci.yml configuration with code snippets for building, testing, and deploying a Node.js application.
The article explains Docker's new cross‑platform Compose specification, highlights its concise syntax and cloud‑native benefits over Kubernetes, showcases example configurations, and describes related open‑source projects and Lingque Cloud's contributions to the spec development.
This guide explains how to write multi‑line text in YAML configuration files, covering techniques to keep paragraph breaks when displaying the value and methods to collapse line breaks for a single‑line output, complete with code examples and practical differences.
This article introduces HttpRunner, a universal HTTP(S) testing framework, explains the YAML/JSON structure for APIs and test cases, demonstrates GET and POST definitions, and shares practical tips on handling variables, output, and extract to avoid common pitfalls in automated API testing.
This guide walks through deploying node‑exporter, Prometheus, and Grafana on a Kubernetes cluster with YAML manifests, configuring services, RBAC, and Grafana dashboards to monitor cluster metrics, and includes verification steps and code examples.
This article explains how Kubernetes transforms from a container orchestrator into a declarative, cloud‑native operating system, showing beginner‑friendly examples, the benefits of YAML‑based deployments, operators, and how it simplifies software delivery compared to traditional Linux VM workflows.
This article explains how to construct a basic Tekton CI/CD pipeline on Kubernetes, covering core concepts, required resources, task definitions, pipeline templates, secret and ServiceAccount setup, execution monitoring, and includes full YAML and shell code examples for building, testing, and deploying a container image.
This guide explains GitHub Actions, covering its core concepts, how to configure workflow files, define jobs and steps, use actions, set environment variables, apply conditional execution, and leverage matrix strategies for CI/CD automation across multiple platforms and runtimes.
This article explains the core components and data flow of Kubernetes, covering the Master‑Node relationship, APIServer layers, Controller Manager, Scheduler, kubelet, Service and kube‑proxy, and demonstrates deployment with practical Tomcat and MySQL examples using YAML configuration files.
This article examines how Spring Boot 2.2.0.RELEASE loads configuration files, where it searches for them, how it supports YAML and properties formats, how to add JSON support, the precedence of property sources, and the placeholder resolution process by tracing the relevant source code.
This guide explains how to create, delete, update, and label Kubernetes pods using YAML definitions and kubectl commands, covering pod architecture, networking, and practical examples such as port‑forwarding and label management.
This article demonstrates two approaches for creating an Nginx pod in Kubernetes: using direct kubectl commands to pull the image and run a pod, and defining a pod manifest YAML file with specifications, followed by kubectl create/apply/delete commands.
This guide explains what loaders are in Webpack, walks through creating a simple yaml-loader that converts YAML to JSON, shows how to integrate it with webpack configuration, and demonstrates a more advanced AST‑based implementation with best‑practice development tips.
This article explains how to use Apache ShardingSphere's data‑masking (encryption) features to protect both new and existing MySQL/Oracle/PostgreSQL/SQLServer workloads, providing detailed YAML configurations, migration steps, advantages, applicable scenarios, and limitations for secure database operations.
This tutorial explains how to write Ansible Playbooks in YAML to automate complex tasks such as batch installing MySQL on remote servers and creating scheduled cron jobs, including code examples, parameter explanations, execution commands, and result verification.
This article explains the core concepts of Knative Build, outlines its most important features, and provides detailed YAML examples for steps, templates, sources, service accounts, volumes, and timeout configuration, helping developers create native Kubernetes pipelines without pre‑provisioned build environments.
Learn how to install Docker Compose, configure its permissions, verify installation, and use it to define services, images, ports, volumes, and environment variables in a docker‑compose.yml file, then manage containers with common commands to deploy and run multi‑container applications efficiently.
This tutorial explains how Spring Boot loads configuration files, compares properties and YAML formats, shows how to define custom parameters, use random values, switch environments via profiles, and leverage the new Binder API with practical code examples for Java developers.
This comprehensive guide walks you through installing Ansible, configuring its core files, defining inventories, using key‑based SSH, executing basic commands, exploring common modules, writing playbooks, mastering YAML syntax, handling variables, conditions, loops, handlers, roles, and tags for efficient automation.
This guide explains how Spring Boot loads configuration files, compares properties and YAML formats, shows code examples for custom properties, XML imports, command‑line arguments, and profile‑specific settings, and details the underlying loading order and priority rules.
This guide explains how Alibaba Cloud Container Service and Log Service integrate to provide a complete Ingress logging, analysis, and visualization solution that can be deployed with a single YAML file, covering architecture, data collection, dashboards, alerts, and custom queries.
This article explains why Kubernetes should be seen as a next‑generation operating system, walks through a simple nginx deployment using declarative YAML, introduces the concepts of CRDs, custom controllers and Operators, and shows how to create and manage resources such as etcd clusters and virtual machines within Kubernetes.
This tutorial explains how to configure default CPU and memory requests and limits for containers in a Kubernetes namespace using LimitRange objects, demonstrates the effect with several pod examples, and shows how to clean up the resources afterward.
Gear is iQIYI’s internal, high‑availability workflow scheduler built on Apache Oozie and extended with a YAML‑based definition language, GitLab‑driven submission, and a web UI, enabling thousands of daily Hadoop/Spark jobs, complex dependencies, retries, and monitoring, and evolving from SSH‑centric 1.x to feature‑rich 2.x.
This guide introduces YAML syntax and features, explains how to define variables, facts, and loops in Ansible, details the INI‑style inventory file format, and walks through creating playbooks with hosts, tasks, handlers, and tags for reliable automation.
This guide walks you through Ansible fundamentals, covering how to gather host facts, use modules like script, selinux, and template, write YAML playbooks, manage variables, apply Jinja2 templates, and organize tasks with roles for efficient automation.
This article introduces YAML as a human‑friendly data serialization format, compares it with XML and JSON, shows basic syntax for objects, arrays, strings, references, type conversion and comments, and provides practical usage examples in JavaScript, Node.js and Java.