first upload

This commit is contained in:
2025-07-19 16:30:52 +02:00
parent cc0d91a220
commit 946b6ef346
10 changed files with 341 additions and 0 deletions

51
2.5.istio-deploy.sh Executable file
View File

@@ -0,0 +1,51 @@
#!/bin/bash
istioctl install --set profile=default -y
kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.1/standard-install.yaml
echo -e "\n########## istio hálózat patchelése: ##########"
kubectl patch svc -n istio-system istio-ingressgateway --patch-file istio-ingressgateway-patch-nodeport.yaml
echo -e "\n########## istio erőforrások patchelése: ##########"
kubectl patch deployment istio-ingressgateway -n istio-system --patch '{
"spec": {
"template": {
"spec": {
"containers": [{
"name": "istio-proxy",
"resources": {
"requests": {
"cpu": "10m",
"memory": "64Mi"
},
"limits": {
"cpu": "500m",
"memory": "512Mi"
}
}
}]
}
}
}
}'
kubectl patch deployment istiod -n istio-system --patch '{
"spec": {
"template": {
"spec": {
"containers": [{
"name": "discovery",
"resources": {
"requests": {
"cpu": "10m",
"memory": "64Mi"
},
"limits": {
"cpu": "500m",
"memory": "512Mi"
}
}
}]
}
}
}
}'