Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2023 1 #42

Open
wants to merge 77 commits into
base: main
Choose a base branch
from
Open

V2023 1 #42

wants to merge 77 commits into from

Conversation

Samet-MohamedAmin
Copy link

Course changes:

  • Introduce workshop env
  • Change containers introduction
  • Version updates
  • Add chapter best practices
  • Add chapter CRDs
  • Add chapter concusion

Workshop Changes:

  • Version updates
  • Use kind instead of minikube
  • Update kind-install workshop
    • Install kind
    • Create/delete cluster
    • Get to know kubeconfig
  • Add workshop k8s-first-deloyments:
    • Minimal workaround to create a functioning app
    • Create pod, service and namespace
    • Imperative approach to get ease with kubectl
    • Declarative approach
    • Debug
    • Install kubernetes dashboard
  • Update workshop k8s-first-deloyments:
    • Create first deployment
    • Manual scale
    • RollingUpdate
    • Install ingress controller
    • Use ingress to expose service
    • Autoscaling with stress test image
  • Update workshop k8s-secrets-cm-volumes
    • InitContainer introduction
    • PeristentVolume introduction

```

### Ship : Pull & Push
- Ajouter un tag avec l'addresse du registre
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adresse

@@ -197,3 +240,4 @@ docker import mon-image.tar backup/mon-conteneur

- Contrôle au niveau conteneurs

- Besoin d'un outil gestion des contenurs à grand échèle
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outil de gestion des conteneurs à grande échelle


### L'API de Kubernetes est ouvertes
- Kubernetes a plusieurs composants
- Il suffit de respecter la description des APIs dans Kubernetes pour ajouter un intégrer un nouveau composant
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ajouter ou intégrer



### Plus de contrôle sur l'état du système
Avec Kubernetes, on définit l'état désiré sous forme yaml et Kuberentes s'occupe de converger l'état actuel vers l'état désiré.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kubernetes

### Kubernetes : Composants du Control Plane
### Kubernetes : Composants
- Kubernetes fonctionne en cluster
- Un cluster un groupement des noeuds
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

un cluster est



### Custom Resource et Custom Resource Definition
- La différence entre CR et CRD est la même différence entre le pod qui tourne et le manifest yaml du pod
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non mais la comparaison que tu fais n'est pas juste. La CRD c'est la description de la ressources, ce que contient la spec, etc. La CR c'est l'implémentation de cette CRD.

- Actuellement en v3
- Projet *graduated* de la CNCF

<https://github.com/helm/helm>

## Problématiques
- Plusieurs objets dans Kubernetes x plusieurs env:
- Nombres énormes des manifests à gérer !
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nombre énorme de manifests

- Rollbacks / upgrades d'applications
- Applique le principe DRY (Don't Repeat Yourself)
- Mécanisme de templating (Go templating)
- Viabilisation des ressources générées
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

variabilisation


Pour créer un volume persistant il nous faut un `StorageClass`

Dans notre cluster kind, on a déjà un `StorageClass` avec le nom standard qui permet de créer des volumes en local dans le Système de fichier des noeuds.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

system de fichiers


## Les volumes persistants
La dernière configuration de redis ne permet le stockage persistant des données.
Si le pod s'arrête, on perd tout les données.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toutes les

```yaml
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
kind: RoleBindinger
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

utiliser l'impératif
bad pdf text formatting with many spaces
install calico
apiVersion: autoscaling/v2
remove PSP - deprecated
add chapter k8s introduction
add diagrams: containers idea, base image, simplified k8s arch, pod
add commands to docker bsr: build & rmi
rename tp k8s-first-deployment.fr.md
add serviceaccount config to access k8s dashboard to rbac tp
update chapters order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants