Luc Juggery
1 min readMar 28, 2018

--

Hello Jascha,

well, sorry if I was not that clear.

Having 2 services using a different AWS_ACCESS_KEY_ID is just the matter of defining 2 secrets, one for each key, and to use each one in the corresponding service.

A service is a way to specify how containers need to run, if you define several replicas of the same service each replica will run the same way, meaning they will have access to the same secrets, configs, volumes, networks, …

What is the use case in which you need to use different secret for each replica ?

--

--

Luc Juggery
Luc Juggery

Written by Luc Juggery

Docker & Kubernetes trainer (CKA / CKAD), 中文学生, Learning&Sharing

Responses (1)