Skip to content

Commit

Permalink
Merge pull request #1535 from mapellidario/20240809_crabserver
Browse files Browse the repository at this point in the history
crabserver helm - improve README
  • Loading branch information
arooshap authored Aug 12, 2024
2 parents df42e89 + c349639 commit 0a35415
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions helm/crabserver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,12 @@ for some context.
We like to use helm for templating, using the helm charts to generate the
manifest file, then applying it with `kubectl apply`.

We therefore ask cmsweb operators to deploy crab with the following procedure:
We therefore ask cmsweb operators to deploy crab following the procedure at
[1].

Generate the manifest with

```bash
# testbed
helm template crabserver . -f values.yaml -f values-testbed.yaml > ../../kubernetes/cmsweb/services/crabserver.yaml

# prod
helm template crabserver . -f values.yaml -f values-prod.yaml > ../../kubernetes/cmsweb/services/crabserver.yaml
```

Then to deploy it with the usual `deploy-srv.sh` script
Changes to `../../kubernetes/cmsweb/services/crabserver.yaml` should not be committed.

```bash
# testbed
./scripts/deploy-srv.sh crabserver v3.231006 preprod
---

# prod
./scripts/deploy-srv.sh crabserver v3.231006 prod
```
[1] https://cmscrab.docs.cern.ch/technical/crab-rest/deploy.html#deploy-on-kubernetes-use-helm-template-to-generate-manifest-preferred

Changes to `../../kubernetes/cmsweb/services/crabserver.yaml` should not be committed.

0 comments on commit 0a35415

Please sign in to comment.