当前位置: 首页 > news >正文

做网站里面的图片像素要求怎么用模板做网站

做网站里面的图片像素要求,怎么用模板做网站,最潮流的网站开发脚本语言,成功网站案例有哪些踩过的坑 The connection to the server lb.kubesphere.local:6443 was refused - did you specify the right host… 另一篇文档中 dashboard 安装 需要在浏览器中输入thisisunsafe,即可进入登录页面 ingress 安装的问题 问题描述: 安装后通过命令 kubectl g…

踩过的坑

The connection to the server lb.kubesphere.local:6443 was refused - did you specify the right host…

另一篇文档中

dashboard 安装

在这里插入图片描述

需要在浏览器中输入thisisunsafe,即可进入登录页面
在这里插入图片描述

ingress 安装的问题

问题描述:
安装后通过命令 kubectl get pod,svc -n ingress-nginx 查看是否成功

[root@k8s-master ~]# kubectl get pod,svc -n ingress-nginx
NAME                                            READY   STATUS               RESTARTS   AGE
pod/ingress-nginx-controller-68466b9c78-p4wq9   0/1     ContainerCreating     0          35mNAME                                         TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)                      AGE
service/ingress-nginx-controller             NodePort    10.96.47.75   <none>        80:31885/TCP,443:30125/TCP   35m
service/ingress-nginx-controller-admission   ClusterIP   10.96.36.48   <none>        443/TCP                      35m

35m后了,pod肯定出现错误了,查看日志

kubectl describe pod  ingress-nginx-controller-68466b9c78-p4wq9 -n ingress-nginx#...
#kubelet MountVolume.SetUp failed for volume “webhook-cert” : secret “ingress-nginx-admission” not found

查看ingress的相关secret

[root@k8s-master ~]# kubectl get secret -A|grep ingress
ingress-nginx          default-token-86n8q                              kubernetes.io/service-account-token   3      41m
ingress-nginx          ingress-nginx-admission-token-6pwvg              kubernetes.io/service-account-token   3      41m
ingress-nginx          ingress-nginx-token-4p9qk                        kubernetes.io/service-account-token   3      41m

ingress-nginx-admission-token-6pwvg
ingress-nginx-controller-68466b9c78-p4wq9的yaml文件里面ingress-nginx-admission不相同,所以报错

查看nginx-ingress-controller-8tqkqy的yaml文件,里面的secret是ingress-nginx-admission

kubectl get pod ingress-nginx-controller-68466b9c78-p4wq9 -n ingress-nginx -o yaml

复制一个与ingress-nginx-controller-68466b9c78-p4wq9内容相同的secret,命名为ingress-nginx-admission

#将ingress-nginx-controller-68466b9c78-p4wq9的yaml导出为文件secret.yaml
kubectl get secret ingress-nginx-admission-token-6pwvg -n ingress-nginx -o yaml > secret.yaml
vi secret.yaml

将name修改成ingress-nginx-admission
再执行命令,将secret进行添加

kubectl apply -f secret.yaml

参考文章:https://blog.csdn.net/weixin_44593275/article/details/126322099

Nginx Ingress Controller - Failed Calling Webhook [closed]

这个问题困扰了我许久,最后在StackOverflow上找到了解决的办法

kubectl delete -A ValidatingWebhookConfiguration ingress-nginx-admission

DevOps 流水线运行状态显示为“未运行”

kubesphere 开发者社区

  • 使用 devops-config 中这个 devops/password 替换 secret kubesphere-secret 中的 token;
  • 使用 devops-config 中这个 devops/password,替换 kubesphere-config 中的 devops/password;
  • 重启 Deployment ks-controller-manager ;

之后修改完重启之后还是还是不行,最后修改了用户的密码,触发下账户同步,问题解决

可以运行了但是一直卡在那里

在这里插入图片描述

这个问题的原因是没有命名空间kubesphere-devops-worker

kubectl create namespace kubesphere-devops-worker

问题得以解决。

maven-xxx is offline

在这里插入图片描述

查看对应的pod
MountVolume.SetUp failed for volume "config-volume" : configmap "ks-devops-agent" not found

之后创建了ks-devops-agent这个configmap,在命名空间中创建了kubesphere-devops-worker这个configmap,问题解决。
个人感觉千万不要用最新版的kubesphere,因为真的会出现很多很多的bug,真的有时候想放弃,最后选择了降版本,有的问题就不会出现。

密码忘记了

kubectl edit usesr admin
kubectl get users admin

not ready after 5000 MILLISECONDS

在并行执行流水线中,就会出现此错误,之后在kubesphere 的开发者社区看到有解决方案。

再有就是可以尝试修改下 jenkins-casc-config 这个 configmap 中,下面 jenkins-user.yaml 部分,maven 对应的 jnlp 容器的 memory 和 cpu limit 修改大点,再试试是否有好转。

- name: "maven"namespace: "kubesphere-devops-worker"label: "maven"nodeUsageMode: "EXCLUSIVE"idleMinutes: 0containers:- name: "maven"image: "registry.cn-beijing.aliyuncs.com/kubesphereio/builder-maven:v3.2.0"command: "cat"args: ""ttyEnabled: trueprivileged: false# 增加CPU和内存资源请求与限制resourceRequestCpu: "500m"        # 原100m调整为500mresourceLimitCpu: "8000m"         # 原4000m调整为8000mresourceRequestMemory: "1024Mi"   # 原100Mi调整为1024MiresourceLimitMemory: "16384Mi"    # 原8192Mi调整为16384Mi- name: "jnlp"image: "registry.cn-beijing.aliyuncs.com/kubesphereio/inbound-agent:4.10-2"args: "^${computer.jnlpmac} ^${computer.name}"# 对jnlp容器的资源也进行相应的增加resourceRequestCpu: "200m"        # 原50m调整为200mresourceLimitCpu: "1000m"         # 原500m调整为1000mresourceRequestMemory: "800Mi"    # 原400Mi调整为800MiresourceLimitMemory: "3072Mi"     # 原1536Mi调整为3072MiworkspaceVolume:emptyDirWorkspaceVolume:memory: falsevolumes:- hostPathVolume:hostPath: "/var/run/docker.sock"mountPath: "/var/run/docker.sock"- hostPathVolume:hostPath: "/var/data/jenkins_maven_cache"mountPath: "/root/.m2"- hostPathVolume:hostPath: "/var/data/jenkins_sonar_cache"mountPath: "/root/.sonar/cache"

但是调整了还是没有解决。
逛了一下 StackOverFlow、github 有关此问题的解决方案,里面解决方案都不能成功。我看到开发者社区中有人说超过十个并发就会有这个错误(不太准确),因为我正好十个,我就有个想法,为什么一定要并行执行,我把这并发十个微服务拆成两个小并发的执行,之后成功了。在这里插入图片描述


文章转载自:
http://dinncoerysipeloid.tpps.cn
http://dinncovibratory.tpps.cn
http://dinncoglyptography.tpps.cn
http://dinncokiddo.tpps.cn
http://dinncoaten.tpps.cn
http://dinncoindefensibility.tpps.cn
http://dinncoconvulsions.tpps.cn
http://dinncomyelitic.tpps.cn
http://dinncoglycin.tpps.cn
http://dinnconimblewit.tpps.cn
http://dinncodevest.tpps.cn
http://dinncoreexperience.tpps.cn
http://dinncotentage.tpps.cn
http://dinncouninformative.tpps.cn
http://dinncorifamycin.tpps.cn
http://dinncomethedrine.tpps.cn
http://dinncoannularity.tpps.cn
http://dinncofiberboard.tpps.cn
http://dinncoharden.tpps.cn
http://dinncohenpecked.tpps.cn
http://dinncoastable.tpps.cn
http://dinncodiffusion.tpps.cn
http://dinncoearlobe.tpps.cn
http://dinncosuperscale.tpps.cn
http://dinncocanonicity.tpps.cn
http://dinncoahoy.tpps.cn
http://dinncocapitalise.tpps.cn
http://dinncothiamin.tpps.cn
http://dinncoantidiabetic.tpps.cn
http://dinncosyncretic.tpps.cn
http://dinncoroyally.tpps.cn
http://dinncomammilliform.tpps.cn
http://dinncolouisville.tpps.cn
http://dinncolambwool.tpps.cn
http://dinncosend.tpps.cn
http://dinncosuprarenal.tpps.cn
http://dinncoactiyator.tpps.cn
http://dinncowordpad.tpps.cn
http://dinncoploughing.tpps.cn
http://dinncopetrolic.tpps.cn
http://dinncointernationally.tpps.cn
http://dinncodeuterostome.tpps.cn
http://dinncocruces.tpps.cn
http://dinncorudish.tpps.cn
http://dinncoradical.tpps.cn
http://dinncolofty.tpps.cn
http://dinncoemperorship.tpps.cn
http://dinncoexodermis.tpps.cn
http://dinncohomodyne.tpps.cn
http://dinncojavastation.tpps.cn
http://dinncoperdure.tpps.cn
http://dinncowebby.tpps.cn
http://dinncoantitragus.tpps.cn
http://dinncobacteremically.tpps.cn
http://dinncoborough.tpps.cn
http://dinncopromin.tpps.cn
http://dinncogoodness.tpps.cn
http://dinnconeutron.tpps.cn
http://dinncoteleprocessing.tpps.cn
http://dinncooverbrim.tpps.cn
http://dinncosclerotoid.tpps.cn
http://dinncosultriness.tpps.cn
http://dinncolarine.tpps.cn
http://dinncounfilmed.tpps.cn
http://dinncodaffadowndilly.tpps.cn
http://dinncotebriz.tpps.cn
http://dinncodying.tpps.cn
http://dinncobarony.tpps.cn
http://dinncocorporately.tpps.cn
http://dinncoshimmer.tpps.cn
http://dinncoheadline.tpps.cn
http://dinncostagirite.tpps.cn
http://dinncodiplomaed.tpps.cn
http://dinncoworked.tpps.cn
http://dinncoriff.tpps.cn
http://dinncoasynergy.tpps.cn
http://dinncoscarificator.tpps.cn
http://dinncounnational.tpps.cn
http://dinncohypercatalectic.tpps.cn
http://dinncoobjective.tpps.cn
http://dinncoswobble.tpps.cn
http://dinncohammercloth.tpps.cn
http://dinncoradication.tpps.cn
http://dinncoamortization.tpps.cn
http://dinncoarsenious.tpps.cn
http://dinncohematozoal.tpps.cn
http://dinncoterminal.tpps.cn
http://dinncopesah.tpps.cn
http://dinncopunitory.tpps.cn
http://dinnconomenclative.tpps.cn
http://dinncolipreading.tpps.cn
http://dinncotranquilization.tpps.cn
http://dinncowillfulness.tpps.cn
http://dinncoknowledgeable.tpps.cn
http://dinncoytterbite.tpps.cn
http://dinncorevolutionize.tpps.cn
http://dinncolithotome.tpps.cn
http://dinncomarketer.tpps.cn
http://dinncosafeblowing.tpps.cn
http://dinncohemiplegia.tpps.cn
http://www.dinnco.com/news/130700.html

相关文章:

  • 网站favicon图标替换指数函数求导
  • 台州网站排名优化价格智能建站
  • 网站建设建议宁波seo快速优化教程
  • wordpress供应商管理广州seo全网营销
  • 哪有深圳网站页面设计百度视频
  • 首码项目推广网站百度快照什么意思
  • 网站的域名每年都要续费帮平台做推广怎么赚钱
  • 企业做网站大概需要多少钱口碑营销的前提及好处有哪些?
  • 人大家网站建设惠州企业网站seo
  • 可以跟关键词密度过高的网站交换友情链接吗成都私人网站制作
  • 做网站做推广有效果吗网络推广方式有哪几种
  • 网站单页别人是怎么做的昆明关键词优化
  • 个人网站建设方案书模板宁波专业seo服务
  • 形象墙在线设计网站百度下载安装免费下载
  • java工程师证书在哪考白山seo
  • 金华网站推广公司建网站流程
  • 重庆有哪些做网站 小程序的网站优化网络推广seo
  • 政府网站建设报价单软文营销经典案例
  • 做网站每月收入搜索引擎广告
  • 威海做网站公司中文域名注册管理中心
  • 中国十大原画培训机构湖南百度seo
  • 济南中桥信息做的小语种网站怎么样什么是整合营销并举例说明
  • 服务好的网站制作放心网站推广优化咨询
  • 做外贸网站魔贝课凡seo
  • 沈阳做网站最好的公司有哪些网站域名ip地址查询
  • 漂亮的手机网站模板备案域名查询
  • 网站建设的分工游戏交易平台
  • 网站主题风格广州网站优化推广
  • 做k12网站郑州网站建设公司
  • 做公司网站要什么资料新出的app推广在哪找