An open API service indexing awesome lists of open source software.

https://github.com/bob-cd/bob-deploy

Deploying Bob on various plaforms
https://github.com/bob-cd/bob-deploy

ci-cd docker hacktoberfest kubernetes

Last synced: about 1 year ago
JSON representation

Deploying Bob on various plaforms

Awesome Lists containing this project

README

          

## Deploying Bob

This gathers reference deployments for [Bob](https://bob-cd.github.io/) on various platforms. The cluster is configured as follows with a single replica setup of:
- [PostgreSQL](https://www.postgresql.org/)
- [RabbitMQ](https://www.rabbitmq.com/)
- [apiserver](https://github.com/bob-cd/bob/tree/main/apiserver)
- [runner](https://github.com/bob-cd/bob/tree/main/runner)
- [resource-git](https://github.com/bob-cd/resource-git)
- [artifact-store](https://github.com/bob-cd/artifact-local)

**Note: There are no resource limits configured and all defaults used. This is intended to be a reference for actual deployments.**

### [Kubernetes](https://kubernetes.io/)

#### Requirements
- Kubernetes 1.20+
- [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/)

#### Deploying

From the root of the dir:
- Run `kubectl apply -f k8s/` to create all the necessary services.
- Run `kubectl port-forward service/bob-apiserver 7777:7777` to forward the `7777` port on the local machine and should be available on it.
- To clean up, run:
- `kubectl delete -f k8s/`
- `kubectl delete pvc --all`

### [Docker](https://www.docker.com/) or [Podman](https://podman.io/)

#### Requirements
- [Podman](https://podman.io/getting-started/installation) 4+ or [Rootless Docker](https://docs.docker.com/engine/security/rootless/) 20.10+
- [podman-compose](https://github.com/containers/podman-compose) or [docker compose](https://docs.docker.com/compose/install/#install-compose)

#### Deploying

From the root of the project:
- Run `podman-compose up` or `docker-compose up` to create all the necessary services.
- A little while later ...
- The service should be available on port `7777`.

## License

Copyright © 2022 Bob authors.

Distributed under the MIT License. See LICENSE.