We setup a k8s cluster to manage workload clusters which were created by Magnum.
We need get /root/.kube/config from cluster management.
Copy /root/.kube/config from "cluster management" to /var/lib/magnum/.kube/config
Hi Nguyễn,Reopening this thread because I have tired your doc [1] and getting this error message message when I import image.# openstack coe cluster template create --image 7b6130b4-8374-4dd7-b6ff-91e06e6a9afd --external-network public-network-201 --dns-nameserver 8.8.8.8 --master-flavor m1.medium --flavor m1.medium --network-driver calico --docker-storage-driver overlay2 --coe kubernetes --label kube_tag=v1.27.4 k8s-v1.27.4ERROR:==> /var/log/kolla/magnum/magnum-api.log <==
2023-12-14 12:24:04.022 456 WARNING oslo_messaging.rpc.client [None req-62487543-3622-4623-bba0-97162e748472 93e2d918bc7a4d92a93df927743d00ff 08cae850a5bb47d998da180a7f0e2660 default - - -] Using RPCClient manually to instantiate client. Please use get_rpc_client to obtain an RPC client instance.
2023-12-14 12:24:04.634 456 ERROR wsme.api [None req-62487543-3622-4623-bba0-97162e748472 93e2d918bc7a4d92a93df927743d00ff 08cae850a5bb47d998da180a7f0e2660 default - - -] Server-side error: "Configuration file ~/.kube/config not found". Detail:~/.kube/config not found but I am confused that from where I am going to find this file? how do I generate it?On Mon, Nov 20, 2023 at 12:16 AM Nguyễn Hữu Khôi <nguyenhuukhoinw@gmail.com> wrote:Hello guys.This is a doc which is about how to make Magnum CAPI to work with Openstack deployed by Kolla Ansible..Feel free to ask. If I can help, I will.Nguyen Huu KhoiOn Mon, Nov 20, 2023 at 12:09 PM Nguyễn Hữu Khôi <nguyenhuukhoinw@gmail.com> wrote:Hello.It uses prebuild Ubuntu to provision k8s cluster,On Mon, Nov 20, 2023 at 11:47 AM Satish Patel <satish.txt@gmail.com> wrote:Hi Folks,Tell me if I am wrong. CAPI is just kubernetes images to build k8s clusters instead using coreOS and install a bunch of stuff via heat. In documentation all I can see are imported images. Reference doc: https://vexxhost.github.io/magnum-cluster-api/user/getting-started/Do I need to install anything else to make it work?On Fri, Nov 17, 2023 at 11:30 AM Mohammed Naser <mnaser@vexxhost.com> wrote:Thanks! Happy to see that it is working smoothly 😊
Appreciate any docs, comments or issues.