UNCLASSIFIED - NO CUI

Skip to content

feat: allow for scaling Authservice

runyontr requested to merge feat-scaling-authservice into master

blocked by !125 (closed)

/blocked !125 (closed)

/assign @ryan.j.garcia

Tested via:

Install bitnami Redis chart:

https://github.com/bitnami/charts/tree/master/bitnami/redis

❯ helm upgrade -i my-release bitnami/redis --set usePassword=false                                                                                  
Release "my-release" has been upgraded. Happy Helming!
NAME: my-release
LAST DEPLOYED: Tue Jan 19 07:02:41 2021
NAMESPACE: default
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
** Please be patient while the chart is being deployed **
Redis can be accessed via port 6379 on the following DNS names from within your cluster:

my-release-redis-master.default.svc.cluster.local for read/write operations
my-release-redis-slave.default.svc.cluster.local for read-only operations



To connect to your Redis(TM) server:

1. Run a Redis(TM) pod that you can use as a client:
   kubectl run --namespace default my-release-redis-client --rm --tty -i --restart='Never' \
   
   --image docker.io/bitnami/redis:6.0.10-debian-10-r1 -- bash

2. Connect using the Redis(TM) CLI:
   redis-cli -h my-release-redis-master
   redis-cli -h my-release-redis-slave

To connect to your database from outside the cluster execute the following commands:

    kubectl port-forward --namespace default svc/my-release-redis-master 6379:6379 &
    redis-cli -h 127.0.0.1 -p 6379
addons:
  authservice:
    values:
      replicaCount: 3
      global:
        redis_server_uri: tcp://my-release-redis-master.default.svc:6379

Merge request reports