Operations
DevOps Platform under Cloud Native
· β˜• 6 min read
1. What Is Cloud Native Cloud native is a rapidly evolving field. In 2013, Pivotal proposed the concept of cloud native and has continued to interpret it. Below is Pivotal’s description of the characteristics of cloud-native architecture: 2015: 12-Factor, microservices-oriented, anti-fragile 2017: Observability, modularity, replaceability, disposability 2019: DevOps, continuous delivery, microservices, containers Many people’s first encounter with cloud native may have been through the CNCF.

DevOps Toolchain: Argo CD
· β˜• 5 min read
1. What Problem Argo CD Solves 1.1 Starting from GitOps GitOps originated from a blog post published by Weaveworks in 2017: GitOps - Operations by Pull Request. In it, Alexis introduced a deployment approach that treats Git as the single source of truth. In GitOps practice, we need to define software infrastructure in a Git repository for management.

It Runs Fine Locally, but GitHub Actions Keeps Failing
· β˜• 4 min read
1. A Confusing Problem 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 name: Go on: [push, pull_request] jobs: build: name: CI runs-on: ubuntu-latest steps: - name: Set up Go 1.13 uses: actions/setup-go@v1 with: go-version: 1.13 - name: Check out code into the Go module directory uses: actions/checkout@v2 - name: Check pr is properly formatted run: diff -u <(echo -n) <(gofmt -d .

Run `rm -rf /` Under Kubernetes and You Can Just Run Away
· β˜• 4 min read
This document is mainly meant to demonstrate the dangers of Docker privileged mode, so please proceed with caution. Users without CLI access can copy the example YAML and directly create cluster workloads such as Pod, Job, and DaemonSet to carry out the operations. 1. Directly Deleting All Resources If you can log in to the machine, pack your things, and run the command:

How to Debug a Container on the Host and Operate the Host from Inside a Container
· β˜• 9 min read
1. A Strange Requirement My boss had a strange requirement: use a single kubeconfig file to fetch all kinds of host status information, such as the process list and process states. My first reaction was that he must not understand containers β€” how could anyone use them that way, and if you were going to use them that way, why use containers at all?