mss iets me de gateway

This commit is contained in:
2020-02-27 19:31:49 +01:00
parent 896ae57a88
commit 0d17677791
2 changed files with 600 additions and 566 deletions

View File

@@ -1,6 +1,17 @@
apiVersion: v1 apiVersion: apps/v1
kind: Pod kind: Deployment
metadata: metadata:
creationTimestamp: null
name: server-a
spec:
replicas: 1
selector:
matchLabels:
expose: "true"
server: http
strategy: {}
template:
metadata:
annotations: annotations:
sidecar.istio.io/status: '{"version":"b5faac9e6b02231b7db3b29487392a395f1c85c746bf62dc8cb660444af6e0d9","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}' sidecar.istio.io/status: '{"version":"b5faac9e6b02231b7db3b29487392a395f1c85c746bf62dc8cb660444af6e0d9","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}'
creationTimestamp: null creationTimestamp: null
@@ -8,8 +19,7 @@ metadata:
expose: "true" expose: "true"
security.istio.io/tlsMode: istio security.istio.io/tlsMode: istio
server: http server: http
name: server-a spec:
spec:
containers: containers:
- image: beppev/server-a:latest - image: beppev/server-a:latest
name: front-end name: front-end
@@ -100,7 +110,7 @@ spec:
- name: ISTIO_META_WORKLOAD_NAME - name: ISTIO_META_WORKLOAD_NAME
value: server-a value: server-a
- name: ISTIO_META_OWNER - name: ISTIO_META_OWNER
value: kubernetes://apis/v1/namespaces/default/pods/server-a value: kubernetes://apis/apps/v1/namespaces/default/deployments/server-a
- name: ISTIO_META_MESH_ID - name: ISTIO_META_MESH_ID
value: cluster.local value: cluster.local
image: docker.io/istio/proxyv2:1.4.5 image: docker.io/istio/proxyv2:1.4.5
@@ -192,9 +202,21 @@ spec:
secretName: istio.default secretName: istio.default
status: {} status: {}
--- ---
apiVersion: v1 apiVersion: apps/v1
kind: Pod kind: Deployment
metadata: metadata:
creationTimestamp: null
name: server-b
spec:
replicas: 1
selector:
matchLabels:
app: ja
server: http
version: v1
strategy: {}
template:
metadata:
annotations: annotations:
sidecar.istio.io/status: '{"version":"b5faac9e6b02231b7db3b29487392a395f1c85c746bf62dc8cb660444af6e0d9","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}' sidecar.istio.io/status: '{"version":"b5faac9e6b02231b7db3b29487392a395f1c85c746bf62dc8cb660444af6e0d9","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}'
creationTimestamp: null creationTimestamp: null
@@ -203,8 +225,7 @@ metadata:
security.istio.io/tlsMode: istio security.istio.io/tlsMode: istio
server: http server: http
version: v1 version: v1
name: server-b spec:
spec:
containers: containers:
- image: beppev/server-b:latest - image: beppev/server-b:latest
name: front-end name: front-end
@@ -295,7 +316,7 @@ spec:
- name: ISTIO_META_WORKLOAD_NAME - name: ISTIO_META_WORKLOAD_NAME
value: server-b value: server-b
- name: ISTIO_META_OWNER - name: ISTIO_META_OWNER
value: kubernetes://apis/v1/namespaces/default/pods/server-b value: kubernetes://apis/apps/v1/namespaces/default/deployments/server-b
- name: ISTIO_META_MESH_ID - name: ISTIO_META_MESH_ID
value: cluster.local value: cluster.local
image: docker.io/istio/proxyv2:1.4.5 image: docker.io/istio/proxyv2:1.4.5
@@ -387,9 +408,21 @@ spec:
secretName: istio.default secretName: istio.default
status: {} status: {}
--- ---
apiVersion: v1 apiVersion: apps/v1
kind: Pod kind: Deployment
metadata: metadata:
creationTimestamp: null
name: server-c
spec:
replicas: 1
selector:
matchLabels:
app: ja
server: http
version: v2
strategy: {}
template:
metadata:
annotations: annotations:
sidecar.istio.io/status: '{"version":"b5faac9e6b02231b7db3b29487392a395f1c85c746bf62dc8cb660444af6e0d9","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}' sidecar.istio.io/status: '{"version":"b5faac9e6b02231b7db3b29487392a395f1c85c746bf62dc8cb660444af6e0d9","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}'
creationTimestamp: null creationTimestamp: null
@@ -398,8 +431,7 @@ metadata:
security.istio.io/tlsMode: istio security.istio.io/tlsMode: istio
server: http server: http
version: v2 version: v2
name: server-c spec:
spec:
containers: containers:
- image: beppev/server-c:latest - image: beppev/server-c:latest
name: front-end name: front-end
@@ -490,7 +522,7 @@ spec:
- name: ISTIO_META_WORKLOAD_NAME - name: ISTIO_META_WORKLOAD_NAME
value: server-c value: server-c
- name: ISTIO_META_OWNER - name: ISTIO_META_OWNER
value: kubernetes://apis/v1/namespaces/default/pods/server-c value: kubernetes://apis/apps/v1/namespaces/default/deployments/server-c
- name: ISTIO_META_MESH_ID - name: ISTIO_META_MESH_ID
value: cluster.local value: cluster.local
image: docker.io/istio/proxyv2:1.4.5 image: docker.io/istio/proxyv2:1.4.5
@@ -644,6 +676,7 @@ metadata:
spec: spec:
selector: selector:
expose: "true" expose: "true"
istio: ingressgateway
servers: servers:
- port: - port:
number: 6000 number: 6000

View File

@@ -131,6 +131,7 @@ metadata:
spec: spec:
selector: selector:
expose: "true" expose: "true"
istio: ingressgateway
servers: servers:
- port: - port:
number: 6000 number: 6000