-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document the --http-addr flag. #443
Conversation
b39b632
to
2923b95
Compare
@jseldess could you take a look? Also CircleCI says s3 sync failed, not sure what that means. Let me know if I need to revise something. |
73a5cc0
to
8bb749d
Compare
I don't think the CircleCI fail is your fault @glycerine, I hit the same problem in PR #417. |
Thanks for the update, @glycerine! And sorry for my delay. See comments below, but my overall sense is that we should demonstrate this flag not on Paul's right about the CircleCI failure; it's out of your control. It's actually already mentioned in the docs' Reviewed 3 of 3 files at r1. secure-a-cluster.md, line 49 [r1] (raw file):
@glycerine, this page and secure-a-cluster.md, line 68 [r1] (raw file):
Same as above. This page probably isn't the best place for this flag. secure-a-cluster.md, line 69 [r1] (raw file):
Same as above. secure-a-cluster.md, line 122 [r1] (raw file):
Same as above. start-a-local-cluster.md, line 48 [r1] (raw file):
If you're willing to demonstrate this flag's usage in start-a-node.md, line 37 [r1] (raw file):
nits: change "for" to "from" Comments from Reviewable |
Review status: 1 of 3 files reviewed at latest revision, 7 unresolved discussions, some commit checks failed. start-a-node.md, line 93 [r1] (raw file):
@glycerine, should we add Comments from Reviewable |
Review status: 1 of 3 files reviewed at latest revision, 9 unresolved discussions, some commit checks failed. secure-a-cluster.md, line 49 [r1] (raw file):
|
9fd1687
to
c27403e
Compare
Review status: 1 of 4 files reviewed at latest revision, 9 unresolved discussions. secure-a-cluster.md, line 49 [r1] (raw file):
|
Hi @jseldess, I think I've addressed everything. The 'for' vs. 'from' comment seemed to indicate a misunderstanding of when the cockroach process is serving (under 'start') and when it is acting as client (under 'sql'). Since we're talking about the server, I tried to clarify this language on both the port and the addr summary lines. With that said, I'd be happy to just turn any other editing you'd like over to you to proceed as you feel best.
|
Accompanies the merged fix cockroachdb/cockroach#7475
c27403e
to
ff8589c
Compare
Review status: 1 of 4 files reviewed at latest revision, 9 unresolved discussions, some commit checks failed. start-a-node.md, line 37 [r1] (raw file):
|
Reviewed 2 of 3 files at r2. Comments from Reviewable |
@@ -142,17 +142,17 @@ Store the CA key somewhere safe and keep a backup; if you lose it, you will not | |||
Copy the `cockroach` binary, CA certificate, and node 1 certificate and key to the first machine and then start the node: | |||
|
|||
~~~ shell | |||
$ cockroach start --ca-cert=ca.cert --cert=node1.cert --key=node1.key --host=<node1-hostname> | |||
$ cockroach start --http-addr=127.0.0.1 --ca-cert=ca.cert --cert=node1.cert --key=node1.key --host=<node1-hostname> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
throughout: we should avoid "127.0.0.1" and use "localhost" instead for ipv4/ipv6 agnosticism.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed by #447
Accompanies the merged fix cockroachdb/cockroach#7475
This change is