Skip to content

Commit

Permalink
Fixed yaml formats
Browse files Browse the repository at this point in the history
Signed-off-by: biswajit-9776 <[email protected]>
  • Loading branch information
biswajit-9776 committed Jul 29, 2024
1 parent b78ccb8 commit 32b500d
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 84 deletions.
82 changes: 41 additions & 41 deletions common/istio-1-22/profile-overlay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,47 @@ spec:
probes: 3
components:
ingressGateways:
# Cluster-local gateway for KFServing
- enabled: true
name: cluster-local-gateway
# https://github.com/istio/istio/issues/19263#issuecomment-615833092
label:
app: cluster-local-gateway
istio: cluster-local-gateway
k8s:
env:
- name: ISTIO_META_ROUTER_MODE
value: sni-dnat
hpaSpec:
maxReplicas: 5
metrics:
- resource:
name: cpu
target:
type: Utilization
averageUtilization: 80
type: Resource
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: cluster-local-gateway
resources:
limits:
cpu: 2000m
memory: 1024Mi
requests:
cpu: 100m
memory: 128Mi
service:
type: ClusterIP
ports:
- name: status-port
port: 15020
targetPort: 15020
- name: http2
port: 80
targetPort: 8080
# Cluster-local gateway for KFServing
- enabled: true
name: cluster-local-gateway
# https://github.com/istio/istio/issues/19263#issuecomment-615833092
label:
app: cluster-local-gateway
istio: cluster-local-gateway
k8s:
env:
- name: ISTIO_META_ROUTER_MODE
value: sni-dnat
hpaSpec:
maxReplicas: 5
metrics:
- resource:
name: cpu
target:
type: Utilization
averageUtilization: 80
type: Resource
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: cluster-local-gateway
resources:
limits:
cpu: 2000m
memory: 1024Mi
requests:
cpu: 100m
memory: 128Mi
service:
type: ClusterIP
ports:
- name: status-port
port: 15020
targetPort: 15020
- name: http2
port: 80
targetPort: 8080

# Disable EgressGateway
egressGateways:
Expand Down
1 change: 0 additions & 1 deletion common/istio-1-22/profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ spec:
global:
configValidation: true
istioNamespace: istio-system

82 changes: 41 additions & 41 deletions common/istio-ambient-1-22/profile-overlay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,47 @@ spec:
probes: 3
components:
ingressGateways:
# Cluster-local gateway for KFServing
- enabled: true
name: cluster-local-gateway
# https://github.com/istio/istio/issues/19263#issuecomment-615833092
label:
app: cluster-local-gateway
istio: cluster-local-gateway
k8s:
env:
- name: ISTIO_META_ROUTER_MODE
value: sni-dnat
hpaSpec:
maxReplicas: 5
metrics:
- resource:
name: cpu
target:
type: Utilization
averageUtilization: 80
type: Resource
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: cluster-local-gateway
resources:
limits:
cpu: 2000m
memory: 1024Mi
requests:
cpu: 100m
memory: 128Mi
service:
type: ClusterIP
ports:
- name: status-port
port: 15020
targetPort: 15020
- name: http2
port: 80
targetPort: 8080
# Cluster-local gateway for KFServing
- enabled: true
name: cluster-local-gateway
# https://github.com/istio/istio/issues/19263#issuecomment-615833092
label:
app: cluster-local-gateway
istio: cluster-local-gateway
k8s:
env:
- name: ISTIO_META_ROUTER_MODE
value: sni-dnat
hpaSpec:
maxReplicas: 5
metrics:
- resource:
name: cpu
target:
type: Utilization
averageUtilization: 80
type: Resource
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: cluster-local-gateway
resources:
limits:
cpu: 2000m
memory: 1024Mi
requests:
cpu: 100m
memory: 128Mi
service:
type: ClusterIP
ports:
- name: status-port
port: 15020
targetPort: 15020
- name: http2
port: 80
targetPort: 8080

# Disable EgressGateway
egressGateways:
Expand Down
1 change: 0 additions & 1 deletion common/istio-ambient-1-22/profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ spec:
configValidation: true
istioNamespace: istio-system
profile: ambient

0 comments on commit 32b500d

Please sign in to comment.