Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 973 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 973 Bytes

Prerequisites

A k8s kubernetes cluster using k3s is needed to be setup first. To setup a k8s cluster follow the guide here.

Running

Run ./start-k8s <env> to run the beebop in k8s. You will need your github access token, as vault access is needed for secrets.

Updating deployment

To make updates to update specific deployment. i.e when new code has been deployed and new image is created. Run the following kubectl rollout restart deployment <depl_name>. replace <depl_name> with deployment you want to replace.

To scale deployment run kubectl scale deployment/<depl_name> --replicas=<num_replicas>. replace <depl_name> with deployment name and <num_replicas> with number of replicas you want to scale to.

To check all deployments run kubectl get deploy -n beebop.

Teardown

Run ./teardown-k8s <env>. replace with current running env