You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For instance. I have a set of resources described in gitops repo like VPC, subnets etc. Then there may be two cases:
the control cluster with all manifests and ack controllers instances was lost. I want to create a new one, connect it to gitops repo and I am expecting that all resources will be synced. Unfortunately, all controllers will give the error, that the resources already exists.
I have already precreated environment and I want to move all resources to gitops repo.
If automatically adopting is not desired, it could be good idea to agree that it's behaviour can be changed by some kind of annotation like:
# if it is already created - it won't be adoptedapiVersion: ec2.services.k8s.aws/v1alpha1kind: VPCmetadata:
name: productionnamespace: infra-productionspec:
cidrBlocks:
- 10.3.0.0/16enableDNSSupport: trueenableDNSHostnames: truetags:
- key: Namevalue: production
# if it is already created - it will be adopted, the controller will populate status field from the Amazon account# and all further changes will be controlled in gitops wayapiVersion: ec2.services.k8s.aws/v1alpha1kind: VPCmetadata:
annotations:
services.k8s.aws/adoption: truename: productionnamespace: infra-production
...
The text was updated successfully, but these errors were encountered:
We have a few existing issue regarding adoption mechanisms. It seems like you are in favour of using an annotation, here is the issue tracking that one - #1381
Yes. I have a preexisting amazon account with some resources like vpc. I want to make controllers reconciling this resource i.e. adopting it. Right now it is possible only with https://aws-controllers-k8s.github.io/community/docs/user-docs/adopted-resource/ procedure. And I don't like it.
For instance. I have a set of resources described in gitops repo like VPC, subnets etc. Then there may be two cases:
If automatically adopting is not desired, it could be good idea to agree that it's behaviour can be changed by some kind of annotation like:
The text was updated successfully, but these errors were encountered: