mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-22 06:44:41 +01:00
new wallpapers, new aliases for kubernetes
This commit is contained in:
parent
a97f4e80ec
commit
493f0838fb
@ -17,7 +17,7 @@ alias docker-clean-all='stop-dockers && docker-clean-containers && docker-clean-
|
|||||||
alias mkubectl='microk8s.kubectl'
|
alias mkubectl='microk8s.kubectl'
|
||||||
alias kubestart='microk8s.start'
|
alias kubestart='microk8s.start'
|
||||||
alias kubestop='microk8s.stop'
|
alias kubestop='microk8s.stop'
|
||||||
alias kubecontext='kubectl config use-context'
|
alias kubecontexts='kubectl config get-contexts'
|
||||||
|
|
||||||
#dotnet core
|
#dotnet core
|
||||||
alias efupdate="dotnet ef database update"
|
alias efupdate="dotnet ef database update"
|
||||||
@ -169,7 +169,7 @@ killport () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# function to switch kubernetes namespace
|
# function to switch kubernetes namespace
|
||||||
kubeswitch () {
|
kubenamespaceswitch () {
|
||||||
if [ -z "$1" ] ; then
|
if [ -z "$1" ] ; then
|
||||||
echo "please specify a namespace to switch to"
|
echo "please specify a namespace to switch to"
|
||||||
else
|
else
|
||||||
@ -177,6 +177,16 @@ kubeswitch () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# function to switch kubernetes context
|
||||||
|
kubecontextswitch () {
|
||||||
|
if [ -z "$1" ] ; then
|
||||||
|
echo "please specify a context to switch to, the following contexts are available:"
|
||||||
|
kubectl config get-contexts
|
||||||
|
else
|
||||||
|
kubectl config use-context "$1"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# function to switch to a different azure kubernetes cluster
|
# function to switch to a different azure kubernetes cluster
|
||||||
azkubeswitch () {
|
azkubeswitch () {
|
||||||
if [ -z "$2" ] ; then
|
if [ -z "$2" ] ; then
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"by": "https://pixabay.com/users/jplenio-7645255/"
|
"by": "https://pixabay.com/users/jplenio-7645255/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"images": ["starman.jpg"],
|
"images": ["starman.jpg", "friends.jpg"],
|
||||||
"by": "https://pixabay.com/users/free-photos-242387/"
|
"by": "https://pixabay.com/users/free-photos-242387/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
BIN
wallpapers/images/friends.jpg
Normal file
BIN
wallpapers/images/friends.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
wallpapers/images/pug-in-blanket.jpg
Normal file
BIN
wallpapers/images/pug-in-blanket.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 MiB |
BIN
wallpapers/license/friends.jpg
Normal file
BIN
wallpapers/license/friends.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 140 KiB |
BIN
wallpapers/license/pug-in-blanket.jpg
Normal file
BIN
wallpapers/license/pug-in-blanket.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 144 KiB |
Loading…
Reference in New Issue
Block a user