1. 25 Nov, 2020 2 commits
    • Geoff Simmons's avatar
      Add example/test for Service type LoadBalancer. · 9373af23
      Geoff Simmons authored
      Also set up the tests so that the external IP and port for both the
      NodePort and LoadBalancer tests. For this it is necessary to pass
      in the external cluster IP, and/or set up an external IP for the
      LoadBalancer Service.
      
      If neither of these are available, just use port-forwarding as for
      the other tests. That doesn't actually test the Service types, since
      connections are forwarded to the clusterIP. But the tests can be
      run in automation when the external networking is not available.
      9373af23
    • Geoff Simmons's avatar
  2. 24 Nov, 2020 3 commits
  3. 20 Nov, 2020 1 commit
  4. 15 Oct, 2020 2 commits
    • Geoff Simmons's avatar
    • Geoff Simmons's avatar
      Update Ingress status.loadBalancer after successful sync. · 2c879de1
      Geoff Simmons authored
      The addresses for this array are taken from the public names and/or
      IPs in the spec for Service(s) that expose the Ingress. These are
      identified as:
      
      - in the same namespace as the admin Service
      - have the label viking.uplex.de/svc=public
      - have the same selectors as the admin Service
      - type is one of ClusterIP, NodePort or LoadBalancer
      
      The label viking.uplex.de/svc is only required if the Ingress status
      update is required. For example to use a tool like ArgoCD, or if
      the cloud provider requires it.
      
      Set the label in the Service template for the viking-service chart.
      2c879de1
  5. 14 Oct, 2020 1 commit
  6. 13 Oct, 2020 8 commits
  7. 12 Oct, 2020 11 commits
  8. 08 Oct, 2020 1 commit
  9. 07 Oct, 2020 1 commit
  10. 02 Oct, 2020 9 commits
  11. 04 Sep, 2020 1 commit
    • Nils Goroll's avatar
      fix resolve= parameter for self-sharding · 49650e70
      Nils Goroll authored
      in vcl_backend_response {} and vcl_backend_error {} we test if
      `bereq.backend == vk8s_cluster.backend(resolve=LAZY)`. With the
      current code, this condition will never evaluate true, because
      `resolve=NOW` will make the shard director return the "real" (VBE)
      backend.
      
      With this patch, the net effect, the chosen cluster varnish backend,
      should still be the same, except for the rare race event that the
      backend becomes unhealthy between the time the vcl code executes and
      when the backend connection is made. We already account for this race
      by setting `req.hash_ignore_busy` in vcl_revc {}.
      49650e70