@@ -17,7 +17,7 @@ graceful connection draining.
17
17
18
18
## Termination process for Pods and their endpoints
19
19
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.
21
21
In order to improve application availability, it may be important to implement
22
22
a proper active connections draining.
23
23
@@ -29,12 +29,12 @@ a simple nginx web server to demonstrate the concept.
29
29
30
30
## Example flow with endpoint termination
31
31
32
- The following is the example of the flow described in the
32
+ The following is the example flow described in the
33
33
[ Termination of Pods] ( /docs/concepts/workloads/pods/pod-lifecycle/#pod-termination )
34
34
document.
35
35
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:
38
38
39
39
{{% code_sample file="service/pod-with-graceful-termination.yaml" %}}
40
40
@@ -158,10 +158,10 @@ The output is similar to this:
158
158
```
159
159
160
160
This 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.
162
162
These clients may detect terminating endpoints and implement a special logic for them.
163
163
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 ` .
165
165
This needs to happen for backward
166
166
compatibility, so existing load balancers will not use it for regular traffic.
167
167
If traffic draining on terminating pod is needed, the actual readiness can be
0 commit comments