Difference between revisions of "HttpHeaders"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
{{Liveness official example}} | {{Liveness official example}} | ||
− | + | == See also == | |
{{K8s probes}} | {{K8s probes}} |
Revision as of 10:45, 22 October 2024
apiVersion: v1 kind: Pod metadata: labels: test: liveness name: liveness-http spec: containers: - name: liveness image: registry.k8s.io/e2e-test-images/agnhost:2.40 args: - liveness livenessProbe: httpGet: path: /healthz port: 8080 httpHeaders: - name: Custom-Header value: Awesome initialDelaySeconds: 3 periodSeconds: 3
See also
K8s probes: readinessProbe, livenessProbe, StartupProbe, exec, gRPC, HttpGet, tcpSocket, TerminationGracePeriodSeconds
Advertising: