January 2020
Intermediate to advanced
640 pages
16h 56m
English
With the help of the Range type from the previous section, we now have the means to query the UUID range that's assigned to every single partition. For our particular use case, the number of partitions is equal to the number of pods that we launch. However, one crucial bit of information that we are lacking is the partition number that's assigned to each individual launched pod! Consequently, we now have two problems that we need to solve:
If we deploy our application as a StatefulSet with N replicas, every pod in the set will be assigned a hostname that follows the pattern SET_NAME-INDEX, where INDEX is a number ...
Read now
Unlock full access