Skip to content

Apply changes

Description

We use argocd to apply infrastructure changes using our continuous delivery process. Our infrastructure is configured using a project that describes all components that make 1doc3 online to our clients. Just a simple commit execute all the changes like deployment configurations, environment variables, new docker images versions (deployment of pods versions). At the same time, if we want to remove any configuration we just remove those from the repository y let the magic do its work.
“Gitops” make our work easy but there are a few considerations:
Create or update configurations adds new resources or modifies the old ones
Delete configurations need a prune synchronization that finally deletes the old configuration
In staging stage, the changes will be applied at soon the change is detected
In production stage, the changes may needs to be applied manually
In production stage, the changes will be applied automatically every working day at 2am
Those considerations can be modified on argocd project using kubectl (modifying some configurations) or the
interface.

Requirements

If you want to use the argocd user interface you need a github user that is part of the team 1doc3 developers to get read only access or senior to have write access.

Procedure

Singin on the web interface:
On applications page select the stage you want to apply the changes
Click on the Sync button on the top menu
(optional) If you want to delete old configurations select prune option
Finally use the Synchronize button to apply the changes
image.png

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.