Skip to content

Commit

Permalink
Scale out and docs improvements (pomerium#24)
Browse files Browse the repository at this point in the history
- Switch to a headless Authorize service to support client side
   load balancing
- Allow independent replicaCount scaling of the different services
- Add upgrading/changelog documentation and ToC

Signed-off-by: Travis Groth <[email protected]>
  • Loading branch information
travisgroth authored Sep 11, 2019
1 parent d73d32b commit 38ff489
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 46 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: pomerium
version: 1.3.2
version: 2.0.0
appVersion: 0.3.0
home: http://www.pomerium.io/
icon: https://www.pomerium.io/logo.svg
Expand Down
114 changes: 72 additions & 42 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/authenticate-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metadata:
{{ toYaml .Values.annotations | indent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: {{ default .Values.replicaCount .Values.authenticate.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ template "pomerium.authenticate.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion templates/authorize-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metadata:
{{ toYaml .Values.annotations | indent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: {{ default .Values.replicaCount .Values.authorize.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ template "pomerium.authorize.name" . }}
Expand Down
1 change: 1 addition & 0 deletions templates/authorize-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ metadata:
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
spec:
clusterIP: None
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.externalPort }}
Expand Down
2 changes: 1 addition & 1 deletion templates/proxy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metadata:
{{ toYaml .Values.annotations | indent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: {{ default .Values.replicaCount .Values.proxy.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ template "pomerium.proxy.name" . }}
Expand Down
5 changes: 5 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ authenticate:
key: ""
defaultSANList: []
defaultIPList: []
# replicaCount: 1


authorize:
# fullnameOverride: authorize
Expand All @@ -39,6 +41,8 @@ authorize:
key: ""
defaultSANList: []
defaultIPList: []
# replicaCount: 1


proxy:
# fullnameOverride: proxy
Expand All @@ -48,6 +52,7 @@ proxy:
key: ""
defaultSANList: []
defaultIPList: []
# replicaCount: 1
authenticateServiceUrl: ""
authorizeServiceUrl: ""
authorizeInternalUrl: ""
Expand Down

0 comments on commit 38ff489

Please sign in to comment.