Resources like Istio, pipeline, prometheus, grafana are integrated with Rancher.
follow the welcome instructions on the screen and it will land up to your Global screen of clusters.
once your setup is complete, start adding any of your k8s-cluster.
getting start with rancher via Docker
$ docker pull rancher/rancher
$ docker run -d --restart=unless-stopped -p 61090:80 -p 61091:443 -v /software/bea/rancher:/var/lib/rancher --privileged rancher/rancher:latest
follow the welcome instructions on the screen and it will land up to your Global screen of clusters.
once your setup is complete, start adding any of your k8s-cluster.
in this example I am going to add my vanilla k8s-cluster which is running on-prem.
navigate to Add-cluster > other cluster > give a name to your cluster
rancher will generate commands for you to import your cluster, which you need to run in your cluster CLI as below
$ kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user [USER_ACCOUNT]
$ kubectl apply -f https://10.50.137.168:61091/v3/import/s8dkk7demo6fp2f6qffhmlkr.yaml
No comments:
Post a comment