Commit Graph

342 Commits

Author SHA1 Message Date
hophacker
6b3d0b0167 move k8s related functions into k8s.zsh 2021-02-20 23:53:02 +08:00
hophacker
0f7cc981ce fix bug that kexec can't get running pod due to preceding for 'wc -l' 2021-01-14 21:15:47 +08:00
hophacker
76f6299a56 add k_get_containers_of_pod 2021-01-14 20:22:13 +08:00
hophacker
451425d6fe add k_force_delete_pod 2021-01-12 08:44:27 +08:00
hophacker
ae45511f19 remove ruby info from zsh skwp theme, cause it sometimes screw up lines and it is not as useful as it seems 2021-01-09 10:39:17 +08:00
hophacker
1d4058bed1 random hex 2021-01-08 09:44:16 +08:00
hophacker
22a501f437 k_get_pods_sort_by_time 2021-01-03 13:54:18 +08:00
hophacker
70b088136b rm init_db 2021-01-03 00:46:52 +08:00
hophacker
2f2c95568f split out k8s related functions.sh 2020-12-29 08:14:35 +08:00
hophacker
a91b7dde6e extract function get pod 2020-12-29 08:06:20 +08:00
hophacker
9496c8659d allow running against pod with multiple containers 2020-12-16 12:19:46 +08:00
hophacker
b92974ec37 repeatedly do k logs -f for klogs -i 2020-12-07 02:20:08 +08:00
hophacker
c8ce55fa82 k_get_instance 2020-12-07 00:32:23 +08:00
hophacker
ccf3ee780a k_get_instance 2020-12-07 00:30:02 +08:00
hophacker
086eaabc27 add functino k_delete_evicted 2020-11-30 08:58:25 +08:00
hophacker
cdd5139484 avoid brew installed nvm path 2020-11-13 09:12:25 +08:00
hophacker
5d6f193721 get nvm path in darwin 2020-11-11 09:41:14 +08:00
hophacker
dbf44e0456 unalias command in the right way 2020-10-27 14:50:20 +08:00
hophacker
b05386207a prompt bug fix 2020-10-25 18:22:18 +08:00
hophacker
92d17d5e20 add pp which prints process info closer to what you need, add ss which sources two active updated scripts 2020-10-25 18:10:54 +08:00
hophacker
aa950a33d9 transform getopts of kexec to be short and clear 2020-10-20 13:46:00 +08:00
hophacker
eeebaf5c63 changes 2020-10-20 13:28:46 +08:00
hophacker
c882cb2494 add OS specific aliases(list_identities) & functions(remove_helper) 2020-10-16 09:47:07 +08:00
hophacker
05b1d83dc8 add function git_tag_delete git_tag_add 2020-10-13 12:49:26 +08:00
hophacker
2c58dddabf alias for kube 2020-09-29 07:38:49 +08:00
hophacker
0e052c10bf merge old vim settings into Spacevim.d 2020-09-19 20:19:57 +08:00
hophacker
5a9f0e93fb add ~/.local/bin to path 2020-09-15 11:50:59 +08:00
hophacker
f9ac27f31c update prezto 2020-09-07 10:05:22 +08:00
hophacker
98125fc388 fix 2020-09-07 10:02:50 +08:00
hophacker
e85365a374 fix kexec 2020-08-30 12:23:46 +08:00
hophacker
224552e020 log with instance name from label 2020-08-26 10:23:55 +08:00
hophacker
c48ee19aa8 change rails_setuP 2020-08-25 10:32:52 +08:00
Zhou Yicheng
7e29b20293 Remove kube tls 2020-07-18 12:38:01 +08:00
hophackerzhcalvin
5c90c8ab0c use rvm if not in darwin 2020-07-13 09:46:46 +08:00
hophacker
accfb0c37b alias vim to nvim 2020-07-08 10:42:50 +08:00
hophacker
356618ba15 remove trello stuff from gitcopy 2020-04-22 12:50:14 +08:00
hophacker
fb0b3fbb3c change proxy port 2020-04-17 15:51:04 +08:00
hophacker
62a35ec77e add tmux bindings for windows 2020-04-07 11:33:55 +08:00
hophacker
822ebc9107 spacevim c and format, fix unset_proxy 2020-04-06 09:58:41 +08:00
hophacker
dc9be12ab5 fix conflict for kbuectl context 2020-04-06 09:58:07 +08:00
hophacker
611d712af4 add func set_k8s_context and force you to select context, then deal with k8s with that context 2020-03-05 16:25:29 +08:00
hophacker
ec6ec688e0 let kubectl support double dashes which signfies positional parameters only 2020-03-03 12:24:11 +08:00
hophacker
042855cd52 fix rubocop 2020-02-28 20:31:06 +08:00
hophacker
7bb0c3588a add set_vagrant_proxy 2020-02-28 16:26:38 +08:00
hophacker
8dac47564f use traditional way to parse kexec arguments, making it support namespace and left arguments 2020-02-27 21:56:17 +08:00
hophacker
6b23e135af enable KCONTEXT to be set from env for all created k8s commands 2020-02-27 21:36:25 +08:00
hophacker
e2baa7ef69 make klogs a workable command which logs amonst k8s applicaiton 2020-02-27 21:27:57 +08:00
hophacker
051ab834ef add direct CONTEXT to kubectl helm 2020-02-27 18:29:53 +08:00
hophacker
59bc04333a rails_setup upgraded 2020-02-26 02:07:28 +08:00
hophacker
6d6c453e8c add debug option to kubectl and helm 2020-02-21 14:33:42 +08:00