Wikifunctions/Runbook
Jump to navigation
Jump to search
This page serves as a set of runbooks for the Wikifunctions services.
What services?
function-orchestrator
, a service to co-ordinate function requests.function-evaluator
, a service to execute user-written code.
How to deploy a change
This section is currently a draft. Material may not yet be complete, information may presently be omitted, and certain parts of the content may be subject to radical, rapid alteration. More information pertaining to this may be available on the talk page. |
- Main article: Kubernetes/Deployments
Deploying a function-orchestrator change
- Create and merge change into the deployment-charts repo for the
function-orchestrator
service. - Log in to a deployment server and go to
/srv/deployment-charts/helmfile.d/services/function-orchestrator
(wait for the every-60-seconds cron to update the/srv/deployment-charts
directory with the contents from git if needed). - Execute
helmfile -e staging -i apply
, which will test the patch in staging (see the k8s clusters docs) - If successful,
helmfile -e wikikube -i apply
for actual production traffic.
Deploying a function-evaluator change
- Create and merge change into the deployment-charts repo for the
function-evaluator
service. - Log in to a deployment server and go to
/srv/deployment-charts/helmfile.d/services/function-evaluator
(wait for the every-60-seconds cron to update the/srv/deployment-charts
directory with the contents from git if needed). - Execute
helmfile -e staging -i apply
, which will test the patch in staging (see the k8s clusters docs) - If successful,
helmfile -e wikikube -i apply
for actual production traffic.
How to monitor usage
This section is currently a draft. Material may not yet be complete, information may presently be omitted, and certain parts of the content may be subject to radical, rapid alteration. More information pertaining to this may be available on the talk page. |
How to debug an issue
This section is currently a draft. Material may not yet be complete, information may presently be omitted, and certain parts of the content may be subject to radical, rapid alteration. More information pertaining to this may be available on the talk page. |