Skip to content
Main Menu
  • Home
  • About

Desk Shell

Technology Makes Life Better!

  • Home
  • About

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

extract files from rpm packages

2021-03-18 Leon Xie

These days I am developing a feature involving rpm packages. Sometimes I need to extract the files from the rpm package instead of installing it. I mark the command here for further reference. rpm2cpio demo.rpm | cpio -idmv

linux, rhellinux, rhel, rpmLeave a comment

database transaction acid

2021-03-012021-03-01 Leon Xie

A few days ago, I encountered the term ‘ACID’ when reading one article about database. I summarized the term in this post after searching it using google, so that it can be referenced later. Atomicity Transactions are often composed of… Read More

databaseacid, databaseLeave a comment

use openssl to retrieve certificate

2021-02-232021-02-23 Leon Xie

These days I am working on a certificate issue. During the debug session, I got a trick about how to retrieve the certificate from a server without using a browser. This is convenient in non-GUI environment, for example, shell environment.… Read More

certificate, opensslcertificate, openssl

Kubernetes pod termination events

2021-02-102021-02-10 Leon Xie

A few days ago I was assigned a user story to investigate the upgrade of our application in Kubernetes environment without breaking the application servicing customers. One key point in this story is to find out how the Kubernetes pods terminates.… Read More

kuberneteskubernetes, podLeave a comment

Posts pagination

Previous 1 … 3 4 5 … 9 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