Rancher Fleet with Imported DigitalOcean Managed Kubernetes

I have a Digital Ocean Managed Kubernetes Cluster v1.24.12 and one standalone Rancher v2.7.1 (runs on Docker) on a remote site. The import went well but Fleet seems to be having problem connecting. What else do I need to do to get this working?. Thank you.

Managed to get it working.

  1. Start the Rancher Docker from scratch, ie delete all volume, container and image associate with Rancher.
  2. Import the DO kubernetes again.
  3. It all works after a few minutes of wait.
    PS: I am mapping the rancher data directory to local filesystem as well as using a valid TLS cert.

docker-compose.yaml file to start rancher standalone

version: '3'

services:
  rancher:
    image: rancher/rancher:latest
    restart: always
    ports:
    - "192.168.88.2:80:80/tcp"
    - "192.168.88.2:8443:443/tcp"
    volumes:
    - "./rancher-data:/var/lib/rancher"
    - "./cert/fullchain.pem:/etc/rancher/ssl/cert.pem"
    - "./cert/privkey.pem:/etc/rancher/ssl/key.pem"
    privileged: true
    environment:
     - TZ=America/New_York
    command: "--no-cacerts"