Skip to content

Commit

Permalink
Env variables are added becasue of Service name
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Feb 14, 2024
1 parent 68045ea commit ee8b245
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/pages/faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ This section of the documentation will cover common questions and encounters oft
✖ Unknown arguments: servicePort, servicePortEthConsensusP2p,
port9000Tcp, port9000TcpPort, port9000TcpProto, port9000TcpAddr, serviceHost
```
The additional arguments are present because Kubernetes automatically creates environment
variables based on the name (`metadata.name`) defined in the `StatefulSet` or `Deployment`.
The extra arguments are present because Kubernetes automatically
[adds environment variables](https://kubernetes.io/docs/concepts/services-networking/service/#environment-variables)
to the Pod based on the name (`metadata.name`) defined in the associated `Service`.
To resolve the issue, this name has to be changed to something that does not start with `lodestar`.

Reference Issue: [#6045](https://github.com/ChainSafe/lodestar/issues/6045)
Expand Down

0 comments on commit ee8b245

Please sign in to comment.