Feature/taints tolerations and affinitys#137
Open
pablosanchezpaz wants to merge 4 commits intomasterfrom
Open
Conversation
manuelver
reviewed
Mar 7, 2023
Contributor
manuelver
left a comment
There was a problem hiding this comment.
I think the document is number 08-...
Contributor
Author
Fixed! |
Contributor
|
Great tuto, I have to try it! |
alambike
reviewed
Mar 14, 2023
|
|
||
| ## Practica de taints: | ||
|
|
||
| Para poder hacer una practica necesitamos un cluster con minimo 3 nodos. |
Contributor
There was a problem hiding this comment.
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>. |
Contributor
There was a problem hiding this comment.
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. |
Contributor
There was a problem hiding this comment.
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
|
|
||
|
|
||
|
|
||
|
|
Contributor
There was a problem hiding this comment.
I would add an extra section on topologySpreadConstraints to spread pods equally over all nodes.
alambike
reviewed
Mar 14, 2023
|
|
||
| ``` | ||
|
|
||
| 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 |
Contributor
There was a problem hiding this comment.
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend formation with taints, tolerations, and affinitys.