• The request was rejected because the URL contained a potentially malicious String

    1 min read

    spinnaker potentially malicious String

    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...
  • kubernetes services: NodePort type usage

    2 min read

    kubernetes service NodePort

    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...
  • Restart pods without taking the service down

    2 min read

    kubernetes pod restart deployment

    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...

More recent...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets