diff options
Diffstat (limited to 'doc/ext/kubernetes/server.js')
-rw-r--r-- | doc/ext/kubernetes/server.js | 8 |
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); |