Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: istio-apps
labels:
istio-injection: enabled
28 changes: 0 additions & 28 deletions istio-multicluster-servicemesh/bookinfo-mc1/bookinfo-mc1.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,3 @@
# Copyright Istio Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

##################################################################################################
# This file defines the services, service accounts, and deployments for the Bookinfo sample.
#
# To apply all 4 Bookinfo services, their corresponding service accounts, and deployments:
#
# kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
#
# Alternatively, you can deploy any resource separately:
#
# kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml -l service=reviews # reviews Service
# kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml -l account=reviews # reviews ServiceAccount
# kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml -l app=reviews,version=v3 # reviews-v3 Deployment
##################################################################################################

##################################################################################################
# Details service
##################################################################################################
Expand Down
6 changes: 6 additions & 0 deletions istio-multicluster-servicemesh/bookinfo-mc1/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: istio-apps
labels:
istio-injection: enabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: istio-cni
28 changes: 0 additions & 28 deletions istio-multicluster-servicemesh/bookinfo-mc2/bookinfo-mc2.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,3 @@
# Copyright Istio Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

##################################################################################################
# This file defines the services, service accounts, and deployments for the Bookinfo sample.
#
# To apply all 4 Bookinfo services, their corresponding service accounts, and deployments:
#
# kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
#
# Alternatively, you can deploy any resource separately:
#
# kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml -l service=reviews # reviews Service
# kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml -l account=reviews # reviews ServiceAccount
# kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml -l app=reviews,version=v3 # reviews-v3 Deployment
##################################################################################################

##################################################################################################
# Ratings service
##################################################################################################
Expand Down
6 changes: 6 additions & 0 deletions istio-multicluster-servicemesh/bookinfo-mc2/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: istio-apps
labels:
istio-injection: enabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: istio-cni
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ metadata:
app: istio-ingressgateway
istio: ingressgateway
name: ingressgateway
namespace: istio-apps
spec:
port:
targetPort: http2
Expand Down
32 changes: 32 additions & 0 deletions istio-multicluster-servicemesh/istio-gateway/istio-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
name: istio-ingress
spec:
profile: empty
components:
ingressGateways:
- name: ingressgateway
namespace: istio-apps
enabled: true
label:
istio: ingressgateway
k8s:
service:
ports:
- port: 15021
targetPort: 15021
name: status-port
- port: 80
targetPort: 8080
name: http2
- port: 443
targetPort: 8443
name: https
- port: 31400
targetPort: 31400
name: tcp
values:
gateways:
istio-ingressgateway:
injectionTemplate: gateway
6 changes: 6 additions & 0 deletions istio-multicluster-servicemesh/istio-gateway/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: istio-apps
labels:
istio-injection: enabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: istio-cni
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
name: istio-hub
name: istio-controlplane-hub
namespace: istio-system
spec:
profile: empty
Expand Down Expand Up @@ -62,8 +62,11 @@ spec:
operatorManageWebhooks: true
meshID: mesh1
multiCluster:
clusterName: mcscluster1
clusterName: local-cluster
network: network1
tracer:
zipkin:
address: zipkin.istio-system.svc.clusterset.local:9411
cni:
cniBinDir: /var/lib/cni/bin
cniConfDir: /etc/cni/multus/net.d
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ kind: ServiceExport
metadata:
name: istiod
namespace: istio-system
labels:
app: istiod
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: jeager
namespace: istio-system
labels:
app: jaeger
spec:
to:
kind: Service
name: tracing
weight: 100
port:
targetPort: http-query
wildcardPolicy: None
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: multicluster.x-k8s.io/v1alpha1
kind: ServiceExport
metadata:
name: zipkin
namespace: istio-system
labels:
app: jaeger
Loading