Skip to content

Commit dfaa09a

Browse files
committed
New applications for chapter 4 Scaling Applications in OpenShift
1 parent 0284ea3 commit dfaa09a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

php-scale/index.php

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
print "I am running on host -> " . gethostname() ." (" . $_SERVER['SERVER_ADDR'] . ")" . "\n";
3+
?>

stress/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM registry.access.redhat.com/rhscl/httpd-24-rhel7
2+
3+
CMD ab -dSqrk -c 20 -n 50000000 http://${SCALE_SERVICE_HOST}:${SCALE_SERVICE_PORT}/index.php

0 commit comments

Comments
 (0)