cloudnativer / kube-install

一键安装k8s(kubernetes):二進位離線方式部署,支持定時安裝、添加與銷毀node、銷毀與修復master、一鍵卸載集羣等。Install k8s (kubernetes): one click offline installation of highly available multiple kubernetes cluster, supports schedule installation, addition of nodes, rebuild of kubernetes master, and uninstallation of clusters.
Apache License 2.0
422 stars 118 forks source link

k8s dashboard can't search resource, like pod, deployment. #26

Open huangxuelun opened 2 years ago

huangxuelun commented 2 years ago

kube-install version: 0.7.4 k8s version: 1.23.0 OS: centOS 7.9 this issue exists for a long time. this version still has it, so I raise up it.

image

cloudnativer commented 2 years ago

This is because the version of kube-dashboard is too low. In addition to the search feature, other features should be available.

cloudnativer commented 2 years ago

If you use the version of kube-install 0.7*, you can upgrade manually using the following methods:

docker pull cloudnativer/kubernetes-dashboard-amd64:v2.4.0
temptag=`cat /etc/docker/daemon.json | grep 5000 | cut -d "\"" -f 2 | head -1`
docker tag cloudnativer/kubernetes-dashboard-amd64:v2.4.0 $temptag/kubernetes-dashboard-amd64:v2.4.0
docker push $temptag/kubernetes-dashboard-amd64:v2.4.0
kubectl edit deployment kube-dashboard -n kube-system

Find image: $temptag/kubernetes-dashboard-amd64:v2.2.0 , Change it to image: $temptag/kubernetes-dashboard-amd64:v2.4.0, Then save and quit. After completing the upgrade of kube-dashboard, you can use it again.

cloudnativer commented 2 years ago

We will upgrade kube-dashboard in kube-install 0.8.0. You can follow our roadmap: https://github.com/cloudnativer/kube-install/blob/master/docs/roadmap.md