Humanitec Documentation
Website
Status
Login in
Get started
Search…
Introduction
Welcome
How does Humanitec integrate?
What happens if you hit "Deploy"?
Getting Started
Technical Requirements
Create Sample App
Connect own Infrastructure
Work with Sample App
Migrate own App
Guides
Tutorials
Connect CI Setup
Orchestrate Infrastructure
Manage Users & Permissions
Using Humanitec
Work with Apps
Work with Environments
Work with Workloads
Integrations
Resource Types
Resource Drivers
Create own Resource Driver
Reference
Concepts
User Interface (UI)
Command Line Interface (CLI)
Workload Profiles
Profiles
Features
annotations
containers
ingress
labels
replicas
schedules
service-account
service
volumes
Platform API
Troubleshooting
Support Channels
Powered By
GitBook
volumes
Reference for humanitec/volumes Workload Profile Feature
The volumes feature defines volumes that are not provisioned via the Humanitec resources system for example
emptyDir
.
Description
The top level of the
volumes
feature is a map of volumes. The Keys must be valid Humanitec IDs.
The volume object has the following properties:
Property
Type
Description
source
Object
This must follow the
Kubernetes Volume Type
source schema depending on the type specified in
type
.
type
String
A valid
Kubernetes Volume Type
.
Example
This example shows an emptyDir with a 1GB size limit.
1
{
2
"common-dir": {
3
"source": {
4
"sizeLimit": "1024Mi"
5
},
6
"type": "emptyDir"
7
}
8
}
Copied!
Previous
service
Next
Platform API
Last modified
5mo ago
Copy link
Contents
Description
Example