Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
Update health-metric-example.md with missing nginx configuration
Browse files Browse the repository at this point in the history
To address Trivy issues the nginx demo-pod needed a new configuration, which can be found in nginx-config-map.yaml. The demo-pod.yaml requires this configuration to exist beforehand, so 
the health-demo docs have been updated accordingly.
  • Loading branch information
madalazar authored and uniemimu committed Apr 13, 2023
1 parent 74c1b99 commit a1b6e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telemetry-aware-scheduling/docs/health-metric-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ This policy has three strategies included:
After the above policy is declared the Telemetry Policy Controller will begin updating metrics associated with it and tracking nodes that are violating the deschedule targets. At this point the controller logs should be printing out these metrics.

### scheduleonmetric
The Scheduler Extender will evaluate metrics for pods ahead of their placement. To see it at work run ``kubectl apply -f demo-pod.yaml`` in the health-metric-demo directory.
The Scheduler Extender will evaluate metrics for pods ahead of their placement. To see it at work run ``kubectl apply -f nginx-config-map.yaml; kubectl apply -f demo-pod.yaml`` in the health-metric-demo directory.
The pod spec here is:

```
Expand Down

0 comments on commit a1b6e59

Please sign in to comment.