Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portainer + kube-ovn result in portainer not being able to connect to the local cluster #229

Open
killua-eu opened this issue May 5, 2024 · 0 comments

Comments

@killua-eu
Copy link

Latest microk8s installed on 3 physical nodes on ubuntu 24.04 as follows:

On all nodes:

sudo snap install microk8s --classic --channel=1.30
sudo usermod -a -G microk8s $USER
mkdir -p ~/.kube
chmod 0700 ~/.kube
su - $USER
alias kubectl='microk8s kubectl'
sudo snap alias microk8s.kubectl kubectl

#sudo microk8s enable kube-ovn                   # uncomment this to make portainer unusable
#microk8s enable kube-ovn --force                # uncomment this to make portainer unusable

sudo microk8s enable dns
sudo microk8s enable ingress
sudo microk8s enable hostpath-storage
sudo microk8s enable rbac
sudo microk8s enable community
sudo microk8s enable nfs

On main:

microk8s add-node
sudo microk8s enable portainer

Using calico, portainer will connect to this env

image

with ovn, I wasn't able to get portainer to work. The problem should be replicable, tried to completely uninstall and reinstall microk8s on all nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant