@@ -7,6 +7,7 @@ Content-Type: text/html
7
7
<html>
8
8
<head>
9
9
<meta name="viewport" content="width=device-width, initial-scale=1">
10
+
10
11
<style type="text/css">
11
12
/*!
12
13
* Bootstrap v3.3.5 (http://getbootstrap.com)
@@ -23,15 +24,11 @@ Content-Type: text/html
23
24
margin: 0;
24
25
}
25
26
h1 {
26
- font-size: 1.9em ;
27
+ font-size: 1.7em ;
27
28
font-weight: 400;
28
29
line-height: 1.3;
29
30
margin: 0.68em 0;
30
31
}
31
- @media (min-width: 768px) {
32
- h1 {
33
- font-size: 2.15em;}
34
- }
35
32
* {
36
33
-webkit-box-sizing: border-box;
37
34
-moz-box-sizing: border-box;
@@ -52,25 +49,92 @@ Content-Type: text/html
52
49
font-size: 13px;
53
50
color: #333333;
54
51
background-color: #ffffff;
55
- margin: 4em 3em ;
52
+ margin: 2em 1em ;
56
53
}
57
54
p {
58
55
margin: 0 0 10px;
59
56
font-size: 13px;
60
- font-weight: 300;
61
- line-height: 1.4;
62
57
}
58
+ .alert.alert-info {
59
+ padding: 15px;
60
+ margin-bottom: 20px;
61
+ border: 1px solid transparent;
62
+ background-color: #f5f5f5;
63
+ border-color: #8b8d8f;
64
+ color: #363636;
65
+ margin-top: 30px;
66
+ }
67
+ .alert p {
68
+ padding-left: 35px;
69
+ }
70
+ a {
71
+ color: #0088ce;
72
+ }
73
+
74
+ ul {
75
+ position: relative;
76
+ padding-left: 51px;
77
+ }
78
+ p.info {
79
+ position: relative;
80
+ font-size: 15px;
81
+ margin-bottom: 10px;
82
+ }
83
+ p.info:before, p.info:after {
84
+ content: "";
85
+ position: absolute;
86
+ top: 9%;
87
+ left: 0;
88
+ }
89
+ p.info:before {
90
+ content: "i";
91
+ left: 3px;
92
+ width: 20px;
93
+ height: 20px;
94
+ font-family: serif;
95
+ font-size: 15px;
96
+ font-weight: bold;
97
+ line-height: 21px;
98
+ text-align: center;
99
+ color: #fff;
100
+ background: #4d5258;
101
+ border-radius: 16px;
102
+ }
103
+
63
104
@media (min-width: 768px) {
64
- p {
65
- font-size: 14px ;
105
+ body {
106
+ margin: 4em 3em ;
66
107
}
108
+ h1 {
109
+ font-size: 2.15em;}
67
110
}
111
+
68
112
</style>
69
113
</head>
70
114
<body>
71
115
<div>
72
116
<h1>Application is not available</h1>
73
117
<p>The application is currently not serving requests at this endpoint. It may not have been started or is still starting.</p>
118
+
119
+ <div class="alert alert-info">
120
+ <p class="info">
121
+ Possible reasons you are seeing this page:
122
+ </p>
123
+ <ul>
124
+ <li>
125
+ <strong>The host doesn't exist.</strong>
126
+ Make sure the hostname was typed correctly and that a route matching this hostname exists.
127
+ </li>
128
+ <li>
129
+ <strong>The host exists, but doesn't have a matching path.</strong>
130
+ Check if the URL path was typed correctly and that the route was created using the desired path.
131
+ </li>
132
+ <li>
133
+ <strong>Route and path matches, but all pods are down.</strong>
134
+ Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running.
135
+ </li>
136
+ </ul>
137
+ </div>
74
138
</div>
75
139
</body>
76
140
</html>
0 commit comments