-
Notifications
You must be signed in to change notification settings - Fork 192
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
[QUESTION] apiops strategies for multiple teams and repos, scaling ? #401
Comments
|
It's up to you to decide how you wanna structure your repositories. Apiops will be more than happy to extract your artifacts into the repository of your choice. Having said that we had a recommend that you take a look at work Spaces in the future please keep in mind that we have an updated APIops to support workspaces yet and we don't have a timeline for now. Also as the documentation discusses, you can always use Gore to ensure that certain artifacts are not extracted into specific repositories that you specify. Also, remember that we do provide you with the ability to utilize the configuration, extractor file where you can specify specific artifacts that you can extract them into specific repose. Referred to the wiki for more details around that. |
one question here as I could not find a way to create brand new questions. Sorry for that, I am very new to these procedures. Generally speaking, how could we support a scenario in which in dev 2 apis (api-1, api-2) were updated but only 1 (api-1) needs to be promoted? I thought by using the config extract. Now, my prod apim is already in place and tracked in the git repository. When I look to PR-A this is proposing to delete all the other Apis (which are missing in the branch created by the run - extract pipeline) and update api-1. If I understand this correctly, this will give me in the end a prod apim with api-1 updated and all the other ones deleted. |
Hi @sa-pietronegri: The extractor pipeline does a few things:
The PR step ensures that your Git repo is in sync with your APIM instance, adding or deleting resources as needed. That's not what you want though; you're only interested in selecting specific changes. I would:
Hope this helps. |
Hi @guythetechie, |
hi @guythetechie I was trying to publish 3 named values with the approach you mentioned. but the 3 named values files are in the last commit... they are 3 KV values with overriding in the config.prod.yaml What could be gone wrong here? thanks in advance Ps. Afterwards I tried with an akv secret with no overriding, but I got the same kind of error |
that was happening because I named the folder wrongly ("aritfacts" rather then "artifacts") -.- |
@anish2808 workspaces will be the feature to look forward to once we implement it in apiops. |
@waelkdouh - What is the recommended approach until Workspaces becomes GA? Taking a mono-repo approach where multiple teams work on the same repo becomes complicated quickly. And it has to be a manual process of extracting artifacts and publishing them to other environments through pipelines. A video walkthrough would be beneficial for us where you showcase a recommended procedure of supporting multiple teams currently. |
We don't know what the final shape of workspaces will be so I can't speak to that yet. In the meantime, you can check out this discussion. |
Hi @guythetechie , @waelkdouh I am facing the same issue and your proposed solution did not help me. Here is my scenario.
I tried I don't need to run the extractor pipeline here as the metadata is already present in the main branch. |
Hi @waelkdouh I thought of using the same thread since it is open instead of creating a new question on the workspaces. Is there any additional update on the workspace support availability? I agree with others, in an environment with 10's of APIs it's becoming challenging to deal with moving changes to high environments, where we want to push changes for some apis and not all as part of commit-based push. Can you guys please advise what is the viable solution for now? Thank you and we appreaciate you guys. |
We are currently in the process of adding support for workspaces in apiops. Please keep in mind that workspaces feature itself is still public preview so we are usually careful with rushing implementation for public preview features as they are subject to certain limitations and changes. So please stay tuned. |
REPOS & MULTIPLE TEAMS
Since apiops relies on gitops. what would be a good strategy to be applied to a business that has more than 100 teams each with several apis each and 4 environments ?.
My thought process would be something like this:
I found something in the apiops docs but is kinda not clear.
does this mean the recommendation is to have option 3 but instead of extracting it into the main repo ( the one operators control) it will actually be extracted to the other teams repo ?... kinda confused there
The text was updated successfully, but these errors were encountered: