k8s: Fix spelling
This commit is contained in:
parent
51d964d0bc
commit
593fbe3148
2 changed files with 34 additions and 34 deletions
|
|
@ -223,7 +223,7 @@ Pour résumer : `kubectl` a créé une tâche de déploiement
|
||||||
`rs/pingpong-xxxx`. Ce *replicatset* a créé un *pod* `po/pingpong-yyyy`.
|
`rs/pingpong-xxxx`. Ce *replicatset* a créé un *pod* `po/pingpong-yyyy`.
|
||||||
|
|
||||||
|
|
||||||
#### Pasage à l'échelle : facile ?
|
#### Passage à l'échelle : facile ?
|
||||||
|
|
||||||
Pour lancer 3 `ping`s en parallèle, modifions la tâche de déploiement comme suit :
|
Pour lancer 3 `ping`s en parallèle, modifions la tâche de déploiement comme suit :
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,41 +39,41 @@ metadata:
|
||||||
name: fluentd-elasticsearch
|
name: fluentd-elasticsearch
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
k8s-app: fluentd-logging
|
k8s-app: fluentd-logging
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
name: fluentd-elasticsearch
|
name: fluentd-elasticsearch
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
name: fluentd-elasticsearch
|
name: fluentd-elasticsearch
|
||||||
spec:
|
spec:
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: node-role.kubernetes.io/master
|
- key: node-role.kubernetes.io/master
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
containers:
|
containers:
|
||||||
- name: fluentd-elasticsearch
|
- name: fluentd-elasticsearch
|
||||||
image: quay.io/fluentd_elasticsearch/fluentd:v2.5.2
|
image: quay.io/fluentd_elasticsearch/fluentd:v2.5.2
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 200Mi
|
memory: 200Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 200Mi
|
memory: 200Mi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: varlog
|
- name: varlog
|
||||||
mountPath: /var/log
|
mountPath: /var/log
|
||||||
- name: varlibdockercontainers
|
- name: varlibdockercontainers
|
||||||
mountPath: /var/lib/docker/containers
|
mountPath: /var/lib/docker/containers
|
||||||
readOnly: true
|
readOnly: true
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
volumes:
|
volumes:
|
||||||
- name: varlog
|
- name: varlog
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/log
|
path: /var/log
|
||||||
- name: varlibdockercontainers
|
- name: varlibdockercontainers
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/lib/docker/containers
|
path: /var/lib/docker/containers
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -127,7 +127,7 @@ Après avoir appliqué la nouvelle spec, on constate qu'il y a beaucoup de *pod*
|
||||||
toujours là.
|
toujours là.
|
||||||
|
|
||||||
|
|
||||||
##### Botleneck résolu ? {-}
|
##### Bottleneck résolu ? {-}
|
||||||
|
|
||||||
Admirez maintenant dans Chronograf si vous avez réussi à augmenter votre nombre
|
Admirez maintenant dans Chronograf si vous avez réussi à augmenter votre nombre
|
||||||
de pépites !
|
de pépites !
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue