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

Commit 5e100a7

Browse files
madalazaruniemimu
authored andcommitted
Collapse nginx-config into demo-pod deployment file
Signed-off-by: Madalina Lazar <[email protected]>
1 parent 380d857 commit 5e100a7

File tree

2 files changed

+26
-24
lines changed

2 files changed

+26
-24
lines changed

telemetry-aware-scheduling/deploy/health-metric-demo/demo-pod.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: nginx-conf
5+
data:
6+
nginx.conf: |
7+
worker_processes auto;
8+
9+
error_log /tmp/nginx/error.log warn;
10+
pid /tmp/nginx/nginx.pid;
11+
12+
events {
13+
worker_connections 1024;
14+
}
15+
16+
http {
17+
server {
18+
listen 8090; # specify a port higher than 1024 if running as non-root user
19+
location / {
20+
add_header Content-Type text/plain;
21+
return 200 'hello world';
22+
}
23+
}
24+
}
25+
26+
---
127
apiVersion: apps/v1
228
kind: Deployment
329
metadata:

telemetry-aware-scheduling/deploy/health-metric-demo/nginx-config-map.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)