Skip to content

controller: make extProc imagePullPolicy configurable#729

Merged
mathetake merged 3 commits intoenvoyproxy:mainfrom
isyangban:add-ext-proc-image-pull-policy
Jun 20, 2025
Merged

controller: make extProc imagePullPolicy configurable#729
mathetake merged 3 commits intoenvoyproxy:mainfrom
isyangban:add-ext-proc-image-pull-policy

Conversation

@isyangban
Copy link
Copy Markdown
Contributor

@isyangban isyangban commented Jun 19, 2025

Commit Message

Allows operators to set the imagePullPolicy for the external processor, just like the existing controller setting (controller.image.pullPolicy).

Related Issues/PRs (if applicable)

Special notes for reviewers (if applicable)

I'm not sure if I have to consider this pr: #699

@isyangban isyangban requested a review from a team as a code owner June 19, 2025 12:20
Signed-off-by: Jeong Woon Choi <choijeongwoon@gmail.com>
@isyangban isyangban force-pushed the add-ext-proc-image-pull-policy branch from 23818eb to af54797 Compare June 19, 2025 12:23

extProc:
repository: docker.io/envoyproxy/ai-gateway-extproc
pullPolicy: IfNotPresent
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pullPolicy: IfNotPresent
imagePullPolicy: IfNotPresent

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the names. Nevertheless there is a little inconsistency between controller image settings and extProc image settings.

  # -- Deployment configs --
  image:
    repository: docker.io/envoyproxy/ai-gateway-controller
    pullPolicy: IfNotPresent
    # Overrides the image tag whose default is the chart appVersion.
    tag: ""

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh that's what i didn't notice. could you go ahead the controller one as well? I would prefer imagePullPolicy

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I have 2 options

extProc:
  image:
    repository: docker.io/envoyproxy/ai-gateway-extproc
    # Overrides the image tag whose default is the chart appVersion.
    tag: ""
  imagePullPolicy: IfNotPresent

controller:
  # .......
  image:
    repository: docker.io/envoyproxy/ai-gateway-controller
    # Overrides the image tag whose default is the chart appVersion.
    tag: ""
  imagePullPolicy: IfNotPresent

or

extProc:
  repository: docker.io/envoyproxy/ai-gateway-extproc
  # Overrides the image tag whose default is the chart appVersion.
  tag: ""
  imagePullPolicy: IfNotPresent

controller:
  # .......
  image:
    repository: docker.io/envoyproxy/ai-gateway-controller
    # Overrides the image tag whose default is the chart appVersion.
    tag: ""
    imagePullPolicy: IfNotPresent

I think both are valid. No preference. So maybe your opinions on this?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's do the former

Signed-off-by: Jeong Woon Choi <choijeongwoon@gmail.com>
Signed-off-by: Jeong Woon Choi <choijeongwoon@gmail.com>
Copy link
Copy Markdown
Member

@mathetake mathetake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

@mathetake mathetake merged commit 5590c12 into envoyproxy:main Jun 20, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants