Kubernetes Cluster - How to automatically generate documentation/Architecture of services

7/1/2019

We started using Kubernetes, a few time ago, and now we have deployed a fair amount of services. It's becoming more and more difficult to know exactly what is deployed. I suppose many people are facing the same issue, so is there already a solution to handle this issue? I'm talking of a solution that when connected to kubernetes (via kubectl for example) can generate a kind of map off the cluster.

-- NDZIE Patrick Joel
kubernetes

1 Answer

7/2/2019
  1. In order to display one or many resources you need to use kubectl get command.

  2. To show details of a specific resource or group of resources you can use kubectl describe command.

Please check the links I provided for more details and examples.

  1. You may also want to use Web UI (Dashboard)

Dashboard is a web-based Kubernetes user interface. You can use Dashboard to deploy containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster resources. You can use Dashboard to get an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources (such as Deployments, Jobs, DaemonSets, etc). For example, you can scale a Deployment, initiate a rolling update, restart a pod or deploy new applications using a deploy wizard.

Let me know if that helped.

-- OhHiMark
Source: StackOverflow