aenix-io / cozystack

Free and Open Source PaaS-platform for seamless management of virtual machines, managed Kubernetes, and Databases-as-a-Service
https://cozystack.io
Apache License 2.0
542 stars 24 forks source link

Generate separate cozystack-installer.yaml for hosted bundles #162

Open kvaps opened 1 month ago

kvaps commented 1 month ago

The current cozystack-installer.yaml includes settings for kube-prism, which is not available in hosted installation, we have to generate another manifest which targets to 10.96.0.1:443 by default

NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
kubernetes   ClusterIP   10.96.0.1    <none>        443/TCP   51m

https://github.com/aenix-io/cozystack/blob/8019256dfcca5425b5a00c737b65db57e483f40f/manifests/cozystack-installer.yaml#L73-L76

alternative solution would be to add proxy sidecar for loadbalancing between both addresses