Skip to content

Instantly share code, notes, and snippets.

@chaspy chaspy/bookinfo.diff Secret
Created Dec 18, 2018

Embed
What would you like to do?
takembp:try-istio (gke_try-istio_asia-northeast1-a_istio-on-gke/) $ diff bookinfo.yaml bookinfo.yaml.istio ?[HEAD]
--- bookinfo.yaml 2018-12-18 09:18:37.000000000 +0900
+++ bookinfo.yaml.istio 2018-12-18 09:18:43.000000000 +0900
@@ -31,21 +31,121 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
+ creationTimestamp: null
name: details-v1
spec:
replicas: 1
+ strategy: {}
template:
metadata:
+ annotations:
+ sidecar.istio.io/status: '{"version":"3c9617ff82c9962a58890e4fa987c69ca62487fda71c23f3a2aad1d7bb46c748","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}'
+ creationTimestamp: null
labels:
app: details
version: v1
spec:
containers:
- - name: details
- image: istio/examples-bookinfo-details-v1:1.8.0
+ - image: istio/examples-bookinfo-details-v1:1.8.0
imagePullPolicy: IfNotPresent
+ name: details
ports:
- containerPort: 9080
+ resources: {}
+ - args:
+ - proxy
+ - sidecar
+ - --configPath
+ - /etc/istio/proxy
+ - --binaryPath
+ - /usr/local/bin/envoy
+ - --serviceCluster
+ - details
+ - --drainDuration
+ - 45s
+ - --parentShutdownDuration
+ - 1m0s
+ - --discoveryAddress
+ - istio-pilot.istio-system:15007
+ - --discoveryRefreshDelay
+ - 1s
+ - --zipkinAddress
+ - zipkin.istio-system:9411
+ - --connectTimeout
+ - 10s
+ - --statsdUdpAddress
+ - istio-statsd-prom-bridge.istio-system:9125
+ - --proxyAdminPort
+ - "15000"
+ - --controlPlaneAuthPolicy
+ - NONE
+ env:
+ - name: POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: POD_NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+ - name: INSTANCE_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+ - name: ISTIO_META_POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: ISTIO_META_INTERCEPTION_MODE
+ value: REDIRECT
+ image: gcr.io/gke-release/istio/proxyv2:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-proxy
+ resources:
+ requests:
+ cpu: 10m
+ securityContext:
+ readOnlyRootFilesystem: true
+ runAsUser: 1337
+ volumeMounts:
+ - mountPath: /etc/istio/proxy
+ name: istio-envoy
+ - mountPath: /etc/certs/
+ name: istio-certs
+ readOnly: true
+ initContainers:
+ - args:
+ - -p
+ - "15001"
+ - -u
+ - "1337"
+ - -m
+ - REDIRECT
+ - -i
+ - '*'
+ - -x
+ - ""
+ - -b
+ - 9080,
+ - -d
+ - ""
+ image: gcr.io/gke-release/istio/proxy_init:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-init
+ resources: {}
+ securityContext:
+ capabilities:
+ add:
+ - NET_ADMIN
+ volumes:
+ - emptyDir:
+ medium: Memory
+ name: istio-envoy
+ - name: istio-certs
+ secret:
+ optional: true
+ secretName: istio.default
+status: {}
---
##################################################################################################
# Ratings service
@@ -66,21 +166,121 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
+ creationTimestamp: null
name: ratings-v1
spec:
replicas: 1
+ strategy: {}
template:
metadata:
+ annotations:
+ sidecar.istio.io/status: '{"version":"3c9617ff82c9962a58890e4fa987c69ca62487fda71c23f3a2aad1d7bb46c748","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}'
+ creationTimestamp: null
labels:
app: ratings
version: v1
spec:
containers:
- - name: ratings
- image: istio/examples-bookinfo-ratings-v1:1.8.0
+ - image: istio/examples-bookinfo-ratings-v1:1.8.0
imagePullPolicy: IfNotPresent
+ name: ratings
ports:
- containerPort: 9080
+ resources: {}
+ - args:
+ - proxy
+ - sidecar
+ - --configPath
+ - /etc/istio/proxy
+ - --binaryPath
+ - /usr/local/bin/envoy
+ - --serviceCluster
+ - ratings
+ - --drainDuration
+ - 45s
+ - --parentShutdownDuration
+ - 1m0s
+ - --discoveryAddress
+ - istio-pilot.istio-system:15007
+ - --discoveryRefreshDelay
+ - 1s
+ - --zipkinAddress
+ - zipkin.istio-system:9411
+ - --connectTimeout
+ - 10s
+ - --statsdUdpAddress
+ - istio-statsd-prom-bridge.istio-system:9125
+ - --proxyAdminPort
+ - "15000"
+ - --controlPlaneAuthPolicy
+ - NONE
+ env:
+ - name: POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: POD_NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+ - name: INSTANCE_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+ - name: ISTIO_META_POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: ISTIO_META_INTERCEPTION_MODE
+ value: REDIRECT
+ image: gcr.io/gke-release/istio/proxyv2:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-proxy
+ resources:
+ requests:
+ cpu: 10m
+ securityContext:
+ readOnlyRootFilesystem: true
+ runAsUser: 1337
+ volumeMounts:
+ - mountPath: /etc/istio/proxy
+ name: istio-envoy
+ - mountPath: /etc/certs/
+ name: istio-certs
+ readOnly: true
+ initContainers:
+ - args:
+ - -p
+ - "15001"
+ - -u
+ - "1337"
+ - -m
+ - REDIRECT
+ - -i
+ - '*'
+ - -x
+ - ""
+ - -b
+ - 9080,
+ - -d
+ - ""
+ image: gcr.io/gke-release/istio/proxy_init:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-init
+ resources: {}
+ securityContext:
+ capabilities:
+ add:
+ - NET_ADMIN
+ volumes:
+ - emptyDir:
+ medium: Memory
+ name: istio-envoy
+ - name: istio-certs
+ secret:
+ optional: true
+ secretName: istio.default
+status: {}
---
##################################################################################################
# Reviews service
@@ -101,59 +301,359 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
+ creationTimestamp: null
name: reviews-v1
spec:
replicas: 1
+ strategy: {}
template:
metadata:
+ annotations:
+ sidecar.istio.io/status: '{"version":"3c9617ff82c9962a58890e4fa987c69ca62487fda71c23f3a2aad1d7bb46c748","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}'
+ creationTimestamp: null
labels:
app: reviews
version: v1
spec:
containers:
- - name: reviews
- image: istio/examples-bookinfo-reviews-v1:1.8.0
+ - image: istio/examples-bookinfo-reviews-v1:1.8.0
imagePullPolicy: IfNotPresent
+ name: reviews
ports:
- containerPort: 9080
+ resources: {}
+ - args:
+ - proxy
+ - sidecar
+ - --configPath
+ - /etc/istio/proxy
+ - --binaryPath
+ - /usr/local/bin/envoy
+ - --serviceCluster
+ - reviews
+ - --drainDuration
+ - 45s
+ - --parentShutdownDuration
+ - 1m0s
+ - --discoveryAddress
+ - istio-pilot.istio-system:15007
+ - --discoveryRefreshDelay
+ - 1s
+ - --zipkinAddress
+ - zipkin.istio-system:9411
+ - --connectTimeout
+ - 10s
+ - --statsdUdpAddress
+ - istio-statsd-prom-bridge.istio-system:9125
+ - --proxyAdminPort
+ - "15000"
+ - --controlPlaneAuthPolicy
+ - NONE
+ env:
+ - name: POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: POD_NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+ - name: INSTANCE_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+ - name: ISTIO_META_POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: ISTIO_META_INTERCEPTION_MODE
+ value: REDIRECT
+ image: gcr.io/gke-release/istio/proxyv2:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-proxy
+ resources:
+ requests:
+ cpu: 10m
+ securityContext:
+ readOnlyRootFilesystem: true
+ runAsUser: 1337
+ volumeMounts:
+ - mountPath: /etc/istio/proxy
+ name: istio-envoy
+ - mountPath: /etc/certs/
+ name: istio-certs
+ readOnly: true
+ initContainers:
+ - args:
+ - -p
+ - "15001"
+ - -u
+ - "1337"
+ - -m
+ - REDIRECT
+ - -i
+ - '*'
+ - -x
+ - ""
+ - -b
+ - 9080,
+ - -d
+ - ""
+ image: gcr.io/gke-release/istio/proxy_init:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-init
+ resources: {}
+ securityContext:
+ capabilities:
+ add:
+ - NET_ADMIN
+ volumes:
+ - emptyDir:
+ medium: Memory
+ name: istio-envoy
+ - name: istio-certs
+ secret:
+ optional: true
+ secretName: istio.default
+status: {}
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
+ creationTimestamp: null
name: reviews-v2
spec:
replicas: 1
+ strategy: {}
template:
metadata:
+ annotations:
+ sidecar.istio.io/status: '{"version":"3c9617ff82c9962a58890e4fa987c69ca62487fda71c23f3a2aad1d7bb46c748","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}'
+ creationTimestamp: null
labels:
app: reviews
version: v2
spec:
containers:
- - name: reviews
- image: istio/examples-bookinfo-reviews-v2:1.8.0
+ - image: istio/examples-bookinfo-reviews-v2:1.8.0
imagePullPolicy: IfNotPresent
+ name: reviews
ports:
- containerPort: 9080
+ resources: {}
+ - args:
+ - proxy
+ - sidecar
+ - --configPath
+ - /etc/istio/proxy
+ - --binaryPath
+ - /usr/local/bin/envoy
+ - --serviceCluster
+ - reviews
+ - --drainDuration
+ - 45s
+ - --parentShutdownDuration
+ - 1m0s
+ - --discoveryAddress
+ - istio-pilot.istio-system:15007
+ - --discoveryRefreshDelay
+ - 1s
+ - --zipkinAddress
+ - zipkin.istio-system:9411
+ - --connectTimeout
+ - 10s
+ - --statsdUdpAddress
+ - istio-statsd-prom-bridge.istio-system:9125
+ - --proxyAdminPort
+ - "15000"
+ - --controlPlaneAuthPolicy
+ - NONE
+ env:
+ - name: POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: POD_NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+ - name: INSTANCE_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+ - name: ISTIO_META_POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: ISTIO_META_INTERCEPTION_MODE
+ value: REDIRECT
+ image: gcr.io/gke-release/istio/proxyv2:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-proxy
+ resources:
+ requests:
+ cpu: 10m
+ securityContext:
+ readOnlyRootFilesystem: true
+ runAsUser: 1337
+ volumeMounts:
+ - mountPath: /etc/istio/proxy
+ name: istio-envoy
+ - mountPath: /etc/certs/
+ name: istio-certs
+ readOnly: true
+ initContainers:
+ - args:
+ - -p
+ - "15001"
+ - -u
+ - "1337"
+ - -m
+ - REDIRECT
+ - -i
+ - '*'
+ - -x
+ - ""
+ - -b
+ - 9080,
+ - -d
+ - ""
+ image: gcr.io/gke-release/istio/proxy_init:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-init
+ resources: {}
+ securityContext:
+ capabilities:
+ add:
+ - NET_ADMIN
+ volumes:
+ - emptyDir:
+ medium: Memory
+ name: istio-envoy
+ - name: istio-certs
+ secret:
+ optional: true
+ secretName: istio.default
+status: {}
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
+ creationTimestamp: null
name: reviews-v3
spec:
replicas: 1
+ strategy: {}
template:
metadata:
+ annotations:
+ sidecar.istio.io/status: '{"version":"3c9617ff82c9962a58890e4fa987c69ca62487fda71c23f3a2aad1d7bb46c748","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}'
+ creationTimestamp: null
labels:
app: reviews
version: v3
spec:
containers:
- - name: reviews
- image: istio/examples-bookinfo-reviews-v3:1.8.0
+ - image: istio/examples-bookinfo-reviews-v3:1.8.0
imagePullPolicy: IfNotPresent
+ name: reviews
ports:
- containerPort: 9080
+ resources: {}
+ - args:
+ - proxy
+ - sidecar
+ - --configPath
+ - /etc/istio/proxy
+ - --binaryPath
+ - /usr/local/bin/envoy
+ - --serviceCluster
+ - reviews
+ - --drainDuration
+ - 45s
+ - --parentShutdownDuration
+ - 1m0s
+ - --discoveryAddress
+ - istio-pilot.istio-system:15007
+ - --discoveryRefreshDelay
+ - 1s
+ - --zipkinAddress
+ - zipkin.istio-system:9411
+ - --connectTimeout
+ - 10s
+ - --statsdUdpAddress
+ - istio-statsd-prom-bridge.istio-system:9125
+ - --proxyAdminPort
+ - "15000"
+ - --controlPlaneAuthPolicy
+ - NONE
+ env:
+ - name: POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: POD_NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+ - name: INSTANCE_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+ - name: ISTIO_META_POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: ISTIO_META_INTERCEPTION_MODE
+ value: REDIRECT
+ image: gcr.io/gke-release/istio/proxyv2:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-proxy
+ resources:
+ requests:
+ cpu: 10m
+ securityContext:
+ readOnlyRootFilesystem: true
+ runAsUser: 1337
+ volumeMounts:
+ - mountPath: /etc/istio/proxy
+ name: istio-envoy
+ - mountPath: /etc/certs/
+ name: istio-certs
+ readOnly: true
+ initContainers:
+ - args:
+ - -p
+ - "15001"
+ - -u
+ - "1337"
+ - -m
+ - REDIRECT
+ - -i
+ - '*'
+ - -x
+ - ""
+ - -b
+ - 9080,
+ - -d
+ - ""
+ image: gcr.io/gke-release/istio/proxy_init:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-init
+ resources: {}
+ securityContext:
+ capabilities:
+ add:
+ - NET_ADMIN
+ volumes:
+ - emptyDir:
+ medium: Memory
+ name: istio-envoy
+ - name: istio-certs
+ secret:
+ optional: true
+ secretName: istio.default
+status: {}
---
##################################################################################################
# Productpage services
@@ -174,19 +674,119 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
+ creationTimestamp: null
name: productpage-v1
spec:
replicas: 1
+ strategy: {}
template:
metadata:
+ annotations:
+ sidecar.istio.io/status: '{"version":"3c9617ff82c9962a58890e4fa987c69ca62487fda71c23f3a2aad1d7bb46c748","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}'
+ creationTimestamp: null
labels:
app: productpage
version: v1
spec:
containers:
- - name: productpage
- image: istio/examples-bookinfo-productpage-v1:1.8.0
+ - image: istio/examples-bookinfo-productpage-v1:1.8.0
imagePullPolicy: IfNotPresent
+ name: productpage
ports:
- containerPort: 9080
+ resources: {}
+ - args:
+ - proxy
+ - sidecar
+ - --configPath
+ - /etc/istio/proxy
+ - --binaryPath
+ - /usr/local/bin/envoy
+ - --serviceCluster
+ - productpage
+ - --drainDuration
+ - 45s
+ - --parentShutdownDuration
+ - 1m0s
+ - --discoveryAddress
+ - istio-pilot.istio-system:15007
+ - --discoveryRefreshDelay
+ - 1s
+ - --zipkinAddress
+ - zipkin.istio-system:9411
+ - --connectTimeout
+ - 10s
+ - --statsdUdpAddress
+ - istio-statsd-prom-bridge.istio-system:9125
+ - --proxyAdminPort
+ - "15000"
+ - --controlPlaneAuthPolicy
+ - NONE
+ env:
+ - name: POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: POD_NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+ - name: INSTANCE_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+ - name: ISTIO_META_POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: ISTIO_META_INTERCEPTION_MODE
+ value: REDIRECT
+ image: gcr.io/gke-release/istio/proxyv2:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-proxy
+ resources:
+ requests:
+ cpu: 10m
+ securityContext:
+ readOnlyRootFilesystem: true
+ runAsUser: 1337
+ volumeMounts:
+ - mountPath: /etc/istio/proxy
+ name: istio-envoy
+ - mountPath: /etc/certs/
+ name: istio-certs
+ readOnly: true
+ initContainers:
+ - args:
+ - -p
+ - "15001"
+ - -u
+ - "1337"
+ - -m
+ - REDIRECT
+ - -i
+ - '*'
+ - -x
+ - ""
+ - -b
+ - 9080,
+ - -d
+ - ""
+ image: gcr.io/gke-release/istio/proxy_init:1.0.2-gke.0
+ imagePullPolicy: IfNotPresent
+ name: istio-init
+ resources: {}
+ securityContext:
+ capabilities:
+ add:
+ - NET_ADMIN
+ volumes:
+ - emptyDir:
+ medium: Memory
+ name: istio-envoy
+ - name: istio-certs
+ secret:
+ optional: true
+ secretName: istio.default
+status: {}
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.