Service

Contents

    Sets up networking in a K8s cluster.
    Label Selector → to select objects according to thier labels (not using their name or IP!)

    Types of services (access scope)

    Service Discovery

    How services are contacted by containers

    1. the service name is converted to IP address using the cluster DNS (using its /etc/resolv.conf table populated by Kubernetes)
    2. the app inside the container sends trafic to the virtual service IP
    3. On the node, the kube-proxy intercepts the request. This controller watches the API server for new services and endpoints. It formards the trafic to a pod IP.

    Proudly Powered by Zim 0.75.2.

    Template by Etienne Gandrille, based on ZeroFiveEight and using JQuery Toc Plugin.