output nods and pods to markdown gitlab/github format
add kubernetes file conf to script
vim script.sh
chmod +x
./script.sh
node worker1
-
pods namespace cattle-prometheus
○ exporter-node-cluster-monitoring
-
pods namespace cattle-system
○ cattle-node-agent
-
pods namespace databases
○ rfs-redis
-
pods namespace default
○ prod-apm-server ○ prod-es-master-1
-
pods namespace istio-system
○ istio-galley ○ istio-ingressgateway ○ istio-ingressgateway ○ istio-telemetry
-
pods namespace kube-system
○ canal ○ coredns ○ coredns-autoscaler
node worker2
-
pods namespace cattle-prometheus
○ exporter-kube-state-cluster-monitoring ○ exporter-node-cluster-monitoring ○ grafana-cluster-monitoring ○ prometheus-cluster-monitoring ○ prometheus-operator-monitoring-operator ○ pushgateway-prometheus-pushgateway
-
pods namespace cattle-system
○ cattle-node
-
pods namespace databases
○ redisoperator ○ rfs-redis
-
pods namespace default
○ prod-es-master-2
-
pods namespace istio-system
○ istio-citadel ○ istio-init-crd
-
pods namespace kube-system
○ canal ○ coredns ○ metrics-server