Skip to content
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

TCP Socket liveness sample #22598

Closed
arun-gupta opened this issue Mar 5, 2016 · 3 comments
Closed

TCP Socket liveness sample #22598

arun-gupta opened this issue Mar 5, 2016 · 3 comments
Assignees
Labels
kind/documentation Categorizes issue or PR as related to documentation. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. sig/network Categorizes an issue or PR as relevant to SIG Network.

Comments

@arun-gupta
Copy link
Contributor

https://github.com/kubernetes/kubernetes/tree/master/docs/user-guide/liveness contains application level health-check using HTTP and Container Exec. TCP Socket example configuration file and docs are missing.

For example, there are no links to TCP socket example at: http://kubernetes.io/v1.1/docs/user-guide/walkthrough/k8s201.html#application-health-checking

@mikedanese mikedanese added kind/documentation Categorizes issue or PR as related to documentation. team/cluster labels Mar 10, 2016
@alexandrst88
Copy link

alexandrst88 commented Nov 15, 2016

@arun-gupta this works fine for me

           - containerPort: 8080
         livenessProbe:
           tcpSocket:
             port: 8080
           initialDelaySeconds: 180
         readinessProbe:
           tcpSocket:
             port: 8080
           initialDelaySeconds: 10

https://github.com/kubernetes/kubernetes/blob/8fd414537b5143ab039cb910590237cabf4af783/test/images/goproxy/pod.yaml

@k8s-github-robot k8s-github-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label May 31, 2017
@spiffxp
Copy link
Member

spiffxp commented Jun 19, 2017

/sig network

/assign
closing because of working example commented above, and linked PR that adds an example to docs

@k8s-ci-robot k8s-ci-robot added the sig/network Categorizes an issue or PR as relevant to SIG Network. label Jun 19, 2017
@spiffxp
Copy link
Member

spiffxp commented Jun 19, 2017

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to documentation. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. sig/network Categorizes an issue or PR as relevant to SIG Network.
Projects
None yet
Development

No branches or pull requests

7 participants
@spiffxp @arun-gupta @mikedanese @alexandrst88 @k8s-github-robot @k8s-ci-robot and others