curl -sSfL https://gist.githubusercontent.com/inceabdullah/205b81083f2f1a0d01bb3337538ea634/raw/a1037cff8502f935463a3194353e502c30ab669f/istio-init.sh |bash -E
Last active
December 24, 2023 18:53
-
-
Save inceabdullah/205b81083f2f1a0d01bb3337538ea634 to your computer and use it in GitHub Desktop.
% Istio CNI Tracing Egress and Prometheus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat <<EOF | istioctl install --set components.egressGateways[0].name=istio-egressgateway --set components.egressGateways[0].enabled=true --set meshConfig.enablePrometheusMerge=true -y -f - | |
apiVersion: install.istio.io/v1alpha1 | |
kind: IstioOperator | |
spec: | |
components: | |
cni: | |
enabled: true | |
ingressGateways: | |
- name: istio-ingressgateway | |
enabled: true | |
k8s: | |
service: | |
type: LoadBalancer | |
loadBalancerIP: 192.168.5.240 | |
meshConfig: | |
enableTracing: true | |
defaultConfig: | |
tracing: | |
sampling: 10 | |
custom_tags: | |
my_tag_header: | |
header: | |
name: host | |
proxyMetadata: | |
ISTIO_META_DNS_CAPTURE: "true" | |
ISTIO_META_DNS_AUTO_ALLOCATE: "true" | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment