summaryrefslogtreecommitdiff
path: root/doc/ext/kubernetes/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ext/kubernetes/server.js')
-rw-r--r--doc/ext/kubernetes/server.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ext/kubernetes/server.js b/doc/ext/kubernetes/server.js
new file mode 100644
index 00000000..a4b08bb8
--- /dev/null
+++ b/doc/ext/kubernetes/server.js
@@ -0,0 +1,8 @@
+var http = require('http');
+var handleRequest = function(request, response) {
+ console.log('Received request for URL: ' + request.url);
+ response.writeHead(200);
+ response.end('Hello World!');
+};
+var www = http.createServer(handleRequest);
+www.listen(8080);