techno-tim / k3s-ansible

The easiest way to bootstrap a self-hosted High Availability Kubernetes cluster. A fully automated HA k3s etcd install with kube-vip, MetalLB, and more. Build. Destroy. Repeat.
https://technotim.live/posts/k3s-etcd-ansible/
Apache License 2.0
2.41k stars 1.05k forks source link

Deploying k3s behind a proxy server and "BGP on the host" networks #546

Closed scoopex closed 3 months ago

scoopex commented 3 months ago

Deploying k3s behind a proxy server currently not seems to be possible.

Related bug: https://github.com/osism/issues/issues/1067

Although we have the proxy_env.* settings, the image (“https://ghcr.io/v2/kube-vip/kube-vip/manifests/v0.7.2”) cannot be downloaded).

However, other components of the cluster that also have to be downloaded from the Internet are downloaded successfully as the proxy setting appears to be effective here.

Setup of the environment: https://github.com/SovereignCloudStack/hardware-landscape/tree/main/inventory

As you can see we are trying to use the dummy0 interface (the system uses a layer3 underlay with frr bgp routing on the local datacenter network)

timothystewart6 commented 3 months ago

The manifest you linked above does not exist. Also this seems unrelated to this repo since other items work fine through a proxy.

timothystewart6 commented 3 months ago

feel free to open as a discussion, but this isn't something we can fix with this repo.

scoopex commented 3 months ago

Sorry, this got outdated and the topic developed in another direction.

I will create dedicated issues for the proxy documentation and the layer3 underlay topic (if still necessary). Sorry for the confusion.