File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ import conf from './conf';
24
24
/**
25
25
* The healthz URL of the cluster to check that it is running.
26
26
*/
27
- const clusterHealthzUrl = `http:// ${ conf . backend . apiServerHost } /healthz` ;
27
+ const clusterHealthzUrl = `${ conf . backend . apiServerHost } /healthz` ;
28
28
29
29
/**
30
30
* The validate URL of the heapster to check that it is running.
31
31
*/
32
- const heapsterValidateUrl = `http:// ${ conf . backend . heapsterServerHost } /api/v1/model/stats/` ;
32
+ const heapsterValidateUrl = `${ conf . backend . heapsterServerHost } /api/v1/model/stats/` ;
33
33
34
34
/**
35
35
* A Number, representing the ID value of the timer that is set for function which periodically
@@ -143,7 +143,7 @@ gulp.task('wait-for-cluster', function(doneFn) {
143
143
if ( counter % 10 === 0 ) {
144
144
gulpUtil . log (
145
145
gulpUtil . colors . magenta (
146
- `Waiting for a Kubernetes cluster on ${ conf . backend . apiServerHost } ...` ) ) ;
146
+ `Waiting for a Kubernetes cluster at ${ conf . backend . apiServerHost } ...` ) ) ;
147
147
}
148
148
counter += 1 ;
149
149
Original file line number Diff line number Diff line change @@ -45,11 +45,12 @@ export default {
45
45
/**
46
46
* Address for the Kubernetes API server.
47
47
*/
48
- apiServerHost : 'localhost:8080' ,
48
+ apiServerHost : 'http:// localhost:8080' ,
49
49
/**
50
- * Address for the Heapster API server.
50
+ * Address for the Heapster API server. If blank, the dashboard
51
+ * will attempt to connect to Heapster via a service proxy.
51
52
*/
52
- heapsterServerHost : 'localhost:8082' ,
53
+ heapsterServerHost : 'http:// localhost:8082' ,
53
54
} ,
54
55
55
56
/**
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ export const browserSyncInstance = browserSync.create();
36
36
* @type {!Array<string> }
37
37
*/
38
38
const backendDevArgs = [
39
- `--apiserver-host=http:// ${ conf . backend . apiServerHost } ` ,
39
+ `--apiserver-host=${ conf . backend . apiServerHost } ` ,
40
40
`--port=${ conf . backend . devServerPort } ` ,
41
- `--heapster-host=http:// ${ conf . backend . heapsterServerHost } ` ,
41
+ `--heapster-host=${ conf . backend . heapsterServerHost } ` ,
42
42
] ;
43
43
44
44
/**
@@ -47,9 +47,9 @@ const backendDevArgs = [
47
47
* @type {!Array<string> }
48
48
*/
49
49
const backendArgs = [
50
- `--apiserver-host=http:// ${ conf . backend . apiServerHost } ` ,
50
+ `--apiserver-host=${ conf . backend . apiServerHost } ` ,
51
51
`--port=${ conf . frontend . serverPort } ` ,
52
- `--heapster-host=http:// ${ conf . backend . heapsterServerHost } ` ,
52
+ `--heapster-host=${ conf . backend . heapsterServerHost } ` ,
53
53
] ;
54
54
55
55
/**
You can’t perform that action at this time.
0 commit comments