{"id":23052,"date":"2023-08-07T14:11:41","date_gmt":"2023-08-07T14:11:41","guid":{"rendered":"https:\/\/tutorialsdojo.com\/?p=23052"},"modified":"2023-08-09T23:17:39","modified_gmt":"2023-08-09T23:17:39","slug":"kubernetes-services","status":"publish","type":"post","link":"https:\/\/tutorialsdojo.com\/kubernetes-services\/","title":{"rendered":"Kubernetes Services"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;\" ><div class=\"fusion-builder-row fusion-row\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_4 1_4 fusion-one-fourth fusion-column-first left-bookmark-panel\" style=\"--awb-bg-size:cover;width:25%;width:calc(25% - ( ( 4% + 4% ) * 0.25 ) );margin-right: 4%;\" id=\"left-bookmark-panel\"><div class=\"fusion-column-wrapper fusion-flex-column-wrapper-legacy\"><ul style=\"--awb-divider-color:#f09a3e;--awb-line-height:23.8px;--awb-icon-width:23.8px;--awb-icon-height:23.8px;--awb-icon-margin:9.8px;--awb-content-margin:33.6px;\" class=\"fusion-checklist fusion-checklist-1 fusion-checklist-default fusion-checklist-divider type-icons\">\n<h2><span style=\"font-size: 24px;\"><strong>Bookmarks<\/strong><\/span><\/h2>\n<li class=\"fusion-li-item\" style=\"\"><span class=\"icon-wrapper circle-no\"><i class=\"fusion-li-icon fa-hand-point-right far\" aria-hidden=\"true\"><\/i><\/span><div class=\"fusion-li-item-content\">\n<p><a href=\"#what-is-a-pod\">What is a Pod?<\/a><\/p>\n<\/div><\/li><li class=\"fusion-li-item\" style=\"\"><span class=\"icon-wrapper circle-no\"><i class=\"fusion-li-icon fa-hand-point-right far\" aria-hidden=\"true\"><\/i><\/span><div class=\"fusion-li-item-content\">\n<p><a href=\"#what-are-kubernetes-services\">What are Kubernetes Services?<\/a><\/p>\n<\/div><\/li><li class=\"fusion-li-item\" style=\"\"><span class=\"icon-wrapper circle-no\"><i class=\"fusion-li-icon fa-hand-point-right far\" aria-hidden=\"true\"><\/i><\/span><div class=\"fusion-li-item-content\">\n<p><a href=\"#kubernetes-service-types\">Kubernetes Service Types<\/a><\/p>\n<\/div><\/li><li class=\"fusion-li-item\" style=\"\"><span class=\"icon-wrapper circle-no\"><i class=\"fusion-li-icon fa-hand-point-right far\" aria-hidden=\"true\"><\/i><\/span><div class=\"fusion-li-item-content\">\n<p><a href=\"#defining-a-service\">Defining a Service<\/a><\/p>\n<\/div><\/li><li class=\"fusion-li-item\" style=\"\"><span class=\"icon-wrapper circle-no\"><i class=\"fusion-li-icon fa-hand-point-right far\" aria-hidden=\"true\"><\/i><\/span><div class=\"fusion-li-item-content\">\n<p><a href=\"#headless-service\">Headless Service<\/a><\/p>\n<\/div><\/li><\/ul><div class=\"fusion-clearfix\"><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_2 1_2 fusion-one-half\" style=\"--awb-bg-size:cover;width:50%;width:calc(50% - ( ( 4% + 4% ) * 0.5 ) );margin-right: 4%;\"><div class=\"fusion-column-wrapper fusion-flex-column-wrapper-legacy\"><div class=\"fusion-text fusion-text-1\"><h2 style=\"margin-top: 16.7pt;\"><span lang=\"EN-US\"><a id=\"what-is-a-pod\"><\/a>What is a <span style=\"letter-spacing: -.25pt;\">Pod?<\/span><\/span><\/h2>\n<p>A Pod is a Kubernetes Object that has one or more containers running inside it. A Pod will ensure that the containers inside it share the same resources and local network. Each Pod gets its own IP address.<\/p>\n<p>If you use a Deployment to run your app, that Deployment can create and destroy Pods dynamically. Pods are created and destroyed to match the desired state of your cluster.<\/p>\n<p>Pods are ephemeral resources, meaning that they can be deleted and recreated as needed by Kubernetes. As such, you shouldn&#8217;t expect an individual Pod to be reliable and durable. This is by design.<\/p>\n<h2><span lang=\"EN-US\"><a id=\"what-are-kubernetes-services\"><\/a>What are Kubernetes <span style=\"letter-spacing: -.1pt;\">Services?<\/span><\/span><\/h2>\n<p>In Kubernetes, a Service is a method for exposing a network application that is running as one or more Pods in your Cluster.<\/p>\n<p>Since Pods are ephemeral, we need to have a mechanism for Pods inside the Cluster to find other Pods. This is when we use Kubernetes Services.<\/p>\n<p>The Service API is an abstraction to help you expose a group of Pods over a network. Each Service object defines a logical set of endpoints along with a policy to make these Pods available.<\/p>\n<p>The Pods that a Service will use can be retrieved with a selector.<\/p>\n<h2><span lang=\"EN-US\"><a id=\"kubernetes-service-types\"><\/a>Kubernetes Service <span style=\"letter-spacing: -.2pt;\">Types<\/span><\/span><\/h2>\n<p>In Kubernetes, you might need to expose a service via an external IP address. This is usually done for frontend and API endpoints.<\/p>\n<p>These are the four types of Services:<\/p>\n<ul>\n<li>ClusterIP<\/li>\n<li>NodePort<\/li>\n<li>LoadBalancer<\/li>\n<li>ExternalName<\/li>\n<\/ul>\n<h3 style=\"margin-top: .05pt;\"><span lang=\"EN-US\" style=\"color: #424242; letter-spacing: -.1pt;\">ClusterIP<\/span><\/h3>\n<p>By default, this is the Service Type used by Kubernetes. ClusterIP will allow the Service to be reachable from within the Cluster. To expose this Service to outside the Cluster (for example, by allowing the public Internet to access the Service), an Ingress or Gateway is used.<\/p>\n<p>ClusterIP works by assigning an IP address from the Cluster&#8217;s reserved pool of IP addresses.<\/p>\n<h3 style=\"margin-top: .05pt;\"><span lang=\"EN-US\" style=\"color: #424242; letter-spacing: -.1pt;\">NodePort<\/span><\/h3>\n<p>This exposes the Service on each Node&#8217;s IP at a static port.<\/p>\n<p>NodePort works by having the Kubernetes Control Plane allocate a port from a predefined range (default: 30000 &#8211; 32767). The Node in which the Service resides in will proxy a port from that range, allowing access to the Service.<\/p>\n<h3><span lang=\"EN-US\" style=\"color: #424242; letter-spacing: -.1pt;\">LoadBalancer<\/span><\/h3>\n<p>This exposes the Service using an external load balancer. Kubernetes doesn&#8217;t come with a built-in load balancer but can integrate with most load balancers (like Nginx) and any supported Cloud provider.<\/p>\n<h3><span lang=\"EN-US\" style=\"color: #424242; letter-spacing: -.1pt;\">ExternalName<\/span><\/h3>\n<p>This maps the Service to the value of the &#8220;externalName&#8221; field. The mapping uses the cluster&#8217;s DNS server to return a CNAME record with the value.<\/p>\n<h2 style=\"margin-top: 3.0pt;\"><span lang=\"EN-US\"><a id=\"defining-a-service\"><\/a>Defining a <span style=\"letter-spacing: -.1pt;\">Service<\/span><\/span><\/h2>\n<h3><span lang=\"EN-US\" style=\"color: #424242; letter-spacing: -.1pt;\">ClusterIP<\/span><\/h3>\n<p>By default, ClusterIP is used for a Service. Other Service Types are based on this configuration. Here is an example of a Service manifest:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border-style: solid; border-color: #000000;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\">\n<p>apiVersion: v1<\/p>\n<p>kind: Service<\/p>\n<p>metadata:<\/p>\n<p>\u00a0 name: my-service<\/p>\n<p>spec:<\/p>\n<p>\u00a0 selector:<\/p>\n<p>\u00a0 app.kubernetes.io\/name: MyApp<\/p>\n<p>\u00a0 ports:<\/p>\n<p>\u00a0 \u00a0&#8211; protocol: TCP<\/p>\n<p>\u00a0 \u00a0 \u00a0 port: 80<\/p>\n<p>\u00a0 \u00a0 \u00a0 targetPort: 9376<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>After saving this yaml to disk, you can apply the yaml with the following command:<\/p>\n<p>$ kubectl apply -f [filename.yaml]<\/p>\n<p>This manifest creates a Service named &#8220;my-service&#8221;. By default, this is a ClusterIP service type. The Service targets TCP port 9376 on any pod with the app.kubernetes.io\/name: MyApp label.<\/p>\n<p>After creation, Kubernetes will assign the cluster&#8217;s IP address to this Service via Kubernetes virtual IPs and Service Proxies.<\/p>\n<p>You can define ports with names instead of hardcoding them in the Service. Here is an example:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border-style: solid; border-color: #000000;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\">\n<p>apiVersion: v1<\/p>\n<p>kind: Pod<\/p>\n<p>metadata:<\/p>\n<p>\u00a0 name: nginx<\/p>\n<p>\u00a0 labels:<\/p>\n<p style=\"padding-left: 40px;\">app.kubernetes.io\/name: proxy<\/p>\n<p>spec:<\/p>\n<p>\u00a0 containers:<\/p>\n<p style=\"padding-left: 40px;\">&#8211; name: nginx<\/p>\n<p style=\"padding-left: 40px;\">\u00a0 image: nginx:stable<\/p>\n<p style=\"padding-left: 40px;\">\u00a0 ports:<\/p>\n<p style=\"padding-left: 40px;\">\u00a0 &#8211; containerPort: 80<\/p>\n<p style=\"padding-left: 40px;\">\u00a0 \u00a0 name: http-web-svc<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border-style: solid; border-color: #000000;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\">\n<p>&#8212;<\/p>\n<p>apiVersion: v1<\/p>\n<p>kind: Service<\/p>\n<p>metadata:<\/p>\n<p>\u00a0 name: nginx-service<\/p>\n<p>spec:<\/p>\n<p>\u00a0 selector:<\/p>\n<p>\u00a0 app.kubernetes.io\/name: proxy<\/p>\n<p>\u00a0 ports:<\/p>\n<p>\u00a0 \u00a0&#8211; name: name-of-service-port<\/p>\n<p>\u00a0 \u00a0 protocol: TCP<\/p>\n<p>\u00a0 \u00a0 port: 80<\/p>\n<p>\u00a0 \u00a0 targetPort: http-web-svc<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can also define multiple ports for a Service. Here is an example:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border-style: solid; border-color: #000000;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\">\n<p>apiVersion: v1<\/p>\n<p>kind: Service<\/p>\n<p>metadata:<\/p>\n<p>\u00a0 name: my-service<\/p>\n<p>spec:<\/p>\n<p>\u00a0 selector:<\/p>\n<p>\u00a0 app.kubernetes.io\/name: MyApp<\/p>\n<p>\u00a0 ports:<\/p>\n<p style=\"padding-left: 40px;\">&#8211; name: http<\/p>\n<p style=\"padding-left: 40px;\">protocol: TCP<\/p>\n<p style=\"padding-left: 40px;\">port: 80<\/p>\n<p style=\"padding-left: 40px;\">targetPort: 9376<\/p>\n<p style=\"padding-left: 40px;\">&#8211; name: https<\/p>\n<p style=\"padding-left: 40px;\">protocol: TCP<\/p>\n<p style=\"padding-left: 40px;\">port: 443<\/p>\n<p style=\"padding-left: 40px;\">targetPort: 9377<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u00a0<\/h3>\n<h3 style=\"margin-top: 4.55pt;\"><span lang=\"EN-US\" style=\"color: #424242; letter-spacing: -.1pt;\">NodePort<\/span><\/h3>\n<p>This is an example of a NodePort:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border-style: solid; border-color: #000000;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\">\n<p>apiVersion: v1<\/p>\n<p>kind: Service<\/p>\n<p>metadata:<\/p>\n<p>\u00a0 name: my-service<\/p>\n<p>spec:<\/p>\n<p>\u00a0 type: NodePort<\/p>\n<p>\u00a0 selector:<\/p>\n<p>\u00a0 app.kubernetes.io\/name: MyApp<\/p>\n<p>ports:<\/p>\n<p>\u00a0 &#8211; protocol: TCP port: 80<\/p>\n<p>\u00a0 targetPort: 9376<\/p>\n<p>\u00a0 # optional. without this line, Kubernetes will use the default port range<\/p>\n<p>\u00a0 nodePort: 30007<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Note that it is the same as a ClusterIP except we explicitly declare .spec.type as NodePort and added an optional .spec.ports.nodePort value.<\/p>\n<h3><span lang=\"EN-US\" style=\"color: #424242; letter-spacing: -.1pt;\">LoadBalancer<\/span><\/h3>\n<p>This is an example of a LoadBalancer:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border-style: solid; border-color: #000000;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\">\n<p>apiVersion: v1<\/p>\n<p>kind: Service<\/p>\n<p>metadata:<\/p>\n<p>\u00a0 name: my-service<\/p>\n<p>spec:<\/p>\n<p>\u00a0 selector:<\/p>\n<p>\u00a0 app.kubernetes.io\/name: MyApp<\/p>\n<p>\u00a0 ports:<\/p>\n<p style=\"padding-left: 40px;\">&#8211; protocol: TCP<\/p>\n<p style=\"padding-left: 40px;\">port: 80<\/p>\n<p style=\"padding-left: 40px;\">targetPort: 9376<\/p>\n<p>\u00a0 clusterIP: 10.0.171.201<\/p>\n<p>type: LoadBalancer<\/p>\n<p>status:<\/p>\n<p>\u00a0 loadBalancer:<\/p>\n<p style=\"padding-left: 40px;\">ingress:<\/p>\n<p style=\"padding-left: 40px;\">&#8211; ip: 192.0.2.127<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Traffic from the load balancer will be directed to the Pod with the app.kubernetes.io\/name: MyApp label.<\/p>\n<p>If a cloud-controller-manager component is used in the Cluster, it will configure the external load balancer to forward traffic to the assigned node port. This can be omitted if the Cloud provider supports this.<\/p>\n<h3><span lang=\"EN-US\" style=\"color: #424242; letter-spacing: -.1pt;\">ExternalName<\/span><\/h3>\n<p>This is an example of a ExternalName Service:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border-style: solid; border-color: #000000;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\">\n<p>apiVersion: v1<\/p>\n<p>kind: Service<\/p>\n<p>metadata:<\/p>\n<p>\u00a0 name: my-service namespace: prod<\/p>\n<p>\u00a0 spec:<\/p>\n<p>\u00a0 type: ExternalName<\/p>\n<p>\u00a0 externalName: my.database.example.com<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>When a request for my-service.prod.svc.cluster.local is sent to the cluster DNS Service, this configuration will returns a CNAME record with the externalName value of \u201cmy.database.example.com\u201d.<\/p>\n<h2><span lang=\"EN-US\"><a id=\"headless-service\"><\/a>Headless <span style=\"letter-spacing: -.1pt;\">Service<\/span><\/span><\/h2>\n<p>If you plan to use a different or customized service discovery mechanism other than Kubernetes&#8217; default implementation, you can run a Headless Service.<\/p>\n<p>A Headless Service doesn&#8217;t use load-balancing or a single Service IP. A cluster IP is not allocated, kube-proxy will not handle these services, and Kubernetes will not provide a proxy.<\/p>\n<p>A Headless Service is created when the value for .spec.clusterIP is set to &#8220;None&#8221;.<\/p>\n<p>The redirection happens at the DNS level instead of forwarding or proxying.<\/p>\n<p>&nbsp;<\/p>\n<\/div><div class=\"fusion-sharing-box fusion-sharing-box-1 boxed-icons has-taglines layout-floated layout-medium-floated layout-small-floated\" style=\"background-color:rgba(250,249,248,0);padding:0;--awb-layout:row;--awb-alignment-small:space-between;\" data-title=\"Kubernetes Services\" data-description=\"Bookmarks\r\n\r\nWhat is a Pod?\r\n \r\nWhat are Kubernetes Services?\r\n \r\nKubernetes Service Types\r\n \r\nDefining a Service\r\n \r\nHeadless Service\r\n  \r\nWhat is a Pod?\r\nA Pod is a Kubernetes Object that has one or more containers running inside it. A Pod will ensure that the\" data-link=\"https:\/\/tutorialsdojo.com\/aws-solutions-architect-associate-exam-tips\"><div class=\"fusion-social-networks sharingbox-shortcode-icon-wrapper sharingbox-shortcode-icon-wrapper-1 boxed-icons\"><span><a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Ftutorialsdojo.com%2Faws-solutions-architect-associate-exam-tips&amp;t=Kubernetes%20Services\" target=\"_blank\" rel=\"noreferrer\" title=\"Facebook\" aria-label=\"Facebook\" data-placement=\"left\" data-toggle=\"tooltip\" data-title=\"Facebook\"><i class=\"fusion-social-network-icon fusion-tooltip fusion-facebook awb-icon-facebook\" style=\"color:#ffffff;background-color:#3b5998;border-color:#3b5998;border-radius:4px;\" aria-hidden=\"true\"><\/i><\/a><\/span><span><a href=\"https:\/\/twitter.com\/share?text=Kubernetes%20Services&amp;url=https%3A%2F%2Ftutorialsdojo.com%2Faws-solutions-architect-associate-exam-tips\" target=\"_blank\" rel=\"noopener noreferrer\" title=\"Twitter\" aria-label=\"Twitter\" data-placement=\"left\" data-toggle=\"tooltip\" data-title=\"Twitter\"><i class=\"fusion-social-network-icon fusion-tooltip fusion-twitter awb-icon-twitter\" style=\"color:#ffffff;background-color:#55acee;border-color:#55acee;border-radius:4px;\" aria-hidden=\"true\"><\/i><\/a><\/span><span><a href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&amp;url=https%3A%2F%2Ftutorialsdojo.com%2Faws-solutions-architect-associate-exam-tips&amp;title=Kubernetes%20Services&amp;summary=Bookmarks%0D%0A%0D%0AWhat%20is%20a%20Pod%3F%0D%0A%20%0D%0AWhat%20are%20Kubernetes%20Services%3F%0D%0A%20%0D%0AKubernetes%20Service%20Types%0D%0A%20%0D%0ADefining%20a%20Service%0D%0A%20%0D%0AHeadless%20Service%0D%0A%20%20%20%0D%0AWhat%20is%20a%20Pod%3F%0D%0AA%20Pod%20is%20a%20Kubernetes%20Object%20that%20has%20one%20or%20more%20containers%20running%20inside%20it.%20A%20Pod%20will%20ensure%20that%20the\" target=\"_blank\" rel=\"noopener noreferrer\" title=\"LinkedIn\" aria-label=\"LinkedIn\" data-placement=\"left\" data-toggle=\"tooltip\" data-title=\"LinkedIn\"><i class=\"fusion-social-network-icon fusion-tooltip fusion-linkedin awb-icon-linkedin\" style=\"color:#ffffff;background-color:#0077b5;border-color:#0077b5;border-radius:4px;\" aria-hidden=\"true\"><\/i><\/a><\/span><\/div><\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-2 fusion_builder_column_1_4 1_4 fusion-one-fourth fusion-column-last\" style=\"--awb-bg-size:cover;width:25%;width:calc(25% - ( ( 4% + 4% ) * 0.25 ) );\"><div class=\"fusion-column-wrapper fusion-flex-column-wrapper-legacy\"><div class=\"fusion-widget-area awb-widget-area-element fusion-widget-area-1 fusion-content-widget-area\" style=\"--awb-title-size:18px;--awb-title-color:#333c4e;--awb-padding:0px 0px 0px 0px;\"><section id=\"search-2\" class=\"widget widget_search\" style=\"border-style: solid;border-color:transparent;border-width:0px;\">\t\t<form role=\"search\" class=\"searchform fusion-search-form  fusion-search-form-classic\" method=\"get\" action=\"https:\/\/tutorialsdojo.com\/\">\n\t\t\t<div class=\"fusion-search-form-content\">\n\n\t\t\t\t\n\t\t\t\t<div class=\"fusion-search-field search-field\">\n\t\t\t\t\t<label><span class=\"screen-reader-text\">Search for:<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"search\" value=\"\" name=\"s\" class=\"s\" placeholder=\"Search...\" required aria-required=\"true\" aria-label=\"Search...\"\/>\n\t\t\t\t\t\t\t\t\t\t\t<\/label>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"fusion-search-button search-button\">\n\t\t\t\t\t<input type=\"submit\" class=\"fusion-search-submit searchsubmit\" aria-label=\"Search\" value=\"&#xf002;\" \/>\n\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\n\t\t\t<\/div>\n\n\n\t\t\t\n\t\t<\/form>\n\t\t<\/section><section id=\"text-49\" class=\"widget widget_text\" style=\"border-style: solid;border-color:transparent;border-width:0px;\"><div class=\"heading\"><h4 class=\"widget-title\">\ud83d\udcda $2.99 USD Starting Price \u2014 Save 40% on All eBooks<\/h4><\/div>\t\t\t<div class=\"textwidget\"><p><a href=\"https:\/\/portal.tutorialsdojo.com\/shop\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-9669 size-full\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2026\/10\/TD-40-all-eBooks-Sidebar_19OCT26-3-jpg.webp\" alt=\"Tutorials Dojo portal\" width=\"400\" height=\"224\" \/><\/a><\/p>\n<\/div>\n\t\t<\/section><section id=\"text-53\" class=\"widget widget_text\" style=\"border-style: solid;border-color:transparent;border-width:0px;\"><div class=\"heading\"><h4 class=\"widget-title\">Turn Your Team Into Cloud-Ready Professionals Today<\/h4><\/div>\t\t\t<div class=\"textwidget\"><p><a href=\"https:\/\/portal.tutorialsdojo.com\/business?tdbusiness145\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-9669 size-full\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2026\/06\/Business-Featured-image-1-2-jpg.webp\" alt=\"Tutorials Dojo for Business\" width=\"400\" height=\"224\" \/><\/a><\/p>\n<\/div>\n\t\t<\/section><section id=\"text-38\" class=\"widget widget_text\" style=\"border-style: solid;border-color:transparent;border-width:0px;\"><div class=\"heading\"><h4 class=\"widget-title\">Learn AWS with our PlayCloud Hands-On Labs<\/h4><\/div>\t\t\t<div class=\"textwidget\"><p><a href=\"https:\/\/portal.tutorialsdojo.com\/playcloud\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-13018 size-full\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2024\/09\/PlayCloud-Products-jpg.webp\" alt=\"\" width=\"400\" height=\"224\" \/><\/a><\/p>\n<\/div>\n\t\t<\/section><section id=\"text-27\" class=\"widget widget_text\" style=\"border-style: solid;border-color:transparent;border-width:0px;\"><div class=\"heading\"><h4 class=\"widget-title\">$2.99 AWS and Azure Exam Study Guide eBooks<\/h4><\/div>\t\t\t<div class=\"textwidget\"><p><a href=\"https:\/\/portal.tutorialsdojo.com\/product-category\/ebooks\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-16263 size-full\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2021\/09\/TD-Ebook.jpg\" alt=\"tutorials dojo study guide eBook\" width=\"400\" height=\"224\" srcset=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2021\/09\/TD-Ebook-200x112.jpg 200w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2021\/09\/TD-Ebook-300x168.jpg 300w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2021\/09\/TD-Ebook.jpg 400w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<\/div>\n\t\t<\/section><section id=\"text-47\" class=\"widget widget_text\" style=\"border-style: solid;border-color:transparent;border-width:0px;\"><div class=\"heading\"><h4 class=\"widget-title\">Learn GCP By Doing! Try Our GCP PlayCloud<\/h4><\/div>\t\t\t<div class=\"textwidget\"><p><a href=\"https:\/\/portal.tutorialsdojo.com\/product\/gcp-playcloud-labs\/\"><img decoding=\"async\" class=\"alignnone size-full wp-image-35083\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/GCP-sandbox-google-cloud-playground-sandbox-gcp-examtopics-list-labs-jpg.webp\" alt=\"\" width=\"1250\" height=\"700\" srcset=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/GCP-sandbox-google-cloud-playground-sandbox-gcp-examtopics-list-labs-200x112.webp 200w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/GCP-sandbox-google-cloud-playground-sandbox-gcp-examtopics-list-labs-300x168.webp 300w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/GCP-sandbox-google-cloud-playground-sandbox-gcp-examtopics-list-labs-400x224.webp 400w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/GCP-sandbox-google-cloud-playground-sandbox-gcp-examtopics-list-labs-600x336.webp 600w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/GCP-sandbox-google-cloud-playground-sandbox-gcp-examtopics-list-labs-768x430.webp 768w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/GCP-sandbox-google-cloud-playground-sandbox-gcp-examtopics-list-labs-800x448.webp 800w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/GCP-sandbox-google-cloud-playground-sandbox-gcp-examtopics-list-labs-1024x573.webp 1024w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/GCP-sandbox-google-cloud-playground-sandbox-gcp-examtopics-list-labs-1200x672.webp 1200w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/GCP-sandbox-google-cloud-playground-sandbox-gcp-examtopics-list-labs-jpg.webp 1250w\" sizes=\"(max-width: 1250px) 100vw, 1250px\" \/><\/a><\/p>\n<\/div>\n\t\t<\/section><section id=\"media_image-14\" class=\"widget--udemy widget--udemy-socials widget widget_media_image\" style=\"border-style: solid;border-color:transparent;border-width:0px;\"><div class=\"heading\"><h4 class=\"widget-title\">Learn Azure with our Azure PlayCloud<\/h4><\/div><a href=\"https:\/\/portal.tutorialsdojo.com\/product\/azure-playcloud-labs\/\"><img width=\"1250\" height=\"700\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/td-azure-sandbox-azure-playcloud-tutorialsdojo-az-104-examtopics-list-labs.png\" class=\"image wp-image-35084  attachment-full size-full not-transparent\" alt=\"\" decoding=\"async\" style=\"max-width: 100%; height: auto;--dominant-color: #52708a;\" srcset=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/td-azure-sandbox-azure-playcloud-tutorialsdojo-az-104-examtopics-list-labs-200x112.png 200w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/td-azure-sandbox-azure-playcloud-tutorialsdojo-az-104-examtopics-list-labs-300x168.png 300w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/td-azure-sandbox-azure-playcloud-tutorialsdojo-az-104-examtopics-list-labs-400x224.png 400w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/td-azure-sandbox-azure-playcloud-tutorialsdojo-az-104-examtopics-list-labs-600x336.png 600w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/td-azure-sandbox-azure-playcloud-tutorialsdojo-az-104-examtopics-list-labs-768x430.png 768w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/td-azure-sandbox-azure-playcloud-tutorialsdojo-az-104-examtopics-list-labs-800x448.png 800w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/td-azure-sandbox-azure-playcloud-tutorialsdojo-az-104-examtopics-list-labs-1024x573.png 1024w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/td-azure-sandbox-azure-playcloud-tutorialsdojo-az-104-examtopics-list-labs-1200x672.png 1200w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2025\/11\/td-azure-sandbox-azure-playcloud-tutorialsdojo-az-104-examtopics-list-labs.png 1250w\" sizes=\"(max-width: 1250px) 100vw, 1250px\" data-has-transparency=\"false\" data-dominant-color=\"52708a\" \/><\/a><\/section><section id=\"text-43\" class=\"widget widget_text\" style=\"border-style: solid;border-color:transparent;border-width:0px;\"><div class=\"heading\"><h4 class=\"widget-title\">FREE AI and AWS Digital Courses<\/h4><\/div>\t\t\t<div class=\"textwidget\"><p><a href=\"https:\/\/portal.tutorialsdojo.com\/product-category\/aws\/aws-digital-courses-2\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-16244 size-full\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2023\/05\/aws-certification-TutorialsDojo-Free-Digital-Courses-jpg.webp\" alt=\"\" width=\"400\" height=\"224\" \/><\/a><\/p>\n<\/div>\n\t\t<\/section><section id=\"text-21\" class=\"widget--udemy widget widget_text\"><div class=\"heading\"><h4 class=\"widget-title\">FREE AWS, Azure, GCP Practice Test Samplers<\/h4><\/div>\t\t\t<div class=\"textwidget\"><p><a href=\"https:\/\/portal.tutorialsdojo.com\/product-category\/free-practice-exams\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-9295 size-full\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/07\/free-sampler.jpg\" alt=\"\" width=\"400\" height=\"224\" srcset=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/07\/free-sampler-200x112.jpg 200w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/07\/free-sampler-300x168.jpg 300w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/07\/free-sampler.jpg 400w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<\/div>\n\t\t<\/section><section id=\"text-52\" class=\"widget widget_text\" style=\"border-style: solid;border-color:transparent;border-width:0px;\">\t\t\t<div class=\"textwidget\"><p><a href=\"https:\/\/portal.tutorialsdojo.com\/view-all-bundle-courses\/\"><img decoding=\"async\" class=\"alignnone size-full wp-image-34983\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2026\/02\/AWS-Login-AWS-Certification-Solutions-Architect-Associate-SAA-C03-examtopics-not-SAA-C04-dumps-not-SAA-C03-dumps-not-AWS-SAA-C04-dumps-jpg.webp\" alt=\"SAA-C03 Exam Guide SAA-C03 examtopics AWS Certified Solutions Architect Associate\" width=\"1928\" height=\"1163\" \/><\/a><\/p>\n<\/div>\n\t\t<\/section><section id=\"text-40\" class=\"widget--udemy widget widget_text\"><div class=\"heading\"><h4 class=\"widget-title\">Subscribe to our YouTube Channel<\/h4><\/div>\t\t\t<div class=\"textwidget\"><p><a href=\"https:\/\/www.youtube.com\/channel\/UCw4cxFG34-cCbG5RdA-7mTw\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-13778 size-full\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2021\/04\/TD-Sidebar-Youtube.jpg\" alt=\"Tutorials Dojo YouTube Channel\" width=\"400\" height=\"224\" srcset=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2021\/04\/TD-Sidebar-Youtube-200x112.jpg 200w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2021\/04\/TD-Sidebar-Youtube-300x168.jpg 300w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2021\/04\/TD-Sidebar-Youtube.jpg 400w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<\/div>\n\t\t<\/section><section id=\"media_image-10\" class=\"widget--udemy widget--udemy-socials widget widget_media_image\" style=\"border-style: solid;border-color:transparent;border-width:0px;\"><div class=\"heading\"><h4 class=\"widget-title\">Follow Us On Linkedin<\/h4><\/div><a href=\"https:\/\/www.linkedin.com\/company\/tutorials-dojo\/\"><img width=\"400\" height=\"224\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/09\/follow-us-on-linkedin.jpg\" class=\"image wp-image-11068  attachment-full size-full\" alt=\"\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/09\/follow-us-on-linkedin-200x112.jpg 200w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/09\/follow-us-on-linkedin-300x168.jpg 300w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/09\/follow-us-on-linkedin.jpg 400w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/section><section id=\"media_image-12\" class=\"widget--udemy widget--udemy-socials widget widget_media_image\" style=\"border-style: solid;border-color:transparent;border-width:0px;\"><a href=\"http:\/\/slack.tutorialsdojo.com\/\"><img width=\"400\" height=\"224\" src=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/09\/join-us-on-slack.jpg\" class=\"image wp-image-11067  attachment-full size-full\" alt=\"\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/09\/join-us-on-slack-200x112.jpg 200w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/09\/join-us-on-slack-300x168.jpg 300w, https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2020\/09\/join-us-on-slack.jpg 400w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/section><div class=\"fusion-additional-widget-content\"><\/div><\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":23056,"comment_status":"open","ping_status":"open","sticky":false,"template":"single-cheatsheet-article.php","format":"standard","meta":[],"categories":[4378,1],"tags":[4400,4403,4404,4379,4398,4402,4401,4399],"ppma_author":[4388],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.8 (Yoast SEO v21.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Kubernetes Services - Tutorials Dojo<\/title>\n<meta name=\"description\" content=\"In Kubernetes, a Service is a method for exposing a network application that is running as one or more Pods in your Cluster.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tutorialsdojo.com\/kubernetes-services\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Kubernetes Services\" \/>\n<meta property=\"og:description\" content=\"In Kubernetes, a Service is a method for exposing a network application that is running as one or more Pods in your Cluster.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorialsdojo.com\/kubernetes-services\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorials Dojo\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/LearnWithTutorialsDojo\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-07T14:11:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-09T23:17:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2023\/08\/4-jpg.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"1046\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Tutorials Dojo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tutorialsdojo\" \/>\n<meta name=\"twitter:site\" content=\"@tutorialsdojo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jon Bonso\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/tutorialsdojo.com\/kubernetes-services\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/tutorialsdojo.com\/kubernetes-services\/\"},\"author\":{\"name\":\"Jon Bonso\",\"@id\":\"https:\/\/tutorialsdojo.com\/#\/schema\/person\/71b2ea146783b3b8c2cf3f3fd21e1a43\"},\"headline\":\"Kubernetes Services\",\"datePublished\":\"2023-08-07T14:11:41+00:00\",\"dateModified\":\"2023-08-09T23:17:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/tutorialsdojo.com\/kubernetes-services\/\"},\"wordCount\":1442,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/tutorialsdojo.com\/#organization\"},\"keywords\":[\"ClusterIP\",\"ExternalName\",\"Headless Service\",\"Kubernetes\",\"Kubernetes Services\",\"LoadBalancer\",\"NodePort\",\"Pod\"],\"articleSection\":[\"Kubernetes Cheat Sheets\",\"Others\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/tutorialsdojo.com\/kubernetes-services\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorialsdojo.com\/kubernetes-services\/\",\"url\":\"https:\/\/tutorialsdojo.com\/kubernetes-services\/\",\"name\":\"Kubernetes Services - Tutorials Dojo\",\"isPartOf\":{\"@id\":\"https:\/\/tutorialsdojo.com\/#website\"},\"datePublished\":\"2023-08-07T14:11:41+00:00\",\"dateModified\":\"2023-08-09T23:17:39+00:00\",\"description\":\"In Kubernetes, a Service is a method for exposing a network application that is running as one or more Pods in your Cluster.\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorialsdojo.com\/kubernetes-services\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorialsdojo.com\/kubernetes-services\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorialsdojo.com\/kubernetes-services\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorialsdojo.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Others\",\"item\":\"https:\/\/tutorialsdojo.com\/category\/others\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Kubernetes Services\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tutorialsdojo.com\/#website\",\"url\":\"https:\/\/tutorialsdojo.com\/\",\"name\":\"Tutorials Dojo\",\"description\":\"Your One-Stop Learning Portal\",\"publisher\":{\"@id\":\"https:\/\/tutorialsdojo.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tutorialsdojo.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/tutorialsdojo.com\/#organization\",\"name\":\"Tutorials Dojo\",\"url\":\"https:\/\/tutorialsdojo.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorialsdojo.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2022\/07\/tutorialsdojo-logo-blue.png\",\"contentUrl\":\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2022\/07\/tutorialsdojo-logo-blue.png\",\"width\":180,\"height\":60,\"caption\":\"Tutorials Dojo\"},\"image\":{\"@id\":\"https:\/\/tutorialsdojo.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/LearnWithTutorialsDojo\/\",\"https:\/\/twitter.com\/tutorialsdojo\",\"https:\/\/www.linkedin.com\/company\/tutorials-dojo\",\"https:\/\/www.youtube.com\/channel\/UCw4cxFG34-cCbG5RdA-7mTw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/tutorialsdojo.com\/#\/schema\/person\/71b2ea146783b3b8c2cf3f3fd21e1a43\",\"name\":\"Jon Bonso\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorialsdojo.com\/#\/schema\/person\/image\/868e1c8e8cea93671088cc642c1cc22b\",\"url\":\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2016\/03\/Jon-Bonso-Tutorials-Dojo.jpg\",\"contentUrl\":\"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2016\/03\/Jon-Bonso-Tutorials-Dojo.jpg\",\"caption\":\"Jon Bonso\"},\"url\":\"https:\/\/tutorialsdojo.com\/author\/sensei\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Kubernetes Services - Tutorials Dojo","description":"In Kubernetes, a Service is a method for exposing a network application that is running as one or more Pods in your Cluster.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tutorialsdojo.com\/kubernetes-services\/","og_locale":"en_US","og_type":"article","og_title":"Kubernetes Services","og_description":"In Kubernetes, a Service is a method for exposing a network application that is running as one or more Pods in your Cluster.","og_url":"https:\/\/tutorialsdojo.com\/kubernetes-services\/","og_site_name":"Tutorials Dojo","article_publisher":"https:\/\/www.facebook.com\/LearnWithTutorialsDojo\/","article_published_time":"2023-08-07T14:11:41+00:00","article_modified_time":"2023-08-09T23:17:39+00:00","og_image":[{"width":2000,"height":1046,"url":"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2023\/08\/4-jpg.webp","type":"image\/jpeg"}],"author":"Tutorials Dojo","twitter_card":"summary_large_image","twitter_creator":"@tutorialsdojo","twitter_site":"@tutorialsdojo","twitter_misc":{"Written by":"Jon Bonso","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tutorialsdojo.com\/kubernetes-services\/#article","isPartOf":{"@id":"https:\/\/tutorialsdojo.com\/kubernetes-services\/"},"author":{"name":"Jon Bonso","@id":"https:\/\/tutorialsdojo.com\/#\/schema\/person\/71b2ea146783b3b8c2cf3f3fd21e1a43"},"headline":"Kubernetes Services","datePublished":"2023-08-07T14:11:41+00:00","dateModified":"2023-08-09T23:17:39+00:00","mainEntityOfPage":{"@id":"https:\/\/tutorialsdojo.com\/kubernetes-services\/"},"wordCount":1442,"commentCount":0,"publisher":{"@id":"https:\/\/tutorialsdojo.com\/#organization"},"keywords":["ClusterIP","ExternalName","Headless Service","Kubernetes","Kubernetes Services","LoadBalancer","NodePort","Pod"],"articleSection":["Kubernetes Cheat Sheets","Others"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/tutorialsdojo.com\/kubernetes-services\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/tutorialsdojo.com\/kubernetes-services\/","url":"https:\/\/tutorialsdojo.com\/kubernetes-services\/","name":"Kubernetes Services - Tutorials Dojo","isPartOf":{"@id":"https:\/\/tutorialsdojo.com\/#website"},"datePublished":"2023-08-07T14:11:41+00:00","dateModified":"2023-08-09T23:17:39+00:00","description":"In Kubernetes, a Service is a method for exposing a network application that is running as one or more Pods in your Cluster.","breadcrumb":{"@id":"https:\/\/tutorialsdojo.com\/kubernetes-services\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorialsdojo.com\/kubernetes-services\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/tutorialsdojo.com\/kubernetes-services\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorialsdojo.com\/"},{"@type":"ListItem","position":2,"name":"Others","item":"https:\/\/tutorialsdojo.com\/category\/others\/"},{"@type":"ListItem","position":3,"name":"Kubernetes Services"}]},{"@type":"WebSite","@id":"https:\/\/tutorialsdojo.com\/#website","url":"https:\/\/tutorialsdojo.com\/","name":"Tutorials Dojo","description":"Your One-Stop Learning Portal","publisher":{"@id":"https:\/\/tutorialsdojo.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tutorialsdojo.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/tutorialsdojo.com\/#organization","name":"Tutorials Dojo","url":"https:\/\/tutorialsdojo.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorialsdojo.com\/#\/schema\/logo\/image\/","url":"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2022\/07\/tutorialsdojo-logo-blue.png","contentUrl":"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2022\/07\/tutorialsdojo-logo-blue.png","width":180,"height":60,"caption":"Tutorials Dojo"},"image":{"@id":"https:\/\/tutorialsdojo.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/LearnWithTutorialsDojo\/","https:\/\/twitter.com\/tutorialsdojo","https:\/\/www.linkedin.com\/company\/tutorials-dojo","https:\/\/www.youtube.com\/channel\/UCw4cxFG34-cCbG5RdA-7mTw"]},{"@type":"Person","@id":"https:\/\/tutorialsdojo.com\/#\/schema\/person\/71b2ea146783b3b8c2cf3f3fd21e1a43","name":"Jon Bonso","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorialsdojo.com\/#\/schema\/person\/image\/868e1c8e8cea93671088cc642c1cc22b","url":"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2016\/03\/Jon-Bonso-Tutorials-Dojo.jpg","contentUrl":"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2016\/03\/Jon-Bonso-Tutorials-Dojo.jpg","caption":"Jon Bonso"},"url":"https:\/\/tutorialsdojo.com\/author\/sensei\/"}]}},"jetpack_featured_media_url":"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2023\/08\/4-jpg.webp","authors":[{"term_id":4388,"user_id":0,"is_guest":1,"slug":"tutorials-dojo","display_name":"Tutorials Dojo","avatar_url":{"url":"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2023\/08\/TD-logo-jpg.webp","url2x":"https:\/\/tutorialsdojo.com\/wp-content\/uploads\/2023\/08\/TD-logo-jpg.webp"},"description":"Tutorials Dojo offers the best AWS and other IT certification exam reviewers in different training modes to help you pass your certification exams on your first try!","first_name":"Tutorials","last_name":"Dojo","user_url":""}],"_links":{"self":[{"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/posts\/23052"}],"collection":[{"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/comments?post=23052"}],"version-history":[{"count":11,"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/posts\/23052\/revisions"}],"predecessor-version":[{"id":23068,"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/posts\/23052\/revisions\/23068"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/media\/23056"}],"wp:attachment":[{"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/media?parent=23052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/categories?post=23052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/tags?post=23052"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/tutorialsdojo.com\/wp-json\/wp\/v2\/ppma_author?post=23052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}