Merge pull request #1847 from sosan/feature-1631-add-hpa

Feature 1635 - added labels to generate HPA
This commit is contained in:
Kubernetes Prow Robot
2024-04-19 05:24:52 -07:00
committed by GitHub
8 changed files with 1565 additions and 3 deletions
+8
View File
@@ -93,6 +93,14 @@ const (
LabelInitContainerImage = "kompose.init.containers.image"
// LabelInitContainerCommand defines commands
LabelInitContainerCommand = "kompose.init.containers.command"
// LabelHpaMinReplicas defines min pod replicas
LabelHpaMinReplicas = "kompose.hpa.replicas.min"
// LabelHpaMaxReplicas defines max pod replicas
LabelHpaMaxReplicas = "kompose.hpa.replicas.max"
// LabelHpaCpu defines scaling decisions based on CPU utilization
LabelHpaCPU = "kompose.hpa.cpu"
// LabelHpaMemory defines scaling decisions based on memory utilization
LabelHpaMemory = "kompose.hpa.memory"
)
// load environment variables from compose file