Posts

Showing posts with the label Rancher

L4 Load Balancing on Kubernetes with Rancher

Image
  Login to Rancher and   Choose project from top menu in selected Cluster wherever you want to deploy the service (In my case in default project want to deploy the service) Click on Deploy Button 1.   Fill up the field details are as below Name of workload: any Scalable deployment of: no of pod want to deploy Dockers Image : Docker Image path (from private or public Registry Server) Namespace:  Default (Choose Accordingly) Choose L4 load balancer as a service from Drop down Publish the container port: Where the service will run under container On listening port: Host port which will be available As  s hown in below image Fill above form accordingly Now Click on launch button Workloads has been created and now running on 80 port. Click on created workload default page of nginx will open.As shown in below image Click on 80/tcp link

L7 Load Balancing (CLUSTER IP)on Kubernetes with Rancher

Image
  Login to Rancher and  Choose project from top menu in selected Cluster wherever you want to deploy the service (In my case in default project want to deploy the service) 2.   Fill up the field details are as below Name of workload: any Scalable deployment of: no of pod want to deploy Dockers Image : Docker Image path (From private or public registry server) Namespace:  Default (Choose Accordingly) Choose CLUSTER IP as a service from Drop down (L7 Load Balancer) Publish the container port: Where the service will run under container On listening port: Host port which will be available As given below image: 3. So GOTO Load Balancer from top menu and create Ingress service named medium As shown in below image 4.  Fill  u p the field details are as below Namespace : Default (Choose Accordingly) RULES: if select first option then Rancher will generate any random host name otherwise choose specify hostname to use and give any host name Path: where is the...