Skip to content

Commit

Permalink
Merge pull request #105 from davecheney/sni-deployment
Browse files Browse the repository at this point in the history
deployment: update grpc manifest for sni
  • Loading branch information
davecheney authored Dec 15, 2017
2 parents 3f433e5 + 12d8b6c commit c56c9a6
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
5 changes: 5 additions & 0 deletions deployment/deployment-grpc-v2/02-contour.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ spec:
ports:
- containerPort: 8080
name: http
- containerPort: 8443
name: https
command: ["envoy"]
args: ["-c", "/config/contour.yaml", "--service-cluster", "cluster0", "--service-node", "node0", "-l", "info"]
volumeMounts:
Expand All @@ -31,6 +33,9 @@ spec:
name: contour
command: ["contour"]
args: ["serve", "--incluster"]
volumeMounts:
- name: contour-config
mountPath: /config
initContainers:
- image: gcr.io/heptio-images/contour:master
imagePullPolicy: Always
Expand Down
1 change: 0 additions & 1 deletion deployment/deployment-grpc-v2/02-service.yaml

This file was deleted.

25 changes: 25 additions & 0 deletions deployment/deployment-grpc-v2/03-service-tcp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: v1
kind: Service
metadata:
name: contour
namespace: heptio-contour
annotations:
# This annotation puts the AWS ELB into "TCP" mode so that it does not
# to http negotiation at the ELB edge. This means the remote address of
# all connectinos will appear to be the internal address of the ELB.
# See https://github.com/heptio/contour/issues/103
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
spec:
ports:
- port: 80
name: http
protocol: TCP
targetPort: 8080
- port: 443
name: https
protocol: TCP
targetPort: 8443
selector:
app: contour
type: LoadBalancer
---

0 comments on commit c56c9a6

Please sign in to comment.