-
Couldn't load subscription status.
- Fork 367
Label terminology
Chris Selzo edited this page Oct 21, 2018
·
3 revisions
(This is broadly based on the k8s label document)
Labels are made up of key/value pairs.
For querying, a label_selector is used.
Label keys are made up of an (optional) prefix, and name. If a prefix is present, it is separated from the name by a /.
- without a prefix:
release - with a prefix:
example.com/release
- Length restriction: 0-253 characters
- Character restriction: DNS subdomain format (series of subdomain labels separated by
.) - Valid examples:
beeblebroxexample.comfoo.bar.baz.somewhere.over.the.rainbow.capi.land- (literally empty)
- Invalid examples:
.fundope.foo..bar@#$(@(this.is.entirely.too.long.of.a.prefix.so.there.you.have.it.like.super.long.omg.it.repeats.this.is.entirely.too.long.of.a.prefix.so.there.you.have.it.like.super.long.omg.it.repeats.this.is.entirely.too.long.of.a.prefix.so.there.you.have.it.like.super.long
- Length restriction: 1-63 characters
- Character restriction: alphanumeric with
-,_, and.allowed. Must begin and end with alphanumeric. - Valid examples:
release_v1_duhProduction-clusterbilling.system.1234.foo
- Invalid examples:
1DirectionyoooooooooooooooooooooooooooooooooooooooooooThisIsLikeTooLongBrahDatacenter-US-1Something~Or
- Length restriction: 0-63 characters
- Character restriction: alphanumeric with
-,_, and.allowed. Must begin and end with alphanumeric. - Valid examples:
environment_v7_ultra- (literally empty)
Current-versionstate.county.wa.king
- Invalid examples:
98DegreesheyyoooooooooooooooooooooooooooooooooooooooooooWayTooLongMadameLets.count.to.10Legend~~Of&&The##Forbidden@@Characters
Each label_selector consists of one or more requirements, separated by a comma.
-
Pipelines
-
Contributing
- Tips and Tricks
- Cloud Controller API v3 Style Guide
- Playbooks
- Development configuration
- Testing
-
Architectural Details
-
CC Resources
- Apps
- Audit Events
- Deployments
- Labels
- Services
- Sidecars
-
Dependencies
-
Troubleshooting
- Ruby Console Script to Find Fields that Cannot Be Decrypted
- Logging database queries in unit tests
- Inspecting blobstore cc resources and cc packages(webdav)
- How to Use USR1 Trap for Diagnostics
- How to Perf: Finding and Fixing Bottlenecks
- How to get access to mysql database
- How To Get a Ruby Heap Dumps & GC Stats from CC
- How to curl v4 internal endpoints with mtls
- How to access Bosh Director console and restore an outdated Cloud Config
- Analyzing Cloud Controller's NGINX logs using the toplogs script
-
k8s
-
Archive