percona / everest

Percona Everest is a cloud-native database platform to deploy and manage enterprise-grade PostgreSQL, MongoDB and MySQL database clusters.
https://docs.percona.com/everest/index.html
Apache License 2.0
151 stars 10 forks source link

Stuck at Install Percona OLM Catalog #703

Open nvsajeeva opened 1 day ago

nvsajeeva commented 1 day ago

The installation stuck at "Install Percona OLM Catalog".

Setup: Apple M1 Max (ARM) minikube version: v1.32.0

Steps to reproduce:

curl -sSL -o everestctl-darwin-arm64 https://github.com/percona/everest/releases/latest/download/everestctl-darwin-arm64
sudo install -m 555 everestctl-darwin-arm64 /usr/local/bin/everestctl
rm everestctl-darwin-arm64

Outputs

everestctl install                                                                                                      
? Namespaces managed by Everest [comma separated] everest
? What operators do you want to install? MySQL, MongoDB, PostgreSQL
ℹ️ Installing Everest version 1.1.1

✓ Install Operator Lifecycle Manager
| Install Percona OLM Catalog
k get pods -n everest-olm
NAME                               READY   STATUS             RESTARTS       AGE
catalog-operator-7cd6b58b5-8292f   1/1     Running            0              99m
everest-catalog-kn52v              0/1     CrashLoopBackOff   15 (2m ago)    54m
everest-catalog-nhlb5              0/1     CrashLoopBackOff   24 (51s ago)   99m
olm-operator-79978456c6-98ldm      1/1     Running            0              99m
packageserver-5fb48ffc48-tpnz9     1/1     Running            0              99m
packageserver-5fb48ffc48-zvxhq     1/1     Running            0              99m
k logs everest-catalog-kn52v -n everest-olm
exec /bin/opm: exec format error

It appears that the installation process is trying to use an image with a different architecture.

mayankshah1607 commented 18 hours ago

Hi @nvsajeeva,

Thanks for trying Everest. This seems to be a known issue with older versions of Minikube, please see: https://github.com/kubernetes/minikube/issues/18217

I managed to fix this problem by doing the following steps:

Alternatively, you can also try using KinD or k3d -- I've tested these and can confirm it works on Apple Silicon.