Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Login to the user interface here: https://cloud-manager.cloud2-stg.rezfusion.com/

Info

The Cloud Deployment Manager is a GoLang application built to manage the Kubernetes and site states within the context of our Cloud platform. A VPN connection is required to interface with the deployment manager.

Resources:

A collection of examples Postman requests to get started is below:

View file
nameCloud Deployment Manager.postman_collection.json

Live/shared Postman environment: https://app.getpostman.com/join-team?invite_code=f051d21c83e9cb1be231988b5439e158&target_code=a2b51a0b8996192acd17798d454cb1c7

Application Flow:

...

Canary Endpoints:

Code Block
languagego
const (
	BlueService          SelectorName = "blue"
	GreenService         SelectorName = "green"
	InitialCanaryService SelectorName = "blue"
)

...

  • Install - runs wp core install... against the actively provisioning site.

  • ActivateTheme - runs wp theme install --activate {theme-name} against the actively provisioning site.

  • Ingress - adds an Ingress hosts entry for the given site.

  • FlushCaches - runs wp cache flush against the given site.

  • PatchIngress - updates an Ingress host entry for a given site. This will point the given site’s ingress handler to the active canary service. Usually used within the context of a promotion.

  • PatchService - patches a site’s service value within the sites repository to reflect the active Canary service the site was moved to.

...