search
LoginSignup
1
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

posted at

k8s環境変数 envとenvFromの上書き優先度

常にenvが優先

一年に一回くらい忘れて調べてるからいい加減メモっておく

List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.

  • Values defined by an Env with a duplicate key will take precedence.
  • Values defined by an Env with a duplicate key will take precedence.
  • Values defined by an Env with a duplicate key will take precedence.

そもそもkey被らせるのやめろ

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
1
Help us understand the problem. What are the problem?