I have setup RancherOS on Google Cloud and have configured four instances (Rancher server + three agent nodes). On one of the agent nodes, i have GitLab CE 9.3.9 running. I later configured Rancher agent on it. Now when i check the Kubernetes dashboard's Hosts
section, i see that it recognizes the GitLab container and mentions it under Standalone Containers
section. I would like to make it part of the Kubernetes cluster. I see there is a clone
option for GitLab container. Is that the one which i have to use to make it part of the cluster? If not, is there a way to import it into Kubernetes?
While setting up GitLab, i just ran the following script:
#!/bin/bash
sudo docker run --detach \
--hostname gitlab.example.com \
--publish 443:443 --publish 80:80 \
--name gitlab \
--restart always \
--volume /mnt/data/gitlab/config:/etc/gitlab \
--volume /mnt/data/gitlab/logs:/var/log/gitlab \
--volume /mnt/data/gitlab/data:/var/opt/gitlab \
gitlab/gitlab-ce:9.4.5-ce.0