Skip to content

Config.yaml Location #194

Answered by jthomperoo
vobrien-axway asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @vobrien-axway, yes the location of the config.yaml file can be configured through the environment variable configPath:
https://custom-pod-autoscaler.readthedocs.io/en/latest/reference/configuration/#configpath

You can pass any configuration value as an environment variable:
https://custom-pod-autoscaler.readthedocs.io/en/latest/reference/configuration/#configuration-passed-as-environment-variables-defined-in-deployment-yaml

You provide this in the Custom Pod Autoscaler definition, for example:

apiVersion: custompodautoscaler.com/v1
kind: CustomPodAutoscaler
metadata:
  name: simple-pod-metrics-python
spec:
  template:
    spec:
      containers:
      - name: simple-pod-metrics-python

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vobrien-axway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants