9b81aa7ccd
* Consolidate YAML files [part-10] This PR relocates the YAML files used by the pod configuration topic. * Update examples_test.go * Update examples_test.go * Update examples_test.go * Update examples_test.go * Update examples_test.go
23 lines
405 B
YAML
23 lines
405 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: goproxy
|
|
labels:
|
|
app: goproxy
|
|
spec:
|
|
containers:
|
|
- name: goproxy
|
|
image: k8s.gcr.io/goproxy:0.1
|
|
ports:
|
|
- containerPort: 8080
|
|
readinessProbe:
|
|
tcpSocket:
|
|
port: 8080
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 8080
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 20
|