Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction


The following page describes the kubernetes module manual.


Below is

the list of all operations for the kubernetes moduleOPERATION

how to get kubernetes information 


Docker type

Description

connect

Minikube

To start orchestrating environments with Kubernetes, you need to connect it to SOAJS console. This operation  display on your terminal how to connect it.

you will need to have kubernetes running locally. check below

this works for minikube

Code Block
languagebash
titleKubernetes Command Example
> sudo soajs kubernetes connect


Local Docker

If you are using local Docker simply use 

Code Block
languagebash
titleKubernetes Command Example
> sudo kubectl describe secret

The port is usually: 6443

The ip is usually: kubernetes.docker.internal

How to install Kubernetes locally 

You can install kubernetes as follow:

After installing kubernetes make sure you create a service Account as follow:

Code Block
languagebash
sudo kubectl create clusterrolebinding serviceaccounts-cluster-admin --clusterrole=cluster-admin --group=system:serviceaccounts