Skip to content
Main Menu
  • Home
  • About

Desk Shell

Technology Makes Life Better!

  • Home
  • About

Year: 2021

  • Home
  • 2021
  • Page 2

change network interface setting in debian linux

2021-07-28 Leon Xie

I have been using RHEL Linux for a long time. However, I seldom have a chance to use a Debian Linux. These days I am working on an application deployed in Debian Linux. To make this application applicable by outside,… Read More

debian, linuxdebian, linuxLeave a comment

an introduction to wine

2021-07-20 Leon Xie

Recently I have changed my working city from one to another. At the same time, my working laptop also has changed. It now has stricter rules on installing software. My favorite pdf reader, foxit pdf reader, is not in the… Read More

linuxlinux, wineLeave a comment

the EDITOR and VISUAL environment variables

2021-07-152021-07-15 Leon Xie

I installed a Debian Linux OS today, but found that the default text editor is nano, which I am not familiar with. After searching how to set text editor using google, I got the solution. Two environment variables can be… Read More

bash, linuxbash, linuxLeave a comment

a few words about prometheus

2021-05-22 Leon Xie

A few days ago I implemented the horizontal pod auto scaling for our application based on customer metrics in the Kubernetes. During the implementation, I setup a Prometheus server to gather metrics from the application and setup a Prometheus-Adapter to… Read More

kubernetes, prometheushpa, kubernetes, prometheusLeave a comment

crd-install for apiextensions.k8s.io/v1 does not work in helm v2 command

2021-05-052021-05-05 Leon Xie

A few days ago, when I tried to install the below application with the latest helm chart using helm v2 command, I got an error message complaining that the helm chart is a helm v3 chart. https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack After struggling for… Read More

helm, kubernetescrd, helm, kubectl, kubernetesLeave a comment

boilerplate code for Linux getopt

2021-05-042024-09-27 Leon Xie

Linux getopt command is often used to parse script options. I find a piece of boilerplate code for this command and mark it in this post for further reference. set -eu set +e options=$(getopt –name “demo.sh” -o “f:d” -l “file:,debug”… Read More

bash, linuxbash, getopt, linuxLeave a comment

a few kubectl command examples

2021-04-24 Leon Xie

In this post, I will list a few examples for kubectl comman, which can be referenced in daily work. 1. create tls secret kubectl create secret tls secret-name –cert=/path/to/cert –key=/path/to/key 2. get information from pod get the ready status of… Read More

kubernetesjson path, kubectl, kubernetesLeave a comment

disk block size vs filesystem block size

2021-04-182021-04-18 Leon Xie

In this post, I will briefly describe the differences between disk block size and filesystem block size. In the computer architecture, every byte in the main memory has a unique address. In x86 arch, the CPU can read 4 bytes… Read More

linuxblock, linux, stat1 Comment

pitfalls and tips when using self-signed certificate

2021-04-11 Leon Xie

A few days ago, I encountered an issue when using a self-signed certificate. The use case of the self-signed certificate is simple. I created a self-signed certificate with openssl and configure it in the application. There is no issue on… Read More

certificate, tlscertificate, curl, tlsLeave a comment

avoid large size of helm chart

2021-04-08 Leon Xie

These days I am trying to integrate one helm chart as a sub chart into another helm chart. However, I encountered a installation problem after the integration. When I run the below command to install a release, I got the… Read More

helmhelm, kubernetesLeave a comment

Posts pagination

Previous 1 2 3 Next

Recent Posts

  • balanced binary search tree implementation
  • an introduction to young generation collection
  • balanced binary search tree
  • brief introduction to java generation memory
  • a few words about RSA

Recent Comments

  • John on raw.githubusercontent.com的DNS记录被污染了
  • Anonymous on disk block size vs filesystem block size
  • Leon Xie on hello world

Archives

  • December 2025
  • September 2025
  • August 2025
  • January 2025
  • March 2024
  • February 2024
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • March 2022
  • February 2022
  • September 2021
  • August 2021
  • July 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • February 2020
  • October 2019
  • September 2019
  • August 2019
  • February 2019
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018

Categories

  • ansible
  • apt
  • bash
  • certificate
  • curl
  • data-struct
  • database
  • debian
  • docker
  • etcd
  • git
  • golang
  • gradle
  • helm
  • iptables
  • java
  • jenkins
  • junit
  • jvm
  • kubernetes
  • linux
  • mariadb
  • maven
  • nginx
  • nodejs
  • npm
  • openssl
  • oracle
  • prometheus
  • python
  • redis
  • rhel
  • robot
  • route
  • rsa
  • springboot
  • sql
  • ssh
  • tls
  • tree
  • ubuntu
  • uncategorized
  • zookeeper

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © All rights reserved.
Education Mind by Axle Themes