Skip to content

Instantly share code, notes, and snippets.

View yosshy's full-sized avatar

Akira YOSHIYAMA yosshy

  • NEC Corporation
View GitHub Profile
@yosshy
yosshy / gist:cca8089771bf6437745d251cd6e1e952
Created June 20, 2022 01:16
Patch for Kubespray to use non-graceful shutdown capability and to build 4 nodes cluster with 1 controller
diff --git a/Vagrantfile b/Vagrantfile
index 1cfa72c8..5bcdee30 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -43,7 +43,7 @@ if File.exist?(CONFIG)
end
# Defaults for config options defined in CONFIG
-$num_instances ||= 3
+$num_instances ||= 4
@yosshy
yosshy / log.txt
Created October 12, 2022 02:07
Details of K8s taint API
I1012 11:01:00.694660 40226 loader.go:372] Config loaded from file: ./inventory/sample/artifacts/admin.conf
I1012 11:01:00.695962 40226 cached_discovery.go:112] returning cached discovery info from /home/yosshy/.kube/cache/discovery/172.18.8.101_6443/servergroups.json
I1012 11:01:00.696414 40226 cached_discovery.go:76] returning cached discovery info from /home/yosshy/.kube/cache/discovery/172.18.8.101_6443/storage.k8s.io/v1beta1/serverresources.json
I1012 11:01:00.696431 40226 cached_discovery.go:76] returning cached discovery info from /home/yosshy/.kube/cache/discovery/172.18.8.101_6443/flowcontrol.apiserver.k8s.io/v1beta1/serverresources.json
I1012 11:01:00.696466 40226 cached_discovery.go:76] returning cached discovery info from /home/yosshy/.kube/cache/discovery/172.18.8.101_6443/autoscaling/v2beta1/serverresources.json
I1012 11:01:00.696583 40226 cached_discovery.go:76] returning cached discovery info from /home/yosshy/.kube/cache/discovery/172.18.8.101_6443/autoscaling/v2beta2/serverresou
@yosshy
yosshy / ControllerPublishVolume logs.txt
Created December 30, 2022 08:06
How to reproduce running a pod on another node after a worker node down
## Version Information
- trident_version: v21.04.0
- OpenShift(K8s) version
<pre>
$ oc version -o yaml
clientVersion:
buildDate: "2022-08-02T07:42:48Z"
compiler: gc
gitCommit: 70750898e45ff4a349995b08e1d64a359e4c4880