在执行:

kubectl apply -f kubernetes-dashboard.yaml

报错

Error from server (AlreadyExists): error when creating "kubernetes-dashboard.yaml": services "kubernetes-dashboard" already exist

初步判断是存在dashboard已经存在了

使用:

kubectl get pod --all-namespaces 

发现的确存在一个异常ImagePullBackOff

然后使用

kubectl delete -f kubernetes-dashboard.yaml 

进行删除

 

 ok 完成

GitHub 加速计划 / da / dashboard
10
2
下载
General-purpose web UI for Kubernetes clusters
最近提交(Master分支:2 个月前 )
49406263 * chore(chart): release 7.14.0 * chore(code): fix lint * chore(go): bump Go version to 1.24.0 and update module dependencies * chore(go): update used go version to 1.24.0 * chore(docker): update base image to golang:1.24-alpine3.22 across all Dockerfiles 23 天前
7bb09004 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.4.2 to 5.5.1. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v5.4.2...v5.5.1) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: 5.5.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 26 天前
Logo

新一代开源开发者平台 GitCode,通过集成代码托管服务、代码仓库以及可信赖的开源组件库,让开发者可以在云端进行代码托管和开发。旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐