πŸš‚Deployments

The page describes how to get starter with deployment of these services

Infra Setup

You can use kind to create a cluster or user docker to enable it.

# Check version (currently using 1.25)
kind version

# Create cluster
kind create cluster

Deployment

# 
.\k8s_destroy.ps1 -env "local" -includeDapr "true"

Setup dapr in kubernetes

dapr init -k

Setup Redis

helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
helm install redis bitnami/redis --set image.tag=6.2

# get dynamically genrated password
kubectl get secret --namespace default redis -o jsonpath="{.data.redis-password}" | base64 -d

# || OR

# if redis/charts folder not there one time activity
kubectl kustomize .\deploy\k8s\infra\base\redis\charts\redis\ --enable-helm

#change the values.yaml passwrord:password@1

helm install redis .\deploy\k8s\infra\base\redis\charts\redis\ 
#redis password for all / dapr components : password@1
#redis url for all / dapr components : redis-master.default.svc.cluster.local:6379

helm uninstall redis



### working with redis :



rdcli -h <host>(localhost) -a  -p 6379

redis-cli -p 6379 

MSET orderId1 "101||1" orderId2 "102||1"

Using the Redis CLIarrow-up-right, connect to the Redis instance:

Create a namespace (evolution)

Setup Secrets

Continuous Delivery

You can deploy and use Argo CD or Flux for Continuous Delivery

Setup Argo CD to deploy.

Setup Project to Run using Argo CD

Setup Flux

Evolution.infra

Manual instalation

Delpoy using Argo cd

Evolution.Identity

Evolution.Uploader

Evolution.Processor


flagger

Last updated