Skip to content
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

[BUG] YurtAppSet: Multiple workloadTweaks interact with each other #2203

Open
shyer opened this issue Nov 23, 2024 · 2 comments
Open

[BUG] YurtAppSet: Multiple workloadTweaks interact with each other #2203

shyer opened this issue Nov 23, 2024 · 2 comments
Labels
kind/bug kind/bug

Comments

@shyer
Copy link

shyer commented Nov 23, 2024

What happened:

    workloadTweaks:
      - pools:
        - f10-inner
        tweaks:
          replicas: 2
      - pools:
        - f10-pub
        tweaks:
          replicas: 3

all deployments.apps replicas change to 3:
image

What you expected to happen:
should not interact with each other

How to reproduce it (as minimally and precisely as possible):

apiVersion: apps.openyurt.io/v1beta1
kind: YurtAppSet
metadata:
  name: appset-whoami
spec:
  revisionHistoryLimit: 5
  pools:
    - f10-pub
    - f10-inner
  workload:
    workloadTemplate:
      deploymentTemplate:
        metadata:
          labels:
            app: appset-whoami
        spec:
          selector:
            matchLabels:
              app: appset-whoami
          template:
            metadata:
              labels:
                app: appset-whoami
            spec:
              tolerations:
              - operator: Exists
              containers:
                - name: whoami
                  image: traefik/whoami:v1.10
                  ports:
                  - containerPort: 80
                    protocol: TCP
    workloadTweaks:
      - pools:
        - f10-inner
        tweaks:
          replicas: 2
      - pools:
        - f10-pub
        tweaks:
          replicas: 3

Anything else we need to know?:

Environment:

  • OpenYurt version:
  • Kubernetes version (use kubectl version):
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

others

/kind bug

@shyer shyer added the kind/bug kind/bug label Nov 23, 2024
@rambohe-ch
Copy link
Member

@vie-serendipity PTAL

@vie-serendipity
Copy link
Member

/assign @vie-serendipity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug kind/bug
Projects
None yet
Development

No branches or pull requests

3 participants