-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stateful best practices #16
base: master
Are you sure you want to change the base?
Conversation
This addresses this section of the TODO. I will have a closer look at it soon. |
Also, a single geographical region (this also applies to cluster nodes). |
|
||
In particular, you should consider using: | ||
|
||
- the [Service Catalog](https://kubernetes.io/docs/concepts/extend-kubernetes/service-catalog/), if you're cluster is deployed in the cloud or has access to a Service that exposes the Open Service Broker API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- the [Service Catalog](https://kubernetes.io/docs/concepts/extend-kubernetes/service-catalog/), if you're cluster is deployed in the cloud or has access to a Service that exposes the Open Service Broker API. | |
- the [Service Catalog](https://kubernetes.io/docs/concepts/extend-kubernetes/service-catalog/), if your cluster is deployed in the cloud or has access to a Service that exposes the Open Service Broker API. |
|
||
You should always have: | ||
|
||
- a StroageClass named `default` defined in your cluster and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- a StroageClass named `default` defined in your cluster and | |
- a StorageClass named `default` defined in your cluster and |
|
||
The admission controller adds the _defalt_ StorageClass if the PersistentVolumeClaim doesn't have one. | ||
|
||
You can continue reading about the [default behaviour in StorageClasses on the official documentation](https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/#defaulting-behavior). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can continue reading about the [default behaviour in StorageClasses on the official documentation](https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/#defaulting-behavior). | |
You can continue reading about the [default behaviour in StorageClasses in the official documentation](https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/#defaulting-behavior). |
|
||
Pods share resources such as CPU and memory with other Pods on the same Node. | ||
|
||
If a Pods is using more resources than requested (but still less than the limits), it might end up committing for resources. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a Pods is using more resources than requested (but still less than the limits), it might end up committing for resources. | |
If a Pod is using more resources than requested (but still less than the limits), it might end up committing for resources. |
|
||
If a Pods is using more resources than requested (but still less than the limits), it might end up committing for resources. | ||
|
||
The challenge is more problematic when Pods compete for disk I/O, particularly in Pods that uses storage. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The challenge is more problematic when Pods compete for disk I/O, particularly in Pods that uses storage. | |
The challenge is more problematic when Pods compete for disk I/O, particularly in Pods that use storage. |
https://dbexamstudy.blogspot.com/2021/11/is-kubernetes-slowing-down-my-database.html
|
I guess this could a section on his own.