Open in app

Sign In

Write

Sign In

Tony
Tony

3.3K Followers

Home

About

Just now

argparse — Python Command Line Parsing Tool

Python argparse basic usage — In DevOps daily work, sometimes you need to parse the specified parameters from the command line in your Python automation script, Python provides some standard libraries to do this, such as sys, optparse, getopt, argparse. The most powerful function here is argparse, let’s take a look at its basic usage. Basic Usage …

Python

3 min read

argparse — Python Command Line Parsing Tool
argparse — Python Command Line Parsing Tool
Python

3 min read


1 day ago

DevOps in Linux — Routing Table

Understand basics of Linux routing table — What is Linux Routing Table Every time when you making a network request on a server, you are dealing with the issue of routing. Routing is a means of sending an IP packet from one point to another. On Linux system, information on how packets are to be forwarded is stored in a kernel routing…

Dev Ops

5 min read

DevOps in Linux — Routing Table
DevOps in Linux — Routing Table
Dev Ops

5 min read


2 days ago

K8s Troubleshooting — Pod Zombie Process

K8s Troubleshooting handbook — Recently, our K8s cluster run into some Zombie process issues. Pods cannot be deleted or created, and even can’t SSH into the node. We found a lots of defunct process in many Pods. The symptom in Pod looks like: CPU: 0% usr 0% sys…

Kubernetes

7 min read

K8s Troubleshooting — Pod Zombie Process
K8s Troubleshooting — Pod Zombie Process
Kubernetes

7 min read


Published in Geek Culture

·3 days ago

DevOps in Linux — Zombie Process

Linux zombie process deep dive — Before we introduce and troubleshoot Zombie process, let’s first understand what is “process status”. Process Status When iowait is increasing, the process is likely to be in an uninterruptible state for a long time because it cannot get a response from the hardware. …

Dev Ops

7 min read

DevOps in Linux — Zombie Process
DevOps in Linux — Zombie Process
Dev Ops

7 min read


Published in Dev Genius

·4 days ago

K8s — ChatGPT Bot For Intelligent Troubleshooting

An interesting ChatGPT bot project for K8s — Today I’d like to introduce an interesting projected called “K8s ChatGPT Bot”. The purpose of this project is to deploy a ChatGPT bot for your K8s issues. You can ask ChatGPT how to solve your Prometheus alerts, get pithy responses, no more solving alerts alone in the darkness! This setup…

Dev Ops

8 min read

K8s — ChatGPT Bot For Intelligent Troubleshooting
K8s — ChatGPT Bot For Intelligent Troubleshooting
Dev Ops

8 min read


5 days ago

DevOps in Go — AWS Operation, Reserved Instances

Go code snippet for AWS operations — A code snippet in Golang to query all AWS EC2 “Reserved Instances” and get information. This code can be used to extract the “Expires” date of AWS reserved instances programmably. You can easily extend the purpose and functionality of this code. AWS EC2 Reserved Instances Amazon EC2 Reserved Instances (RI) provide a significant discount…

Dev Ops

2 min read

DevOps in Go — AWS Operation, Reserved Instances
DevOps in Go — AWS Operation, Reserved Instances
Dev Ops

2 min read


Published in Geek Culture

·6 days ago

Linux — /proc/pid Directory, Part Five

Deep dive into Linux /proc directory — /proc/pid/schedstat This file contains process level scheduling information. There are three fields in this file correlating for that process to: Time spent on the cpu (in nanoseconds), this value is the same as the se.sum_exec_runtime Time spent waiting on a runqueue (in nanoseconds), this value is the same as se.wait_sum Number…

Linux

5 min read

Linux — /proc/pid Directory, Part Five
Linux — /proc/pid Directory, Part Five
Linux

5 min read


Published in Dev Genius

·Jan 20

K8s — Robusta, K8s Troubleshooting Platform

Robusta, the open source K8s troubleshooting platform intro — What is Robusta Robusta (https://home.robusta.dev/) is an open source platform for K8s troubleshooting. Like many other cloud-antive apps, it is installed and managed with Helm3, and sits on top of the monitoring stack (Prometheus, Elasticsearch, etc.) and tells you why alerts occurred and how to fix them. Robusta comes with the following five…

Kubernetes

5 min read

K8s — Robusta, K8s Troubleshooting Platform
K8s — Robusta, K8s Troubleshooting Platform
Kubernetes

5 min read


Published in Geek Culture

·Jan 18

DevOps in Linux — File System

How does Linux File system work? — Like Linux CPU and memory, the management of disks and file systems is also the core function of the OS. Disk provides the most basic persistent storage for the system. The file system provides a tree-like structure for managing files on the disk. Inodes and Directory Entries The file system itself is a mechanism…

Linux

7 min read

DevOps in Linux — File System
DevOps in Linux — File System
Linux

7 min read


Published in Geek Culture

·Jan 17

Helmfile Introduction

What is helmfile and why use it? — Helmfile adds additional functionality to Helm by wrapping it in a declarative spec that allows you to compose several charts together to create a comprehensive deployment artifact for anything from a single application to your entire infrastructure stack. Helmfile lets you: Keep a directory of chart value files and maintain…

Dev Ops

6 min read

Helmfile Introduction
Helmfile Introduction
Dev Ops

6 min read

Tony

Tony

3.3K Followers

Senior Cloud Engineer

Following
  • Alex Mathers

    Alex Mathers

  • Sunil Kumar

    Sunil Kumar

  • Soumadri Banerjee

    Soumadri Banerjee

  • Sunil Sandhu

    Sunil Sandhu

  • Sacha Wharton

    Sacha Wharton

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech