Metadata Specification¶
The metadata section contains information about your application including identification, classification, and organizational details.
Structure¶
Required Fields¶
name¶
- Type:
string
- Description: Unique application identifier
- Constraints: DNS-1123 compliant, lowercase, alphanumeric with hyphens
- Example:
"web-server-prod"
Optional Fields¶
labels¶
- Type:
array
- Description: Classification and organization labels
- Format:
"key:value"
strings - Example:
["environment:production", "team:backend"]
Best Practices¶
- Use descriptive names that indicate purpose
- Include environment in labels for organization
- Add team/ownership information
- Use consistent labeling conventions
Examples¶
Production Application¶
metadata:
name: "web-server-prod"
labels:
- "environment:production"
- "team:platform"
- "tier:web"
- "backup:daily"