George Gaál
George Gaál
/remove-lifecycle stale
/remove-lifecycle stale
@AndrewChubatiuk there is a difference between CRD and CR. So let's don't confuse them. CRD - is like an api extension. It's ok if they won't be deleted. As user...
BTW, on my production I effectively fix this issue just by installing not k8s stack chart with all options enabled, but rather installing three charts: - operator - grafana -...
I think postStop hook and terminationGracePeriodSeconds could help. If we'd add them to operator pods, then it won't be deleted instantly and would have some chance to collect CRs. Unfortunately...
I again faced issues with the removal. I am stupid guy. ``` monitoring-system vmagent-victoria-metrics-k8s-stack-7bcf958cc-g6xrb 2/2 Running 0 2d20h monitoring-system vmalert-victoria-metrics-k8s-stack-5878997d95-drqw7 2/2 Running 0 2d20h monitoring-system vmalertmanager-victoria-metrics-k8s-stack-0 2/2 Running 0 7d2h...
Some more clues. I can't create a default security group from code directly. It won't work as controller throws error: ``` 2023-09-14T07:50:02.695Z ERROR Reconciler error {"controller": "securitygroup", "controllerGroup": "ec2.services.k8s.aws", "controllerKind":...
O.K. so I can retrieve the security group name from Amazon Console and substitute it in YAML: ```yaml apiVersion: services.k8s.aws/v1alpha1 kind: AdoptedResource metadata: name: default-security-group namespace: infra-dev spec: aws: nameOrID:...
@a-hilaly Hi! The same: ```yaml spec: aws: nameOrID: sg-0e87e0dd9f6d43f31 kubernetes: group: ec2.services.k8s.aws kind: SecurityGroup metadata: name: default-2 namespace: infra-dev status: conditions: - message: >- SecurityGroup.ec2.services.k8s.aws "default-2" is invalid: spec.name: Required...
/remove-lifecycle stale