Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| elearning:workbooks:kubernetes_en:k8s04 [2025/01/03 14:35] – admin | elearning:workbooks:kubernetes_en:k8s04 [2025/01/19 14:20] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ~~PDF: | ~~PDF: | ||
| - | Version - **2024.01** | + | Version - **2025.01** |
| Last update : ~~LASTMOD~~ | Last update : ~~LASTMOD~~ | ||
| - | ======DOFE305 | + | ======DOE305 |
| - | =====Module content===== | + | =====Curriculum===== |
| - | **DOE305 - Network, Service and Microservices Architecture Management** | + | * **DOE305 - Network, Service and Microservices Architecture Management** |
| - | * Module contents | + | * Curriculum |
| - | * LAB #1 - Network and Service Management | + | * LAB #1 - Network and Service Management |
| - | * 1.1 - Introduction to Network Extensions | + | * 1.1 - Overview of Network Extensions |
| - | * 1.2 - DNS K8s | + | * 1.2 - DNS K8s |
| - | * Presentation | + | * Overview |
| - | * Application | + | * Implementation |
| - | * 1.3 - Network Policies | + | * 1.3 - Network Policies |
| - | * Overview | + | * Overview |
| - | * Implementation | + | * Implementation |
| - | * 1.4 - Services | + | * 1.4 - Services |
| - | * The NodePort service | + | * Overview |
| - | * Overview | + | * Implementation |
| - | * Implementation | + | * The NodePort |
| - | * ClusterIP | + | * The ClusterIP service |
| - | * Overview | + | * 1.5 - Services and the K8s DNS |
| - | * Implementation | + | * Overview |
| - | * 1.5 - Services and DNS k8s | + | * Implementation |
| - | * Overview | + | * 1.6 - K8s Ingress management |
| - | * Implementation | + | * Overview |
| - | * 1.6 - K8s Ingress management | + | * Implementation |
| - | * Overview | + | * LAB #2 - Microservices Architecture Management |
| - | * Implementation | + | * 2.1 - Overview |
| - | * LAB #2 - Microservices Architecture Management | + | * 2.2 - Creating Deployments |
| - | * 2.1 - Overview | + | * 2.3 - Creating Services |
| - | * 2.2 - Creating Deployments | + | * 2.4 - Deploying the Application |
| - | * 2.3 - Creating Services | + | * 2.5 - Scaling Up |
| - | * 2.4 - Deploying the Application | + | |
| - | * 2.5 - Scaling Up | + | |
| =====LAB #1 - Network and Service Management===== | =====LAB #1 - Network and Service Management===== | ||
| Ligne 71: | Ligne 69: | ||
| ====1.2 - DNS K8s==== | ====1.2 - DNS K8s==== | ||
| - | ===Presentation=== | + | ===Overview=== |
| DNS services for the cluster using the **Calico** plugin are provided by **CoreDNS** : | DNS services for the cluster using the **Calico** plugin are provided by **CoreDNS** : | ||
| Ligne 213: | Ligne 211: | ||
| ====1.3 - Network Policies==== | ====1.3 - Network Policies==== | ||
| - | ===Introduction=== | + | ===Overview=== |
| A **NetworkPolicy** is a K8s object that controls communication to and from pods. | A **NetworkPolicy** is a K8s object that controls communication to and from pods. | ||
| Ligne 503: | Ligne 501: | ||
| ====1.4 - Services==== | ====1.4 - Services==== | ||
| - | ===Presentation=== | + | ===Overview=== |
| K8s services are: | K8s services are: | ||
| Ligne 620: | Ligne 618: | ||
| </ | </ | ||
| - | ===The NodePort Service=== | + | ==The NodePort Service== |
| - | + | ||
| - | ==Presentation== | + | |
| The NodePort Service defines three ports: | The NodePort Service defines three ports: | ||
| Ligne 643: | Ligne 639: | ||
| {{ : | {{ : | ||
| - | |||
| - | ==Implementation== | ||
| Create the YAML file **service-definition.yaml** : | Create the YAML file **service-definition.yaml** : | ||
| Ligne 777: | Ligne 771: | ||
| </ | </ | ||
| - | ===The ClusterIP Service=== | + | ==The ClusterIP Service== |
| - | + | ||
| - | ==Presentation== | + | |
| The **ClusterIP** service groups together PODs offering the same service to facilitate communication between pods within the cluster. | The **ClusterIP** service groups together PODs offering the same service to facilitate communication between pods within the cluster. | ||
| - | |||
| - | ==Implementation== | ||
| To create a ClusterIP Service, create the file **clusterip-example.yaml**: | To create a ClusterIP Service, create the file **clusterip-example.yaml**: | ||
| Ligne 928: | Ligne 918: | ||
| </ | </ | ||
| - | =====1.5 - Services and the k8s DNS===== | + | ====1.5 - Services and the k8s DNS==== |
| Before continuing, clean up the cluster: | Before continuing, clean up the cluster: | ||
| Ligne 947: | Ligne 937: | ||
| </ | </ | ||
| - | ===Presentation=== | + | ===Overview=== |
| Each K8s service is assigned a FQDN in the form : | Each K8s service is assigned a FQDN in the form : | ||
| Ligne 1155: | Ligne 1145: | ||
| ====1.6 - K8s Ingress management==== | ====1.6 - K8s Ingress management==== | ||
| - | ====Presentation==== | + | ===Overview=== |
| An Ingress is a K8s object that manages access to services from outside the cluster. An Ingress is capable of more functionality than a simple NodePort service, for example: | An Ingress is a K8s object that manages access to services from outside the cluster. An Ingress is capable of more functionality than a simple NodePort service, for example: | ||
| Ligne 1165: | Ligne 1155: | ||
| Ingress doesn' | Ingress doesn' | ||
| - | ====Implementation | + | ===Implementation === |
| Start by creating the **myingress.yaml** file: | Start by creating the **myingress.yaml** file: | ||
| Ligne 1955: | Ligne 1945: | ||
| ---- | ---- | ||
| - | Copyright © 2024 Hugh Norris | + | Copyright © 2025 Hugh Norris |