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
Advice on how to use conditions in Kubernetes types has varied over time and is interpreted differently by different people. | |
I'm interested in how people who chose to use conditions, and how they define condition type names. | |
I've previously crawled github to find definitions of conditions in types.go files. Here I present 364 code | |
snippets from various types.go files which are go `const` blocks, which match the substring `ConditionType`. | |
The data is in YAML format (I think). `example_url` is a github url for a file that contains this code snippet. It is | |
_not_ necessarily the canonical location for this file. The link is to the first line of the constant definition block. | |
The `approx_popularity` is a measure of how many times I saw this block across non-identical types.go files, so a rough |
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
{ | |
"template": "logstash-*", | |
"settings" : { | |
"number_of_shards" : 1, | |
"number_of_replicas" : 0, | |
"index" : { | |
"query" : { "default_field" : "@message" }, | |
"store" : { "compress" : { "stored" : true, "tv": true } } | |
} | |
}, |