-
Notifications
You must be signed in to change notification settings - Fork 96
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
updating httpPort or sqlPort does not update cockroachdb-public
service port
#498
Comments
cockroachdb-public
servicecockroachdb-public
service HTTP port
This also applies to changing the SQL port - we need to update the services when we change ports on the pod configs. @chrislovecnm @udnay We need to get this prioritized ASAP. Is there a workaround (maybe a kubectl patch service ) command that would work or is this a release blocker? |
cockroachdb-public
service HTTP portcockroachdb-public
service HTTP port
cockroachdb-public
service HTTP portcockroachdb-public
service port
I have a workaround - if you delete @udnay @taroface I suggest we document this as a known issue with a workaround, and then backlog this issue to be fixed after the release. Thoughts? fwiw, I also tested manually patching the service, but that was more steps so I think this is cleaner. |
@keith-mcclellan @udnay Can we use a red callout where the doc describes changing the port, or would you prefer to have this on the Known Limitations page? https://www.cockroachlabs.com/docs/v21.1/known-limitations.html |
Added a callout to this file in the open PR: https://github.com/cockroachdb/docs/pull/10578/files |
we can close when cockroachdb/docs#10578 is merged |
I think we should call this out in the doc specifically. Can you host this somewhere for a final review @taroface ? I think it looks good but I want to read it formatted. Thanks! |
@keith-mcclellan Posted in cockroachdb/docs#10578, but the preview is here: https://deploy-preview-10578--cockroachdb-docs.netlify.app/docs/v21.1/operate-cockroachdb-kubernetes.html |
Callout LGTM thanks @taroface ! |
@keith-mcclellan is this a release blocker? |
@keith-mcclellan i am removing release blocker |
@udnay ^ |
It's not a release blocker, we can remove the label and put it into the backlog. |
I deployed a cluster with
httpPort: 8081
and was able to access the DB Console on this port. I subsequently changed this back tohttpPort: 8080
and this successfully performed a rolling restart of the pods with the new port. However, when runningkubectl port-forward service/cockroachdb-public 8080
, I got this error:Running
kubectl get service
shows:Is there another step that needs to update the service to use the new port?
Note: I was still able to port-forward to
8081
, but this quickly threw errors likeas expected.
This is using the Operator version currently at https://github.com/cockroachdb/cockroach-operator/blob/master/manifests/operator.yaml on GKE and CRDB v20.2.8.
The text was updated successfully, but these errors were encountered: