SERVICE-Kubernetes

What is a service? An abstract way to expose an application running on a set ofĀ PodsĀ as a network service.With Kubernetes you don’t need to modify your application to use an unfamiliar service discovery mechanism. Types of Services in Kubernetes: cluster IP nodeport load balancer external name What is the use of service in Kubernetes? AĀ Service in KubernetesĀ is an abstraction which defines a logical set of Pods and a policy by which to access them.Ā ServicesĀ enable a loose coupling between dependent Pods.

Read more

Services In Kubernetes

Services in Kubernetes are logical abstraction for a deployed group of pod in cluster.Ā A service is responsible for exposing an interface to those pods, which enables network access from either within the cluster or between external processes and the service. Types Of Services In Kubernetes ClusterIP – exposes a service which is only accessible from within the cluster NodePort – exposes a services via static port on each node’s IP which help to access service from outside the cluster LoadBalancer

Read more

Declarative Languages

Difference between Compiled Language Vs Interpreted Language Vs Declarative Language Compiled Language A compiled language is a programming language where the source code is translated into machine code and the machine code is stored in a separate file. In this language, compilation errors prevent the code from compiling. The code of compiled language can be executed directly by the computerā€™s CPU. This language delivers better performance.Some examples of compiled languages are C, C++, C#, CLEO, COBOL. Interpreted Language An interpreted

Read more

What is declarative language

-DIFFERENCE BETWEEN COMPILED LANG Vs INTERPRETED LANG Vs DECLARATIVE LANG? 1.A compiled language is a programming language whose implementations are typically compilers and not interpreters 2.An interpreted language is a programming language whose implementations execute instructions directly and freely ,without previously compiling a program in to machine language instructions. 3.Declarative language is also called nonprocedural or very high level programming languages in which a program specifies . -Example for declarative language ? 1.xml 2.Yaml 3.Json -PROS And CONS OF Declarative

Read more

How to setup a kubernetes clustors in centos 7?

Summary of kubernetes clustor? Master API Server -> POD -> Container -> Docker Image -> Google Registry etcd -> POD -> Container -> Docker Image -> Google Registry Controller mgmr -> POD -> Container -> Docker Image -> Google Registry Schedular -> POD -> Container -> Docker Image -> Google Registry kubelet docker kube proxy -> POD -> Container -> Docker Image -> Google Registry kubectl kubeadm init Worker kubelet docker kube proxy -> POD -> Container -> Docker Image

Read more
1 82 83 84 85 86 185