Skip to content

Commit

Permalink
Added comment for kr8s server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
adamISheff committed Nov 10, 2021
1 parent 4d25270 commit 4e3e05c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kr8sserver/server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const express = require('express');
const path = require('path');
const k8sController = require('./controllers/k8sController.js')


Expand All @@ -11,7 +10,10 @@ app.use(express.json());
app.use(express.urlencoded({ extended: true }));


//Routes handling requests for k8s cluster info
/*
Routes handling requests for k8s cluster info from Prometheus
Middleware will retrieve requested information from Prometheus
*/

app.get('/api/namespaceList',
k8sController.getPodList,
Expand Down

0 comments on commit 4e3e05c

Please sign in to comment.