Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/metalbear-co/playground
Playground for mirrord - services written in different languages to try out mirrord with
https://github.com/metalbear-co/playground
Last synced: 7 days ago
JSON representation
Playground for mirrord - services written in different languages to try out mirrord with
- Host: GitHub
- URL: https://github.com/metalbear-co/playground
- Owner: metalbear-co
- License: mit
- Created: 2023-03-13T06:41:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-03T14:37:35.000Z (9 days ago)
- Last Synced: 2024-11-03T15:28:01.501Z (9 days ago)
- Language: Go
- Size: 6.85 MB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MetalBear Playground
This repository contains different microservices and Kubernetes manifests to deploy them.
Each microservice has it's own `app.yaml` that should contain all of it's dependencies (besides other microservices).## SQS
To enable SQS:
1. Install mirrord Operator in cluster (with SQS splitting enabled)
2. `aws iam create-user --user-name SQSPlayground`
3. `aws iam create-access-key --user-name SQSPlayground` - save data to file
4. `aws sqs create-queue --queue-name IpCount` - take QueueUrl to be used in deployment.yaml
5. You need to edit `ip-visit-sqs-consumer/policy.json` and set REGION and ACCOUNT_ID
6. `aws iam create-policy --policy-name SQSPlaygroundPolicy --policy-document file://ip-visit-sqs-consumer/policy.json`
7. `aws iam attach-user-policy --policy-arn arn:aws:iam::526936346962:policy/SQSPlaygroundPolicy --user-name SQSPlayground`
8. Set Region in app.yaml in `ip-visit-counter` and `ip-visit-sqs-consumer`## Minikube/Local
```
kubectl apply -k ./base/local
```