盈彩体育注册(中国)有限公司
盈彩体育注册(中国)有限公司 您所在的位置:网站首页 盈彩体育注册(中国)有限公司 Liveness/Readiness probes are failing with getsockopt: connection refused 路 Issue #62594 路 kubernetes/kubernetes 路 GitHub

Liveness/Readiness probes are failing with getsockopt: connection refused 路 Issue #62594 路 kubernetes/kubernetes 路 GitHub

2024-05-06 04:33:02| 来源: 网络整理

I was receiving same error while I spin up pods for jenkins container.

I removed limits on the container. It start working.

apiVersion: extensions/v1beta1kind: Deploymentmetadata:name: jenkins-depnamespace: jenkins-nsspec:template:metadata:name: jenkins-tmpltlabels:app: jenkinsspec:containers:- name: jenkinsimage: jenkins:lastestimagePullPolicy: IfNotPresentlivenessProbe:failureThreshold: 3successThreshold: 1timeoutSeconds: 1periodSeconds: 10initialDelaySeconds: 10tcpSocket:port: 8081readinessProbe:failureThreshold: 3successThreshold: 1timeoutSeconds: 1periodSeconds: 10initialDelaySeconds: 30httpGet:port: 8081path: /login#resources:# limits:# cpu: 100m# memory: 512Miports:- containerPort: 8081replicas: 2strategy:rollingUpdate:maxUnavailable: 2maxSurge: 2selector:matchLabels:app: jenkins



【本文地址】 转载请注明 

最新文章

推荐文章

CopyRight 2018-2019 盈彩体育注册(中国)有限公司 版权所有 豫ICP备16040606号-1