Skip to content

Commit

Permalink
Add GKE Istio Gateway and Prometheus definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Feb 2, 2019
1 parent 59751dd commit e8a9555
Show file tree
Hide file tree
Showing 5 changed files with 474 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
.DS_Store

artifacts/gcloud/
2 changes: 1 addition & 1 deletion artifacts/canaries/canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- public-gateway.istio-system.svc.cluster.local
# Istio virtual service host names (optional)
hosts:
- app.iowa.weavedx.com
- app.istio.weavedx.com
canaryAnalysis:
# schedule interval (default 60s)
interval: 10s
Expand Down
2 changes: 1 addition & 1 deletion artifacts/canaries/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: podinfod
image: quay.io/stefanprodan/podinfo:1.3.0
image: quay.io/stefanprodan/podinfo:1.4.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898
Expand Down
27 changes: 27 additions & 0 deletions artifacts/gke/istio-gateway.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: public-gateway
namespace: istio-system
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "*"
tls:
httpsRedirect: true
- port:
number: 443
name: https
protocol: HTTPS
hosts:
- "*"
tls:
mode: SIMPLE
privateKey: /etc/istio/ingressgateway-certs/tls.key
serverCertificate: /etc/istio/ingressgateway-certs/tls.crt
Loading

0 comments on commit e8a9555

Please sign in to comment.