Helm Client

Command list

Deployment

  1. See revision history: helm history <release name>
  2. Rollback: helm rollback <release name> [revision]

Troubleshootings

How to downgrade helm client version using Homebrew

If helm versions are incompatible with servers, then helm cli can’t be used. See this issue for the details of issues and solutions. To sum up, following commands should be ran to downgrade the version to 2.11.0 In order to downgrade the helm cli version, we have to use

brew unlink kubernetes-helm
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/9a698c885051f99b629513cf38684675df2109f9/Formula/kubernetes-helm.rb
brew switch kubernetes-helm 2.11.0

This is the example for outputs

> helm version
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
> brew unlink kubernetes-helm
Unlinking /usr/local/Cellar/kubernetes-helm/2.14.3... 47 symlinks removed
> brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/ee94af74778e48ae103a9fb080e26a6a2f62d32c/Formula/kubernetes-helm.rb
==> Consider using `brew extract kubernetes-helm ...`!
This will extract your desired kubernetes-helm version to a stable tap instead of
installing from an unstable URL!

######################################################################## 100.0%
Warning: kubernetes-helm 2.14.3 is available and more recent than version 2.11.0.
==> Downloading https://homebrew.bintray.com/bottles/kubernetes-helm-2.11.0.mojave.bottle.1.tar.gz
==> Downloading from https://akamai.bintray.com/74/74bfbc75ed551ba51124d1b088f45df642a55d9d9fdef45d796d690f70c1f10e?
######################################################################## 100.0%
==> Pouring kubernetes-helm-2.11.0.mojave.bottle.1.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/kubernetes-helm/2.11.0: 51 files, 78.5MB
Removing: /Users/at-ishikawa/Library/Caches/Homebrew/kubernetes-helm--2.11.0.mojave.bottle.1.tar.gz... (22.5MB)
Removing: /Users/at-ishikawa/Library/Caches/Homebrew/kubernetes-helm--2.11.0.high_sierra.bottle.tar.gz... (22.5MB)
> brew switch kubernetes-helm 2.11.0
Cleaning /usr/local/Cellar/kubernetes-helm/2.14.3
Cleaning /usr/local/Cellar/kubernetes-helm/2.11.0
47 links created for /usr/local/Cellar/kubernetes-helm/2.11.0
> helm ls
NAME                            REVISION        UPDATED                         STATUS          CHART                                       APP VERSION     NAMESPACE
cert-manager                    29              Wed Oct  2 18:39:34 2019        DEPLOYED        cert-manager-v0.10.1                        v0.10.1         cert-manager

2024

Back to Top ↑

2023

Follow Kubernetes the Hard way

4 minute read

This article was written by just following Kelsey Hightower’s Kubernetes Hardway document to understand Kubernetes internal architecture.

Gcp Billing Analyze

less than 1 minute read

There are a few documents to manage billing data in BigQuery Attribution of committed use discount fees and credits How to export to BigQuery Structur...

Prometheus Metrics Overview on Grafana

1 minute read

In this post, some variables defined in Grafana are used for Prometheus metrics, including $__rate_interval: This article describes the benefit of this va...

Use Google Secret Manager in a GKE cluster

3 minute read

There are an awesome article about the options to use the Google Secret Manager and their pros and cons. In this article, use Secrets Store CSI Driver by fol...

Working around MySQL lock metadata

2 minute read

There are multiple documents about innodb locks on MySQL 5.7: InnoDB locking Locks Set by Different SQL Statements in InnoDB Using InnoDB Transaction ...

Upgrade Windows 10 to Windows 11

3 minute read

I used to use Windows 11, but for some reasons, the OS stopped working and I needed to clean-install it from Windows 10 from windows recovery environment.

Back to Top ↑

2022

MySQL backup and restore

1 minute read

In this article, explain how to backup MySQL database using Percona Xtrabackup. There are two binaries, innobackupex and xtrabackup. innobackupex is a wrappe...

tmux

1 minute read

Basic configuration

Back to Top ↑

2021

MySQL Replication

1 minute read

This configuration is for the version 5.7 and it’s minimum configuration in the official document.

jq cheetsheet

less than 1 minute read

jq is used to parse JSON result, format and output on the cli.

Compare static site generator

less than 1 minute read

There are many web sites to compare static site generator, but they miss some explanations that require to me. For some people, these features are important ...

Back to Top ↑

2020

Getting Started with Kubernetes Deployment

less than 1 minute read

The deployment is many use cases and in this page, they’re not described. For the details for those use cases or the concept of deployment, see official page.

Overview about MySQL Lock

2 minute read

This document is written for MySQL 5.7, so these contents may be not correct for other versions.

MySQL Performance

2 minute read

This document is written for MySQL 5.7, so these contents may be not correct for other versions. In this page, performance_schema is mainly discussed.

Git hooks

less than 1 minute read

Configurations

gitHub pages

3 minute read

Getting Started See Official tutorial for detail steps.

Gitconfig

1 minute read

Configuration The detail for gitconfig is written in official page.

git cli

less than 1 minute read

Written in March 2020.

MySQL Tuner

less than 1 minute read

MySQL Tuner tool This is a tool to review a configuration for MySQL server.

kubectl cheetsheet

less than 1 minute read

Collect recent error logs If the logs are outputted by zap, error messages are aggregated by checking level = error. This log does not work very well if the ...

Introduction to GCP Cloud endpoints

less than 1 minute read

The Cloud endpoint is actually the NGINX proxy which offers the following features on GCP. Authentication and validation Logging and monitoring in GCP

HTTP/2 for Go

1 minute read

http package in golang supports HTTP/2 protocols. It’s automatically configured.

Back to Top ↑

2019

Terraform overview

1 minute read

Basic concepts There are some basic components for terraform.

Protocol Buffers for Go with Gadgets

less than 1 minute read

gogo/protobuf is the library to store some extensions from golang/protobuf in this repository. There are some useful packages that golang/protobuf does not p...

Introduction to GCP Cloud CDN

less than 1 minute read

Target upstream services Cloud CDN can have only GCP load balancer as the upstream services. And GCP load balancer can configure one of followings for backen...

Getting Started with Google closure library

less than 1 minute read

Some JavaScript library depends on Google Closure. If you need to understand the behavior of such a library, you have to know closure. The official document ...

Back to Top ↑