15/May/2023 #62
@ -3,11 +3,4 @@ kind: Namespace
|
||||
metadata:
|
||||
name: foo
|
||||
labels:
|
||||
istio-injection: "enabled"
|
||||
#---
|
||||
#apiVersion: v1
|
||||
#kind: Namespace
|
||||
#metadata:
|
||||
# name: test
|
||||
# labels:
|
||||
# istio-injection: "enabled"
|
||||
istio-injection: "enabled"
|
@ -50,31 +50,4 @@ spec:
|
||||
cpu: "100m"
|
||||
imagePullPolicy: IfNotPresent #Always
|
||||
ports:
|
||||
- containerPort: 80
|
||||
#---
|
||||
#apiVersion: apps/v1
|
||||
#kind: Deployment
|
||||
#metadata:
|
||||
# name: helloworld-test
|
||||
# labels:
|
||||
# app: helloworld
|
||||
# namespace: test
|
||||
#spec:
|
||||
# replicas: 1
|
||||
# selector:
|
||||
# matchLabels:
|
||||
# app: helloworld
|
||||
# template:
|
||||
# metadata:
|
||||
# labels:
|
||||
# app: helloworld
|
||||
# spec:
|
||||
# containers:
|
||||
# - name: helloworld
|
||||
# image: nginx
|
||||
# resources:
|
||||
# requests:
|
||||
# cpu: "100m"
|
||||
# imagePullPolicy: IfNotPresent #Always
|
||||
# ports:
|
||||
# - containerPort: 80
|
||||
- containerPort: 80
|
@ -734,5 +734,5 @@ sidecar.networking.istio.io "helloworld-sidecar-foo" deleted
|
||||
- https://istio.io/latest/blog/2019/monitoring-external-service-traffic/#what-are-blackhole-and-passthrough-clusters
|
||||
|
||||
- https://istio.io/v1.0/help/ops/traffic-management/proxy-cmd/#deep-dive-into-envoy-configuration
|
||||
-
|
||||
|
||||
- https://istio.io/latest/docs/reference/commands/pilot-discovery/#pilot-discovery-completion
|
@ -1,15 +1,3 @@
|
||||
#apiVersion: networking.istio.io/v1alpha3
|
||||
#kind: Sidecar
|
||||
#metadata:
|
||||
# name: global-sidecar
|
||||
# namespace: istio-system
|
||||
#spec:
|
||||
# egress:
|
||||
# - hosts:
|
||||
# - "./*"
|
||||
# outboundTrafficPolicy:
|
||||
# mode: REGISTRY_ONLY
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: Sidecar
|
||||
metadata:
|
||||
@ -25,8 +13,6 @@ spec:
|
||||
protocol: HTTP
|
||||
name: egress-http
|
||||
hosts:
|
||||
# - "./*"
|
||||
# - "istio-system/*"
|
||||
- "foo/*"
|
||||
outboundTrafficPolicy:
|
||||
mode: REGISTRY_ONLY
|
||||
@ -47,16 +33,6 @@ spec:
|
||||
name: egress-default
|
||||
hosts:
|
||||
- "default/*"
|
||||
# - port:
|
||||
# number: 80
|
||||
# protocol: HTTP
|
||||
# name: egress-foo
|
||||
# hosts:
|
||||
- "./*"
|
||||
#- "./*"
|
||||
# - "default/helloworld.default.svc.cluster.local"
|
||||
# - "*/*"
|
||||
# - "default/helloworld.default.svc.cluster.local"
|
||||
# - "foo/*"
|
||||
outboundTrafficPolicy:
|
||||
mode: REGISTRY_ONLY
|
Loading…
x
Reference in New Issue
Block a user