Skip to content

Commit

Permalink
Collapse nginx-config into demo-pod deployment file
Browse files Browse the repository at this point in the history
Signed-off-by: Madalina Lazar <madalina.lazar@intel.com>
  • Loading branch information
madalazar authored and uniemimu committed Jun 30, 2023
1 parent 380d857 commit 5e100a7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 24 deletions.
26 changes: 26 additions & 0 deletions telemetry-aware-scheduling/deploy/health-metric-demo/demo-pod.yaml
@@ -1,3 +1,29 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-conf
data:
nginx.conf: |
worker_processes auto;
error_log /tmp/nginx/error.log warn;
pid /tmp/nginx/nginx.pid;
events {
worker_connections 1024;
}
http {
server {
listen 8090; # specify a port higher than 1024 if running as non-root user
location / {
add_header Content-Type text/plain;
return 200 'hello world';
}
}
}
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down

This file was deleted.

0 comments on commit 5e100a7

Please sign in to comment.