Skip to content

Updates to namespace, readiness probe & domain - #451

Merged
bobcatfish merged 1 commit into
knative:masterfrom
bobcatfish:conformance_updates
Mar 22, 2018
Merged

bobcatfish merged 1 commit into
knative:masterfrom
bobcatfish:conformance_updates

Conversation

@bobcatfish

Copy link
Copy Markdown
Contributor

Make these tweaks to the conformance tests:

Also tried to make the conformance test docs more succinct.

@google-prow-robot

Copy link
Copy Markdown

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-prow-robot google-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 22, 2018
Comment thread test/conformance/README.md Outdated
[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).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be "or", meaning you can use any of them?

@bobcatfish bobcatfish Mar 22, 2018 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, it's not really "or" either, b/c you can use them both together 🤔 How about a good ol' "and/or" XD

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM. :)

@adrcunha

Copy link
Copy Markdown
Contributor

/approval

return true, nil
}
return false, nil
})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tcnghia Aren't we going to start waiting for this on the Route?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tcnghia @mattmoor looking at #425 it looks like if the Route is ready, I can assume the Ingress IP will be available in ingress.Status.LoadBalancer.Ingress, and I no longer need to poll it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to submit this PR as is, then I'll create another one to remove the ingress polling.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.
@bobcatfish
bobcatfish force-pushed the conformance_updates branch from 40e8abc to 4b1497d Compare March 22, 2018 18:03
@bobcatfish

Copy link
Copy Markdown
Contributor Author

/retest

@bobcatfish
bobcatfish merged commit e72f21c into knative:master Mar 22, 2018
skonto pushed a commit to skonto/serving that referenced this pull request Oct 5, 2023
* Fix CGroupsV2 test

* Fix comment

Co-authored-by: Martin Gencur <[email protected]>
skonto pushed a commit to skonto/serving that referenced this pull request Oct 5, 2023
* Fix CGroupsV2 test

* Fix comment

Co-authored-by: Martin Gencur <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants