Is it possible to override config for a rollout experiment using specRef? #4409
-
|
I have a rollout that references an existing deployment ( ---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
spec:
. . .
workloadRef:
apiVersion: apps/v1
kind: Deployment
name: my-deployment
strategy:
canary:
steps:
- experiment:
duration: 5m
templates:
- name: preview
replicas: 1
specRef: canary
# is it possible to do something like this? (fails as-written)
spec:
containers:
- name: primary
envFrom:
- configMapRef:
name: config-for-experiment-only
analyses:
. . .I did find Analysis Template Arguments, but I believe this isn't quite right, as it only provides the arguments to the analysis run, not the experiment pod itself, correct? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Could you explain a bit what is the business case here and what you are trying to achieve please? |
Beta Was this translation helpful? Give feedback.
Example 1 where canary pods connect to different queue
Example 2 where canary pods connect to different service