How to solve java issue - could not load main class - Visual Studio Code
Assuming you have a java project and is using Visual Studio Code as IDE. All of…
May 05, 2022
In some of the cases, we need to specify namespace name along with kubectl commands.
Example of get pods command with namespace:
kubectl --namespace my-namespace get podsIts very tedius to specify these two strings every time you are running kubectl commands. Especially, when you have multiple namespaces. Its frustrating to copy-paste them each time.
Assumming, the name of your namespace is my-namespace.
Command to set namespace with a context:
kubectl config set-context --current --namespace my-namespaceNow, if you do: kubectl config get-contexts
You will see a namespace name along with the context name, something like:
* cluster-name cluster-name xyz my-namespaceNow, you can run normal kubectl commands without mentioning namespace.
kubectl config get-contexts
kubectl get pods
kubectl apply -f <path to yaml>Thanks for reading…
Assuming you have a java project and is using Visual Studio Code as IDE. All of…
Introduction In this tutorial we will see, How to list and download storage…
Assuming your web application is using oracle, and you are deploying your app on…
This library is ES6, promise compatible. Or, in your package.json file, include…
Problem In drupal textarea field, it was always a pain to see the two links…
Introduction In this post, we will see how to fetch multiple credentials and…
Introduction In this post we will see following: How to schedule a job on cron…
Introduction There are some cases, where I need another git repository while…
Introduction In this post, we will see how to fetch multiple credentials and…
Introduction I have an automation script, that I want to run on different…
Introduction I had to write a CICD system for one of our project. I had to…
Introduction Java log4j has many ways to initialize and append the desired…