2 min read
Although it's not a best practice to feed secrets into environment variables it's still something that it is possible to do. Let's take a glance on how to do it
05/03/2021
Read more...3 min read
Although ReplicaSet's main purpose is to maintain a stable set of replica Pods, it's not a kubernetes object that is commonly created, at least not explicitly. But the replicas attribute on the Deployment object is actually related to this object
04/03/2021
Read more...1 min read
On spinnaker you might find find the following error:
The request was rejected because the URL contained a potentially malicious String \"//\"
This message can show up when clicking on the "Source" link for a pipeline
03/03/2021
Read more...2 min read
To be able to expose a given Service externally, we can use NodePort as a quick-and-dirty way of achieving it. NodePort Services use a port on each Node to expose the Service outside of the cluster network
02/03/2021
Read more...2 min read
As of kubernetes 1.15, you can do a rolling restart of all pods for a deployment without taking the service down. To achieve this we'll have to use kubectl rollout restart.
Let's asume you have a deployment with two replicas:
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
pet2cattle-5454555dbb-6jtnz 1/1 Running 0 131m
pet2cattle-5454555dbb-czw42 1/1 Running 0 19s
01/03/2021
Read more...