-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflow PodDisruptionBudget support is broken in 3.4.7 #10942
Comments
I could not reproduce this. What's your Kubernetes version? |
AWS EKS 1.22
|
An update, the problem is not reproduced with workflow templates. apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
name: pdb-wft
spec:
podDisruptionBudget:
maxUnavailable: 0
templates:
- name: main
container:
image: docker/whalesay:latest
command: [cowsay]
args: ["test"]
---
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
name: pdb-wf
spec:
entrypoint: main
templates:
- name: main
steps:
- - name: call
templateRef:
name: pdb-wft
template: main |
I could not reproduce it. I even tried creating an existing PDB before submitting the workflow and everything seems to work fine. apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: pdb-wf-1
spec:
minAvailable: 2
---
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
name: pdb-wf-1
spec:
entrypoint: main
podDisruptionBudget:
minAvailable: 9999
templates:
- name: main
container:
image: docker/whalesay:latest
command: [cowsay]
args: ["test"]
|
Thank you for your effort.
Not sure if this can be related. |
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
I submitted a potential fix in #10944. Would you like to try it out? It should be available in an image tag |
Awesome! |
Great to hear! |
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
argoproj#10944) Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
argoproj#10944) Signed-off-by: Yuan Tang <terrytangyuan@gmail.com> Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
Pre-requisites
:latest
What happened/what you expected to happen?
Looks like "podDisruptionBudget" support has been broken in Argo Workflows (tested in version 3.4.7)
Steps to reproduce (using the workflow definition listed below)
Version
v3.4.7
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: