User bio
404 bio not found
Member since Jan 11, 2021
Replies:

I had this idea about using the "ReadinessProbe" of the pod to define which one should be used by the service. Like

        readinessProbe:
          exec:
            command:
            - wget
            - -qO
            - /dev/null
            - http://127.0.0.1:52773/csp/bin/mirror_status.cxw
          failureThreshold: 3
          initialDelaySeconds: 10
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 10

So in a mirror the backup member will not be ready and the main member will be ready and receiving service connections. 

The problem here is that I would have to manually change the service's selector and chose a better Rolling Update strategy for the STS (since new updated/recreated pods would never became "ready" without the main member dying first).

Well, that was just an idea...

Certifications & Credly badges:
Jairton has no Certifications & Credly badges yet.
Global Masters badges:
Jairton has no Global Masters badges yet.
Followers:
Jairton has no followers yet.
Following:
Jairton has not followed anybody yet.