New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request failing when I restart the pod #56883

Closed
AnkitVaidya01 opened this Issue Dec 6, 2017 · 5 comments

Comments

Projects
None yet
6 participants
@AnkitVaidya01

AnkitVaidya01 commented Dec 6, 2017

When I am trying to restart the pod, the request going to that pod are failing. Ideally request should get transfer to other live pod. I have added prestop and postStart in my deployment yaml. Please suggest

{{- end}}
- name: TZ
value: "{{.Values.containerinfo.env.tz}}"
image: "{{.Values.containerinfo.image}}:{{.Values.containerinfo.imageTag}}"
lifecycle:
preStop:
exec:
command: ["sleep", "300"]
postStart:
exec:
command: ["sleep", "20"]
imagePullPolicy: "{{.Values.containerinfo.imagePullPolicy}}"
livenessProbe:
httpGet:
path: "/health"
port: 18080
initialDelaySeconds: {{.Values.containerinfo.livenessProbe.initialDelaySeconds}}
timeoutSeconds: {{.Values.containerinfo.livenessProbe.timeoutSeconds}}
name: "pod-category-service-container"
resources:
requests:
memory: "{{.Values.containerinfo.resources.requests.memory}}"
limits:
memory: "{{.Values.c

@wanghaoran1988

This comment has been minimized.

Show comment
Hide comment
@wanghaoran1988

wanghaoran1988 Dec 6, 2017

Contributor

@AnkitVaidya01 I can't get you, could you please use the issue template to provide enough infomation if you really need a hand?

Contributor

wanghaoran1988 commented Dec 6, 2017

@AnkitVaidya01 I can't get you, could you please use the issue template to provide enough infomation if you really need a hand?

@AnkitVaidya01

This comment has been minimized.

Show comment
Hide comment
@AnkitVaidya01

AnkitVaidya01 Dec 6, 2017

I deployed 3 pods. Putting load on it with approx 70 tps. During the test I have deleted one pod out of three then what should be the result? I am getting request failure in test. @k8s-bot @k8s-merge-robot @wanghaoran1988 @foxylion
/sig windows
/assign
@kubernetes/sig-windows-feature-requests

AnkitVaidya01 commented Dec 6, 2017

I deployed 3 pods. Putting load on it with approx 70 tps. During the test I have deleted one pod out of three then what should be the result? I am getting request failure in test. @k8s-bot @k8s-merge-robot @wanghaoran1988 @foxylion
/sig windows
/assign
@kubernetes/sig-windows-feature-requests

@foxylion

This comment has been minimized.

Show comment
Hide comment
@foxylion

foxylion Dec 8, 2017

@AnkitVaidya01 It is hard to give you any tip. Try to give more information on what you are trying to achieve.

foxylion commented Dec 8, 2017

@AnkitVaidya01 It is hard to give you any tip. Try to give more information on what you are trying to achieve.

@AnkitVaidya01

This comment has been minimized.

Show comment
Hide comment
@AnkitVaidya01

AnkitVaidya01 Dec 13, 2017

Please close the thread. My issue is resolved.

AnkitVaidya01 commented Dec 13, 2017

Please close the thread. My issue is resolved.

@feiskyer

This comment has been minimized.

Show comment
Hide comment
@feiskyer

feiskyer Dec 13, 2017

Member

Closing based on #56883 (comment).

Member

feiskyer commented Dec 13, 2017

Closing based on #56883 (comment).

@feiskyer feiskyer closed this Dec 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment