-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #553 from Iceber/kube-state-metrics
kube-state-metrics: support for exposing single cluster metrics
- Loading branch information
Showing
17 changed files
with
3,172 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
body { | ||
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji; | ||
margin: 0; | ||
} | ||
header { | ||
background-color: {{.HeaderColor}}; | ||
color: #fff; | ||
font-size: 1rem; | ||
padding: 1rem; | ||
} | ||
main { | ||
padding: 1rem; | ||
} | ||
label { | ||
display: inline-block; | ||
width: {{.Form.Width}}em; | ||
} | ||
{{.ExtraCSS}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>{{.Name}}</title> | ||
<style>{{.CSS}}</style> | ||
</head> | ||
<body> | ||
<header> | ||
<h1>{{.Name}}</h1> | ||
</header> | ||
<main> | ||
{{if .Description}}<h2>{{.Description}}</h2>{{end}} | ||
{{if .Version}}<div>Version: {{.Version}}</div>{{end}} | ||
<div> | ||
<ul> | ||
{{ range .Links }} | ||
<li><a href="{{ .Address }}">{{.Text}}</a>{{if .Description}}: {{.Description}}{{end}}</li> | ||
{{ end }} | ||
</ul> | ||
</div> | ||
{{ if .Form.Action }} | ||
<div> | ||
<form action="{{ .Form.Action}}"> | ||
{{ range .Form.Inputs }} | ||
<label>{{ .Label }}:</label> <input type="{{ .Type }}" name="{{ .Name }}" placeholder="{{ .Placeholder }}" value="{{ .Value }}"><br> | ||
{{ end }} | ||
<input type="submit" value="Submit"> | ||
</form> | ||
</div> | ||
{{ end }} | ||
{{ .ExtraHTML }} | ||
</main> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.