Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.99 KB

kubectl.asciidoc

File metadata and controls

38 lines (29 loc) · 1.99 KB
Table of Contents

Kubernetes

The kubectl commandlet allows to install and use kubernetes. On Windows WSL 2(Windows Subsystem for Linux) has to be installed properly as a prerequisite. The setup on windows will then install kubernetes with K3D. K3D will create a cluster with a single node with a default name as "devonfw-cluster"

ATTENTION: Currently this feature is new and therefore experimental. It may change in incompatible ways in the next releases until we reach a stable state. We hope that all is working fine for you. However, do not expect everything to work out of the box. In case you are facing issues (e.g. network problems with Cisco AnyConnect, etc.) please give us feedback so we can improve.

The arguments (devon kubectl «args») are explained by the following table:

Table 1. Usage of devon kubectl
Argument(s) Meaning

setup

setup Kubernetes (install and verify) as per above flow.

«args»

call kubectl with the specified arguments. Call kubectl help for details or use kubectl directly as preferred.

setup

Please note that on Windows and macOS, Kubernetes support comes together with Docker Desktop that is installed via docker commandlet. When you have installed and launched Docker Desktop, you can once enable Kubernetes in the Preferences.

On Linux however, Kubernetes is installed separately by this commandlet.

usage

Once installed via setup, you can run kubectl directly from any shell of your OS directly. Run kubectl help to get started and use the online documentations and resources on the web to get familiar with Kubernetes. It is not our intention to repeat this here.

Please note that the kubectl commandlet is a command wrapper.