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

ArgoCD out of sync #2287

Closed
aqeelat opened this issue Aug 22, 2024 · 8 comments
Closed

ArgoCD out of sync #2287

aqeelat opened this issue Aug 22, 2024 · 8 comments

Comments

@aqeelat
Copy link

aqeelat commented Aug 22, 2024

In argocd, the tenant chart is always out of sync because a CiliumIdentity is created but is not owned by the CRD.

Screenshot 2024-08-22 at 3 46 42 PM

p.s. I don't know what CiliumIdentity is.

Your Environment

  • Version used (minio-operator): 6.0.2
  • Environment name and version (e.g. kubernetes v1.17.2): v1.29.6-gke.1254000
  • Server type and version:
  • Operating System and version (uname -a):
  • Link to your deployment file:
@ramondeklein
Copy link
Contributor

CiliumIdentity is not something that MinIO creates, so we can't do anything about it.

@aqeelat
Copy link
Author

aqeelat commented Aug 23, 2024

@ramondeklein I think this is related to how the operator works. I have many other operator based deployments but their CiliumIdentity does not have the argocd label.

Please reopen the ticket.

@aqeelat
Copy link
Author

aqeelat commented Aug 23, 2024

Apparently the issue is not that the object is created but that it inherited the argocd label.

My assumption is that when the operator was creating the pool and other resources, it selected using all labels (not just the app label).

@ramondeklein
Copy link
Contributor

We don't use ArgoCD and/or Cilium, so there is not a lot that we can do.

@aqeelat
Copy link
Author

aqeelat commented Aug 23, 2024

I can provide any debugging/logs you need

@ramondeklein
Copy link
Contributor

We don't know this software, so we can't provide support for it. You could try the following:

  • Scale the operator to 0 replicas (this avoids that the operator will update the statefulset, secrets, ...).
  • Update the various MinIO resources (labels, annotations, ...) so it is compatible with your tooling.

If you know what needs to be changed, then feel free to submit a PR.

@aqeelat
Copy link
Author

aqeelat commented Aug 23, 2024

Is there a place where I can interact with minio community members? Hopefully someone who's familiar with CNI can help.

Also, can you explain how the operator identifies the tenants and how it creates the resources for them? Does it use the labels attached to the CR, or just the CR name?

@ramondeklein
Copy link
Contributor

You can try our public Slack channel https://minio.slack.com.

The operator scans the namespaces for Tenant objects. When this object changes, then it will ensure that it will create/update/delete the required statefulset, secrets, configmaps, ... This is more or less the same how Kubernetes works as well. Kubernetes monitors the statefulset and creates the required pods, pvcs, ...

For the exact details on how the operator works, you can also check https://github.com/minio/operator. It's all open-source.

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

No branches or pull requests

2 participants