-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions for local kubernetes setup (#1606)
- Loading branch information
Showing
5 changed files
with
176 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Getting Started | ||
|
||
The following instructions will guide you through the process of setting up the Anchor Platform on a local Kubernetes cluster using Minikube. | ||
|
||
```bash | ||
minikube start | ||
|
||
# Install external-secrets | ||
helm repo add external-secrets https://charts.external-secrets.io | ||
helm install external-secrets \ | ||
external-secrets/external-secrets \ | ||
-n external-secrets \ | ||
--create-namespace | ||
|
||
# Install postgres | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm install postgresql-ref bitnami/postgresql --set global.postgresql.auth.postgresPassword=123456789 | ||
helm install postgresql bitnami/postgresql --set global.postgresql.auth.postgresPassword=123456789 | ||
|
||
# Install Kafka | ||
kubectl create secret generic ap-kafka-secrets --from-literal=client-passwords=123456789 --from-literal=controller-password=123456789 --from-literal=inter-broker-password=123456789 --from-literal=system-user-password=123456789 | ||
helm install kafka bitnami/kafka --set sasl.existingSecret=ap-kafka-secrets | ||
|
||
# Install the secret store | ||
helm upgrade --install fake-secret-store ./secret-store/ | ||
|
||
# Build the Anchor Platform image locally | ||
eval $(minikube -p minikube docker-env) | ||
docker build -t anchor-platform:local ../ | ||
|
||
# Install the reference server | ||
helm upgrade --install reference-server ./reference-server/ -f ./reference-server/values.yaml | ||
|
||
# Install the Anchor Platform | ||
helm upgrade --install anchor-platform ./sep-service/ -f ./sep-service/values.yaml | ||
|
||
# Install the ingress controller | ||
helm upgrade --install ingress-nginx ingress-nginx \ | ||
--repo https://kubernetes.github.io/ingress-nginx \ | ||
--namespace ingress-nginx --create-namespace | ||
|
||
# Port forward the ingress controller | ||
kubectl port-forward svc/ingress-nginx-controller 8080:80 -n ingress-nginx | ||
|
||
# Now you can access the Anchor Platform at http://localhost:8080 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters