Skip to content

Instantly share code, notes, and snippets.

@anjanashankar9
Created April 5, 2022 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anjanashankar9/08bcb4cfaaa6e0a41a7a9e9a30d731b4 to your computer and use it in GitHub Desktop.
Save anjanashankar9/08bcb4cfaaa6e0a41a7a9e9a30d731b4 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: goproxy
labels:
app: goproxy
spec:
containers:
- name: goproxy
image: k8s.gcr.io/goproxy:0.1
ports:
- containerPort: 8080
livenessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 15
periodSeconds: 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment