Skip to content

Instantly share code, notes, and snippets.

@christian-posta
Created May 10, 2017 14:12
Show Gist options
  • Save christian-posta/d6192ada85ed65a8a99047e38f2779e0 to your computer and use it in GitHub Desktop.
Save christian-posta/d6192ada85ed65a8a99047e38f2779e0 to your computer and use it in GitHub Desktop.
patch upstream istio.yaml to use snapshots for the zipkin stuff
diff --git a/install/kubernetes/istio.yaml b/install/kubernetes/istio.yaml
index af821aa..9602e75 100644
--- a/install/kubernetes/istio.yaml
+++ b/install/kubernetes/istio.yaml
@@ -57,6 +57,7 @@ data:
mixerAddress: istio-mixer:9091
discoveryAddress: istio-manager:8080
ingressService: istio-ingress
+ zipkinAddress: zipkin:9411
---
apiVersion: v1
kind: Service
@@ -94,7 +95,7 @@ spec:
serviceAccountName: istio-manager-service-account
containers:
- name: discovery
- image: docker.io/istio/manager:0.1.0
+ image: docker.io/ijsnellf/manager:zipkin
imagePullPolicy: Always
args: ["discovery", "-v", "2"]
ports:
@@ -106,7 +107,7 @@ spec:
apiVersion: v1
fieldPath: metadata.namespace
- name: apiserver
- image: docker.io/istio/manager:0.1.0
+ image: docker.io/ijsnellf/manager:zipkin
imagePullPolicy: Always
args: ["apiserver", "-v", "2"]
ports:
@@ -128,10 +129,10 @@ metadata:
labels:
istio: ingress
spec:
- type: LoadBalancer
+ type: NodePort
ports:
- port: 80
-# nodePort: 32000
+ nodePort: 32000
name: http
selector:
istio: ingress
@@ -157,7 +158,7 @@ spec:
serviceAccountName: istio-ingress-service-account
containers:
- name: istio-ingress
- image: docker.io/istio/proxy_debug:0.1.0
+ image: docker.io/ijsnellf/proxy:zipkin
args: ["proxy", "ingress", "-v", "2"]
imagePullPolicy: Always
ports:
@@ -196,7 +197,7 @@ spec:
spec:
containers:
- name: proxy
- image: docker.io/istio/proxy_debug:0.1.0
+ image: docker.io/ijsnellf/proxy:zipkin
imagePullPolicy: Always
args: ["proxy", "egress", "-v", "2"]
env:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment