From f58c9010171fa1751dc4fff9ceb7a1391b3af79f Mon Sep 17 00:00:00 2001 From: savagebidoof Date: Sat, 29 Jul 2023 17:06:16 +0200 Subject: [PATCH] temporal backup cause why not. --- ksetup/K/IstioOperator_IstioConfig.yaml | 14 ++++++++++ ksetup/K/IstioOperator_PublicIngress.yaml | 33 +++++++++++++++++++++++ ksetup/K/ipRange.yaml | 27 +++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 ksetup/K/IstioOperator_IstioConfig.yaml create mode 100644 ksetup/K/IstioOperator_PublicIngress.yaml create mode 100644 ksetup/K/ipRange.yaml diff --git a/ksetup/K/IstioOperator_IstioConfig.yaml b/ksetup/K/IstioOperator_IstioConfig.yaml new file mode 100644 index 0000000..efff6dc --- /dev/null +++ b/ksetup/K/IstioOperator_IstioConfig.yaml @@ -0,0 +1,14 @@ +apiVersion: install.istio.io/v1alpha1 +kind: IstioOperator +metadata: + namespace: istio-system + name: istio-config + labels: + last-update: 2023-07-16 +spec: + profile: minimal + meshConfig: + accessLogFile: /dev/stdout + enableTracing: true + ingressService: istio-public-ingress + ingressSelector: public-ingress \ No newline at end of file diff --git a/ksetup/K/IstioOperator_PublicIngress.yaml b/ksetup/K/IstioOperator_PublicIngress.yaml new file mode 100644 index 0000000..aa01cb0 --- /dev/null +++ b/ksetup/K/IstioOperator_PublicIngress.yaml @@ -0,0 +1,33 @@ +apiVersion: install.istio.io/v1alpha1 +kind: IstioOperator +metadata: + namespace: istio-system + name: public-ingress + labels: + last-update: 2023-07-16 +spec: + profile: empty + components: + ingressGateways: + - namespace: istio-system + name: istio-public-ingress + enabled: true + label: + istio: public-ingress + app: istio-public-ingress + k8s: + service: + type: LoadBalancer + loadBalancerIP: 192.168.1.98 +# ports: +# - port: 80 +# targetPort: 31242 +# name: http +# +# - port: 443 +# targetPort: 32271 +# name: https +# +# - port: 15021 +# targetPort: 31546 +# name: tcp \ No newline at end of file diff --git a/ksetup/K/ipRange.yaml b/ksetup/K/ipRange.yaml new file mode 100644 index 0000000..7a510b2 --- /dev/null +++ b/ksetup/K/ipRange.yaml @@ -0,0 +1,27 @@ +## https://computingforgeeks.com/deploy-metallb-load-balancer-on-kubernetes/ +apiVersion: metallb.io/v1beta1 +kind: IPAddressPool +metadata: + name: cheap + namespace: metallb-system +spec: + addresses: + - 192.168.1.0/24 +--- +apiVersion: metallb.io/v1beta1 +kind: L2Advertisement +metadata: + name: pool1-advert + namespace: metallb-system +spec: + ipAddressPools: + - cheap +--- +#apiVersion: metallb.io/v1beta1 +#kind: IPAddressPool +#metadata: +# name: production +# namespace: metallb-system +#spec: +# addresses: +# - 192.168.1.30-192.168.1.50