Liveness: The kubelet uses liveness probes to know when to restart a Container.
Readiness: The kubelet uses readiness probes to know when a Container is ready to start accepting traffic.
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
Friday, May 10, 2019
Wednesday, May 8, 2019
Share directory over HTTP with Python
cd the directory you want to share, and
# For Python >=2.4 python -m SimpleHTTPServer 8888 # For Python 3.x python3 -m http.server 8888Then you can access this http server with: http://your_host_ip:8888
Friday, May 3, 2019
PlantUML example
@startuml
hide footbox
title HANA CDN Service
database HANA
== Initialization ==
CDN -> Kafka: get Last PFCDIK of today
CDN <- Kafka: Last PFCDIK of today
note over CDN: set Last PFCDIK as 0 if no PFCDIK was found for today
|||
== Poll/Publish delta changes ==
loop every 1 minute
CDN -> HANA: changes since Last PFCDIK of today
CDN <- HANA: delta changes
CDN -> Kafka: publish delta changes to topic
CDN -> CDN: update local Last PFCDIK of today
end
Subscribe to:
Comments (Atom)
