How to calculate probability
Counting Distinct Objects
Combinations and Permutations
Combinations: Order Doesn't Matter
Combinations: Order Doesn't Matter
A testing environment for Kubernetes
Note: Everything mentioned here is also in the Controller Runtime's pkg envtest docs.
envtest
can run on a local control plane
, or an existing cluster.
local control plane
, envtest
spins up a local instance of control plane binaries.
These would be, etcd
and kube-apiserver
. It's available as a package under controller-runtime
.an existing cluster
can be used to run envtest
, by loading up CRDs and client config.{
"editor.formatOnSave": false,
}
We can think of
Node Affinity
as analagous analogus to magnetic attraction;We can think of
Node Taints
as the complement of that (magnetic repulsion);We can think of the determinant of a Node's eventual location as being "up to the
Kube scheduler.
That's why we'll often have an effect
of NoSchedule
for nodes we'll want an exception of sorts for.
// Receiver arguments: https://tour.golang.org/methods/1 | |
// Factory patterns: | |
// https://www.sohamkamani.com/golang/2018-06-20-golang-factory-patterns/ | |
// https://stackoverflow.com/questions/49712313/golang-factory-method | |
package main | |
import "fmt" | |
type Instrument struct { |
{
"editor.formatOnSave": true,
"python.formatting.provider": "black",
"files.insertFinalNewline": true,
"python.testing.pytestEnabled": true,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,