Skip to content

Feature/taints tolerations and affinitys#137

Open
pablosanchezpaz wants to merge 4 commits intomasterfrom
feature/taints-tolerations-and-affinitys
Open

Feature/taints tolerations and affinitys#137
pablosanchezpaz wants to merge 4 commits intomasterfrom
feature/taints-tolerations-and-affinitys

Conversation

@pablosanchezpaz
Copy link
Contributor

Extend formation with taints, tolerations, and affinitys.

@pablosanchezpaz pablosanchezpaz requested a review from frmadem March 1, 2023 10:49
@pablosanchezpaz pablosanchezpaz added the documentation Improvements or additions to documentation label Mar 1, 2023
Copy link
Contributor

@manuelver manuelver left a comment

Choose a reason for hiding this comment

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

I think the document is number 08-...

@pablosanchezpaz
Copy link
Contributor Author

I think the document is number 08-...

Fixed!

@manuelver
Copy link
Contributor

Great tuto, I have to try it!

Copy link
Contributor

@manuelver manuelver left a comment

Choose a reason for hiding this comment

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

LGTM!


## Practica de taints:

Para poder hacer una practica necesitamos un cluster con minimo 3 nodos.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Para poder hacer una practica necesitamos un cluster con minimo 3 nodos.
Para poder hacer esta práctica necesitamos un cluster con mínimo 3 nodos.


a) Aplicar taints a un nodo y ver el comportamiento de los pods:

b) Verificar que la taint se ha aplicado correctamente usando el comando kubectl describe node <node-name>.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
b) Verificar que la taint se ha aplicado correctamente usando el comando kubectl describe node <node-name>.
b) Verificar que la taint se ha aplicado correctamente usando el comando `kubectl describe node <node-name>`.


c) Crear un pod con una toleration que coincida con la taint usando el campo tolerations en el archivo YAML del pod.

d) Verificar que el pod se ha programado en el nodo con la taint usando el comando kubectl get pods -o wide.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
d) Verificar que el pod se ha programado en el nodo con la taint usando el comando kubectl get pods -o wide.
d) Verificar que el pod se ha programado en el nodo con la taint usando el comando `kubectl get pods -o wide`.

Comment on lines +145 to +148




Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change

Copy link
Contributor

Choose a reason for hiding this comment

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


```

Estas 2 practicas para controlar pods se pueden combinar para formar reglas mas precisas que controlen el funcionamiento de los pods en nodos de kubernetes
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Estas 2 practicas para controlar pods se pueden combinar para formar reglas mas precisas que controlen el funcionamiento de los pods en nodos de kubernetes
Estas 2 prácticas para controlar pods se pueden combinar para formar reglas mas precisas que controlen el funcionamiento de los pods en nodos de kubernetes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants