@@ -17,7 +17,7 @@ graceful connection draining.
1717
1818## Termination process for Pods and their endpoints
1919
20- There are often cases when you need to terminate a Pod - be it for upgrade or scale down.
20+ There are often cases when you need to terminate a Pod - be it to upgrade or scale down.
2121In order to improve application availability, it may be important to implement
2222a proper active connections draining.
2323
@@ -29,12 +29,12 @@ a simple nginx web server to demonstrate the concept.
2929
3030## Example flow with endpoint termination
3131
32- The following is the example of the flow described in the
32+ The following is the example flow described in the
3333[ Termination of Pods] ( /docs/concepts/workloads/pods/pod-lifecycle/#pod-termination )
3434document.
3535
36- Let's say you have a Deployment containing of a single ` nginx ` replica
37- (just for demonstration purposes) and a Service:
36+ Let's say you have a Deployment containing a single ` nginx ` replica
37+ (say just for the sake of demonstration purposes) and a Service:
3838
3939{{% code_sample file="service/pod-with-graceful-termination.yaml" %}}
4040
@@ -158,10 +158,10 @@ The output is similar to this:
158158```
159159
160160This allows applications to communicate their state during termination
161- and clients (such as load balancers) to implement a connections draining functionality.
161+ and clients (such as load balancers) to implement connection draining functionality.
162162These clients may detect terminating endpoints and implement a special logic for them.
163163
164- In Kubernetes, endpoints that are terminating always have their ` ready ` status set as as ` false ` .
164+ In Kubernetes, endpoints that are terminating always have their ` ready ` status set as ` false ` .
165165This needs to happen for backward
166166compatibility, so existing load balancers will not use it for regular traffic.
167167If traffic draining on terminating pod is needed, the actual readiness can be
0 commit comments