pod restart with `imagePullPolicy: Always` and docker hub rate limits

by andy01
GNU/Linux ◆ xterm-256color ◆ bash 418 views

HEAD requests are used for obtaining the image reference and they aren’t triggering the Docker Hub rate limiter upon Pod restart with the imagePullPolicy: Always, as long as image reference haven’t been updated on the remote.

https://about.gitlab.com/blog/2020/11/18/docker-hub-rate-limit-monitoring/
https://gitlab.com/gitlab-de/check-docker-hub-limit

  • nginx.yaml
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: nginx-deployment
    spec:
      selector:
        matchLabels:
          app: nginx
      replicas: 1
      template:
        metadata:
          labels:
            app: nginx
        spec:
          containers:
          - name: nginx
            image: nginx:latest
            imagePullPolicy: Always
            ports:
            - containerPort: 80
    

More by andy01

akash state-sync 15:20

by andy01

akash cli booster 02:56

by andy01

kernel_rop for openSUSE 01:23

by andy01

See all