Are You My Ideal Reader? Am I Yours? Is Making an Ideal Reader Profile Even Necessary?

I watched an old episode of New Girl recently where Nick, an author of a detective novel, told Jess that he envisioned his readers as “blue-collar, nautical workers on the coastline of Maine.” He was…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Topology Spread Constraints.

Plan your pod placement across the cluster with ease.

Control how pods are spread across your cluster.

Specify the spread and how the pods should be placed across the cluster.

Let us see how the template looks like..

example-template.yaml

So we have a 4 node cluster with 1 control plane node.

Let us remove the default taint and all the taints from all the nodes.

Essentially we have now 4 nodes where pods can be scheduled normally.

Let’s divide these 4 nodes in to two groups :-

zone1 and zone2

So we will use labels to do this.

a little fuckup.

The pods are not being scheduled on the control plane node.

though the pods are scheduled on the worker nodes evenly.

Let’s divide these 3 nodes in to two groups :-

zone1 and zone2

So we will use labels to do this.

topology.yaml

So I created 6 similar pod files with diffent name as mypod1 and label for creating 6 similar pods.

so we can see that 3 nodes are there in the db2 node while 3 are spread in db3 and db4 nodes.

query: topology

Add a comment

Related posts:

How to Get the Perfect Dad Bod

A funny article about getting into a different kind of shape.