3 min read
Whenever we need to test something on a Kubernetes clusters one of the easier (and cheaper) option is test it out using minikube. However, how do we test a feature that require multiple clusters?
21/03/2022
Read more...2 min read
Running applications on minikube is a great test bed, but it can get messy pretty easily. That's specially true if there are several people messing with it.
It might be useful to retrieve all the images we are using to run the services. For this we can either describe all the Pods on all the Namespaces or check that the minikube image ls command
17/03/2022
Read more...5 min read
With Crossplane we define Composite resources as the combination of other resources. Let's take a look on how to do this we are going to take some terraform code, tranform it into Crossplane objects and the create a Composition based on them
16/03/2022
Read more...2 min read
To be able to test Kubernetes applications, minikube is a great tool: You can create an ephemeral Kubernetes cluster to test whatever is needed and delete it as easily as it was created. Futhermore, since it can use your computer's resources you won't get billed as you would if you'd choose to use a cloud provider.
Another advantage is that we can make available local directories to the cluster using minikube mount
14/03/2022
Read more...2 min read
If you try to run too many pods on a handful of nodes you might eventually run out of available Pods. Using kubectl get pods you'll see them marked with the status OutOfpods:
$ kubectl get pods
(...)
test deploy-test-84b4fdcbbd-59hvf 0/1 ContainerCreating 0 44s
test deploy-test-84b4fdcbbd-7dvs9 0/1 OutOfpods 0 62s
test deploy-test-84b4fdcbbd-btrwz 0/1 OutOfpods 0 4m16s
test deploy-test-84b4fdcbbd-gpkkg 0/1 OutOfpods 0 91s
test deploy-test-84b4fdcbbd-hbbdv 0/1 OutOfpods 0 67s
test deploy-test-84b4fdcbbd-j75x4 0/1 OutOfpods 0 68s
test deploy-test-84b4fdcbbd-s4qzz 0/1 OutOfpods 0 64s
(...)
11/03/2022
Read more...