c87a30450a
1. Confirm the document content is similar as en version.
2. Merge the zh release-1.14 version into 1.15 version
3. add the 1.14 all sample into 1.15 for template work. The build looks fine.
- docs
- concepts
- architecture
20 lines
449 B
YAML
20 lines
449 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: pod-with-tcp-socket-healthcheck
|
|
spec:
|
|
containers:
|
|
- name: redis
|
|
image: redis
|
|
# defines the health checking
|
|
livenessProbe:
|
|
# a TCP socket probe
|
|
tcpSocket:
|
|
port: 6379
|
|
# length of time to wait for a pod to initialize
|
|
# after pod startup, before applying health checking
|
|
initialDelaySeconds: 30
|
|
timeoutSeconds: 1
|
|
ports:
|
|
- containerPort: 6379
|