new wallpapers, new aliases for kubernetes

This commit is contained in:
Rick van Lieshout 2021-08-18 12:13:47 +02:00
parent a97f4e80ec
commit 493f0838fb
6 changed files with 13 additions and 3 deletions

View File

@ -17,7 +17,7 @@ alias docker-clean-all='stop-dockers && docker-clean-containers && docker-clean-
alias mkubectl='microk8s.kubectl'
alias kubestart='microk8s.start'
alias kubestop='microk8s.stop'
alias kubecontext='kubectl config use-context'
alias kubecontexts='kubectl config get-contexts'
#dotnet core
alias efupdate="dotnet ef database update"
@ -169,7 +169,7 @@ killport () {
}
# function to switch kubernetes namespace
kubeswitch () {
kubenamespaceswitch () {
if [ -z "$1" ] ; then
echo "please specify a namespace to switch to"
else
@ -177,6 +177,16 @@ kubeswitch () {
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
azkubeswitch () {
if [ -z "$2" ] ; then

View File

@ -14,7 +14,7 @@
"by": "https://pixabay.com/users/jplenio-7645255/"
},
{
"images": ["starman.jpg"],
"images": ["starman.jpg", "friends.jpg"],
"by": "https://pixabay.com/users/free-photos-242387/"
},
{

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB