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