|
@@ -258,12 +258,13 @@ const Metrics: React.FC = () => {
|
|
|
<LoadingWrapper>
|
|
<LoadingWrapper>
|
|
|
<Loading />
|
|
<Loading />
|
|
|
</LoadingWrapper>
|
|
</LoadingWrapper>
|
|
|
- ) : !detected ? (
|
|
|
|
|
|
|
+ ) : !detected || true ? (
|
|
|
<>
|
|
<>
|
|
|
<br />
|
|
<br />
|
|
|
<br />
|
|
<br />
|
|
|
<Placeholder height="calc(50vh - 50px)" minHeight="400px">
|
|
<Placeholder height="calc(50vh - 50px)" minHeight="400px">
|
|
|
- Cluster metrics unavailable. No ingress controller or instance of nginx-ingress was found on this cluster.
|
|
|
|
|
|
|
+ Cluster metrics unavailable. Make sure nginx-ingress and Prometheus are installed.
|
|
|
|
|
+ <A href="/launch">Go to Launch</A>
|
|
|
</Placeholder>
|
|
</Placeholder>
|
|
|
</>
|
|
</>
|
|
|
) : (
|
|
) : (
|
|
@@ -336,6 +337,10 @@ const Metrics: React.FC = () => {
|
|
|
|
|
|
|
|
export default Metrics;
|
|
export default Metrics;
|
|
|
|
|
|
|
|
|
|
+const A = styled.a`
|
|
|
|
|
+ margin-left: 5px;
|
|
|
|
|
+`;
|
|
|
|
|
+
|
|
|
const LoadingWrapper = styled.div`
|
|
const LoadingWrapper = styled.div`
|
|
|
padding: 100px 0px;
|
|
padding: 100px 0px;
|
|
|
width: 100%;
|
|
width: 100%;
|