-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.alias-help
79 lines (70 loc) · 2.7 KB
/
.alias-help
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Add this before the EOF marker in the .zshrc configuration section
# Help function for all aliases
alias_help() {
echo "Available Aliases by Category:"
echo "============================="
echo "\nKubernetes Basic Commands:"
echo "-------------------------"
echo "k - Short for kubectl"
echo "kg - kubectl get"
echo "kd - kubectl describe"
echo "kgnol - Get nodes with labels"
echo "kgep - Get endpoints"
echo "kests - Edit StatefulSet"
echo "kdpi - Find image in pod"
echo "krrd - Restart deployment"
echo "krrsts - Restart StatefulSet"
echo "kgsts - Get StatefulSets"
echo "kdelsts - Delete StatefulSet"
echo "\nKubecost Specific:"
echo "----------------"
echo "klcm - Logs from cost-model container"
echo "klfe - Logs from frontend container"
echo "kla - Logs from aggregator"
echo "klcmf - Follow cost-model logs"
echo "klfef - Follow frontend logs"
echo "klaf - Follow aggregator logs"
echo "kexecfe - Execute in frontend container"
echo "kexeccm - Execute in cost-model container"
echo "\nCloud Provider Commands:"
echo "----------------------"
echo "azl - List AKS clusters"
echo "eks - List EKS clusters"
echo "acreds - Update AWS EKS credentials"
echo "gccc - Create GKE cluster"
echo "gcreds - Get GKE credentials"
echo "gccd - Delete GKE cluster"
echo "gccl - List GKE clusters"
echo "gcclj - List Jesse's GKE clusters"
echo "gccr - Resize GKE cluster"
echo "\nDocker Commands:"
echo "---------------"
echo "drmi - Remove unused images"
echo "deit - Execute interactive terminal"
echo "\nFile System & Utils:"
echo "------------------"
echo "ll - List files (detailed)"
echo "h - Show history"
echo "c - Clear screen"
echo "svi - Sudo vi"
echo "du - Disk usage with human readable sizes"
echo "df - Disk free space"
echo "\nSystem Monitoring:"
echo "----------------"
echo "meminfo - Show memory information"
echo "psmem - Top processes by memory"
echo "psmem10 - Top 10 processes by memory"
echo "pscpu - Top processes by CPU"
echo "pscpu10 - Top 10 processes by CPU"
echo "cpuinfo - Show CPU information"
echo "\nNetwork:"
echo "--------"
echo "ping - Send 5 ping requests"
echo "fastping - Send 100 rapid ping requests"
echo "\nTo update all aliases:"
echo "-------------------"
echo "updategitaliases - Update all aliases from Jesse's GitHub"
}
# Add the alias for the help function
alias aliases='alias_help'
alias '?'='alias_help'