Skip to content

Commit

Permalink
Fixed Headings
Browse files Browse the repository at this point in the history
  • Loading branch information
bkribbs15 committed Jul 25, 2024
1 parent e9ec03b commit f6b3f3f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
21 changes: 12 additions & 9 deletions docs/openshift/pods/health-checks/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Liveness and Readiness Probes
# Health and Monitoring

## Liveness and Readiness Probes

A Probe is a diagnostic performed periodically by the kubelet on a Container. To perform a diagnostic, the kubelet calls a Handler implemented by the Container. There are three types of handlers:

Expand All @@ -14,21 +16,21 @@ The kubelet can optionally perform and react to three kinds of probes on running

***readinessProbe***: Indicates whether the Container is ready to service requests. Only runs at start.

## Resources
### Resources

=== "OpenShift"

[Application Health :fontawesome-solid-globe:](https://docs.openshift.com/container-platform/4.12/applications/application-health.html){ .md-button target="_blank"}
[Application Health :fontawesome-solid-globe:](https://docs.openshift.com/container-platform/4.14/applications/application-health.html){ .md-button target="_blank"}

[Virtual Machine Health :fontawesome-solid-globe:](https://docs.openshift.com/container-platform/4.12/virt/logging_events_monitoring/virt-monitoring-vm-health.html){ .md-button target="_blank"}
[Virtual Machine Health :fontawesome-solid-globe:](https://docs.openshift.com/container-platform/4.14/virt/logging_events_monitoring/virt-monitoring-vm-health.html){ .md-button target="_blank"}

=== "Kubernetes"

[Container Probes :fontawesome-solid-globe:](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes){ .md-button target="_blank"}

[Configure Probes :fontawesome-solid-globe:](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/){ .md-button target="_blank"}

## References
### References

```yaml
apiVersion: v1
Expand Down Expand Up @@ -190,17 +192,18 @@ spec:
```

=== "Kubernetes"
** Verify Metrics is enabled**

**Verify Metrics is enabled**
```
kubectl get --raw /apis/metrics.k8s.io/
```

** Get Node Description **
**Get Node Description**
```
kubectl describe node
```

** Check Resource Useage **
**Check Resource Usage**
```
kubectl top pods
kubectl top nodes
Expand All @@ -214,5 +217,5 @@ spec:

| Task | Description | Link |
| --------------------------------| ------------------ |:----------- |
| *** Try It Yourself *** | | |
| ***Try It Yourself*** | | |
| Probes | Create some Health & Startup Probes to find what's causing an issue. | [Probes](../../../labs/kubernetes/lab4/index.md) |
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ nav:
- openshift/pods/index.md
- <div class="sub-section">Labels-Selectors</div>: openshift/pods/tagging/index.md
- <div class="sub-section">Multi-Container</div>: openshift/pods/multi-container/index.md
- <div class="sub-section">Health Checks</div>: openshift/pods/health-checks/index.md
- <div class="sub-section">Health and Monitoring</div>: openshift/pods/health-checks/index.md
- <div class="sub-section">Troubleshooting</div>: openshift/pods/troubleshooting/index.md
- <div class="header">Configuration</div>:
- openshift/configuration/index.md
Expand Down

0 comments on commit f6b3f3f

Please sign in to comment.