Repository navigation
Updates to namespace, readiness probe & domain - #451
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bobcatfish The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
| [kubeconfig file](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) | ||
| to determine what `Elafros` cluster to connect to (the `current-context`). | ||
| * **A running `Elafros` cluster.** Specify which cluster to test against using | ||
| [`--kubeconfig`](#specifying-kubeconfig) and [`--cluster`](#specifying-cluster). |
There was a problem hiding this comment.
Shouldn't this be "or", meaning you can use any of them?
There was a problem hiding this comment.
hm, it's not really "or" either, b/c you can use them both together 🤔 How about a good ol' "and/or" XD
|
/approval |
| return true, nil | ||
| } | ||
| return false, nil | ||
| }) |
There was a problem hiding this comment.
@tcnghia Aren't we going to start waiting for this on the Route?
There was a problem hiding this comment.
I'd like to submit this PR as is, then I'll create another one to remove the ingress polling.
There was a problem hiding this comment.
@tcnghia I tried to update this but I wasn't successful - I added polling of the Route.Status to wait for it to be "Ready" but it timed out, even though the ingress endpoint had an IP
There was a problem hiding this comment.
@bobcatfish I'll take a look and fix that. For now we can probably wait for Ingress IP as you have.
Make these tweaks to the conformance tests: * Move namespace creation to test fixture setup (it's super slow and it was leaving the namespace around as a side effect of the test) * Support the case where a cluster is configured to use a resolvable domain, in which case we don't need to get the IP of the ingress and spoof the host (see #443 re. adding docs for how to set this up in a cluster) * Remove readiness probe from container; this wasn't accomplishing what it was intended to b/c of #348 anyway Also tried to make the conformance test docs more succinct.
40e8abc to
4b1497d
Compare
|
/retest |
* Fix CGroupsV2 test * Fix comment Co-authored-by: Martin Gencur <[email protected]>
* Fix CGroupsV2 test * Fix comment Co-authored-by: Martin Gencur <[email protected]>
Make these tweaks to the conformance tests:
was leaving the namespace around as a side effect of the test)
domain, in which case we don't need to get the IP of the ingress and
spoof the host (see Docs should explain how to configure Ela Route controller when setting up Elafros #443 re. adding docs for how to set this up in a
cluster)
it was intended to b/c of Adding new Istio routerule causes small window of 503s #348 anyway
Also tried to make the conformance test docs more succinct.