再补充一下
用 admin 登录后 显示正常原先能够看到列表的账号,现在都不能显示了
补充:
访问页面时,ks-console, ks-apiserver 日志没有错误但是当尝试在 ks上创建一个流水线时,报错
此时在ks-apiserver有错误E0113 10:13:49.103633 1 devops.go:640] { "message" : "Pipeline project-58Pj58GnJRGn not found", "code" : 404, "errors" : [ ] }
同时在 kubesphere-system 中的 mysql
查询 devops 下的 project 表
project-58Pj58GnJRGn 这条记录是有的在项目 project-58Pj58GnJRGn 中不显示 pipeline 了
但是在 jenkins中是有的(6个)
跟踪了页面请求
/kapis/devops.kubesphere.io/v1alpha2/search?q=type:pipeline;organization:jenkins;pipeline:project-58Pj58GnJRGn%2F*;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=10
返回
{"items":[],"total_count":0}
访问 jenkins 对应的 API 请求
/blue/rest/search/?q=type:pipeline;organization:jenkins;pipeline:project-58Pj58GnJRGn%2F*;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=10
有内容返回,正确的6个
也尝试重启 jenkins, ks-apiserver ,但均无效果
参考了 https://kubesphere.com.cn/docs/v2.1/zh-CN/api-reference/api-docs/ 文档后
想问下假设我自己有个 apiserver 想挂在 ks 下以 /abc 开头该怎么做
有没有文档或示例可参考,谢谢当我输入 lb.kubesphere.io 后再敲击 / 字符会直接删除当前这一行
导致我无法在界面上为 service 指定 porter作为 LB
建议是不是在内置 harbor的helm里需要加上
registry.relativeurls=true
防止更多的小伙伴踩坑- 最佳回复由 k0ngk0ng 选择
已经解决:
修改 kubesphere-devops-system configmap ks-harbor-harbor-registryhttp: relativeurls: true
参考:https://github.com/docker/distribution/issues/970#issuecomment-284227065
docker login 和 pull 都成功
显示不停重试,最后EOF
a1e3e0513114: Retrying in 14 seconds
6c621d0720e2: Retrying in 14 seconds
d86d34816513: Retrying in 14 seconds
b314ec235321: Retrying in 14 seconds
812e5f94ac49: Retrying in 14 seconds
d355dacb791d: Waiting
2f1b41b24201: Waiting
007a7f930352: Waiting
c6926fcee191: Waiting
b78ec9586b34: Preparing
d56055da3352: Waitinghttps 是用 ingress 做的
当删除之前用应用仓库创建的应用xxx后,再次使用同样的名称进行创建提示
rpc error: code = PermissionDenied desc = helm release [xxx] already exists
ks version: 2.1
多谢,升级2.1后可以
- 于 ks数据备份
除了k8s本身的etcd需要备份外,还需要对哪些数据进行备份才能保证ks的运行完整?
kubeshpere-system下的mysql? 屏幕分辨率:1920*1080
浏览器: chrome要比较小心的点,可以点到被遮住的×和√
pengcong06 多谢,我把原先的 status 改成deleted,再添加就好了