-
Notifications
You must be signed in to change notification settings - Fork 361
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:
beeblebrox
example.com
foo.bar.baz.somewhere.over.the.rainbow.capi.land
- (literally empty)
- Invalid examples:
.fun
dope.
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_duh
Production-cluster
billing.system.1234.foo
- Invalid examples:
1Direction
yoooooooooooooooooooooooooooooooooooooooooooThisIsLikeTooLongBrah
Datacenter-US-1
Something~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-version
state.county.wa.king
- Invalid examples:
98Degrees
heyyoooooooooooooooooooooooooooooooooooooooooooWayTooLongMadame
Lets.count.to.10
Legend~~Of&&The##Forbidden@@Characters
Each label_selector
consists of one or more requirement
s, 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