Step-By-Step To Installing Kubernetes Extension For Visual Studio Code
Step 1: Installing Kubernetes Extension for VS code
1. Open Visual Studio Code
2. Click ‘Extensions’ icon from the left bar.
3. The installed extensions panel with the option to ‘Search Extensions in Marketplace’ will be displayed on top as below:
4. From ‘Search Extensions in Marketplace’ type ‘Kubernetes’, and the search result with ‘Kubernetes’ will be displayed
5. Select ‘Kubernetes’ from the search result and click ‘Install’ button from the Kubernetes extension by Microsoft.
Once Kubernetes extension is installed in VS code, the ‘Kubernetes’ icon will be added to the left bar as below:
Step 2: Configuring Kubernetes Cluster
1. Select ‘Kubernetes’ icon from the left bar. The Kubernetes panel will be displayed with tabs for Clusters and Helm Repos.
2. Select ‘Add Existing Cluster’ or ‘Create Cluster’ from the cluster menu by clicking the three dots on the right top of the clusters panel.
3. Select the ‘Cluster Type’ from available list and click ‘Next’. For example select type ‘Azure Kubernetes Service’
The new Kubernetes cluster of type ‘Azure Kubernetes Service’ will be created.
Now the Kubernetes Extension for Visual Studio Code is ready to use for Kubernetes based application development.
Microsoft Azure- Tools for developing and deploying applications on Kubernetes
Kubernetes also known as K8s, is defined in simple terms as a Container orchestration system. It is an open-source API used for automating software deployment, scaling, and management. the Kubernetes project was originally designed by Google, and now it is maintained by the Cloud Native Computing Foundation. The container orchestration feature is the ability to deploy and manage multiple containers across private and public cloud infrastructure.
Containers in cloud computing is an approach to operating system virtualization. Containers are a standardized, portable packaging for your applications that bundle an application’s code together with the related configuration files and libraries, and with the dependencies required for the app to run. They are used to abstract applications from the physical environment in which they are running.