-
Notifications
You must be signed in to change notification settings - Fork 727
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Istio install values for e2e testing
- Loading branch information
1 parent
7c6b88d
commit f58de38
Showing
2 changed files
with
129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# | ||
# Minimal Istio Configuration required by Flagger | ||
# | ||
|
||
# pilot configuration | ||
pilot: | ||
enabled: true | ||
sidecar: true | ||
|
||
gateways: | ||
enabled: false | ||
istio-ingressgateway: | ||
autoscaleMax: 1 | ||
|
||
# citadel configuration | ||
security: | ||
enabled: true | ||
|
||
# sidecar-injector webhook configuration | ||
sidecarInjectorWebhook: | ||
enabled: true | ||
|
||
# galley configuration | ||
galley: | ||
enabled: false | ||
|
||
# mixer configuration | ||
mixer: | ||
policy: | ||
enabled: false | ||
replicaCount: 1 | ||
autoscaleEnabled: false | ||
telemetry: | ||
enabled: true | ||
replicaCount: 1 | ||
autoscaleEnabled: false | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
|
||
# addon prometheus configuration | ||
prometheus: | ||
enabled: true | ||
scrapeInterval: 5s | ||
|
||
# addon jaeger tracing configuration | ||
tracing: | ||
enabled: false | ||
|
||
# Common settings. | ||
global: | ||
proxy: | ||
# Resources for the sidecar. | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
limits: | ||
cpu: 2000m | ||
memory: 128Mi | ||
useMCP: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: podinfo | ||
namespace: test | ||
labels: | ||
app: podinfo | ||
spec: | ||
minReadySeconds: 5 | ||
revisionHistoryLimit: 5 | ||
progressDeadlineSeconds: 60 | ||
strategy: | ||
rollingUpdate: | ||
maxUnavailable: 0 | ||
type: RollingUpdate | ||
selector: | ||
matchLabels: | ||
app: podinfo | ||
template: | ||
metadata: | ||
annotations: | ||
prometheus.io/scrape: "true" | ||
labels: | ||
app: podinfo | ||
spec: | ||
containers: | ||
- name: podinfod | ||
image: quay.io/stefanprodan/podinfo:1.4.0 | ||
imagePullPolicy: IfNotPresent | ||
ports: | ||
- containerPort: 9898 | ||
name: http | ||
protocol: TCP | ||
command: | ||
- ./podinfo | ||
- --port=9898 | ||
- --level=info | ||
- --random-delay=false | ||
- --random-error=false | ||
env: | ||
- name: PODINFO_UI_COLOR | ||
value: blue | ||
livenessProbe: | ||
exec: | ||
command: | ||
- podcli | ||
- check | ||
- http | ||
- localhost:9898/healthz | ||
initialDelaySeconds: 5 | ||
timeoutSeconds: 5 | ||
readinessProbe: | ||
exec: | ||
command: | ||
- podcli | ||
- check | ||
- http | ||
- localhost:9898/readyz | ||
initialDelaySeconds: 5 | ||
timeoutSeconds: 5 | ||
resources: | ||
limits: | ||
cpu: 2000m | ||
memory: 512Mi | ||
requests: | ||
cpu: 100m | ||
memory: 64Mi |