how to add nodes to the Node section(first image) using the local server(make server
)? I believe Meshery is connecting to my server and I have nodes with labels.
thanks!
how to add nodes to the Node section(first image) using the local server(make server
)? I believe Meshery is connecting to my server and I have nodes with labels.
thanks!
@weilirs Good question! The node section provides metrics and key insights from the cluster. If you’re using Minikube, can you verify that both Minikube and the Kubernetes API are running properly? If they are, you may need to deploy Meshery within the Minikube cluster to capture detailed metrics information.
@weilirs did @Yash_Sharma answer’s helps you ?
I’ll try deploy Meshery within the Minikube cluster
I tried deploying Meshery within the Minikube cluster.
I ran these commands to deploy Meshery within the Minikube cluster.
minikube start --driver=docker
helm repo add meshery https://meshery.io/charts/
helm repo update
kubectl create namespace meshery
helm install meshery meshery/meshery --namespace meshery
Then I accessed the UI using minikube service -n meshery meshery
.
I want to connect to a cluster through
so I started a new minikube cluster using minikube start -p meshery-target --driver=docker
.
verified that it is running.
meshery git:(master) ✗ minikube kubectl --profile meshery-target -- get po -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-668d6bf9bc-9fcxz 1/1 Running 1 (13m ago) 18m
kube-system etcd-meshery-target 1/1 Running 1 (13m ago) 18m
kube-system kube-apiserver-meshery-target 1/1 Running 1 (13m ago) 18m
kube-system kube-controller-manager-meshery-target 1/1 Running 1 (13m ago) 18m
kube-system kube-proxy-ncc9w 1/1 Running 1 (13m ago) 18m
kube-system kube-scheduler-meshery-target 1/1 Running 1 (13m ago) 18m
kube-system storage-provisioner 1/1 Running 2 (12m ago) 18m
and I get the kubeconfig file of it.
minikube kubectl --profile meshery-target -- config view --flatten > target-cluster-config
but when I uploaded this kubeconfig file I got this error.
Could you please guide me through this? thanks!