-
Notifications
You must be signed in to change notification settings - Fork 303
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
Add HealthCheckConfig to v1beta1 BackendConfig CRD #1010
Conversation
Welcome @AnishShah! |
Hi @AnishShah. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign rramkumar1 |
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AnishShah, rramkumar1 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@AnishShah: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
If this is going to be included with the next release, could someone please tell when is it planned? |
@omatsko We are planning to include this as part of our 1.10 release. We are about to release 1.9 so 1.10 will hopefully drop in a couple weeks after that. Will keep this thread updated. |
Any news - id I understand correctly, this prevents exposing grafana because / returns 302 - and the healthcheck configured for the service is ignored by the ingress ? |
@rramkumar1 It seems missed here to not allow Host header configuration, thoughts? |
Any updates on the release schedule for this? |
Looking for an update on this item |
This merged code seems available on beta. I am on 1.17.6-gke.11. I don't need change in Ingress. apiVersion: cloud.google.com/v1
kind: BackendConfig
metadata:
name: config-default
namespace: apimars-prod
spec:
healthCheck:
checkIntervalSec: 10
timeoutSec: 3
requestPath: /healthz apiVersion: v1
kind: Service
metadata:
name: test-healthz
namespace: apimars-prod
annotations:
cloud.google.com/neg: '{"ingress": true}'
beta.cloud.google.com/backend-config: '{"default": "config-default"}'
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
app: test-healthz
type: NodePort |
I was wrong. I don't think setting healthcheck through Backendconfig works. And, even if custom healthcheck works by bringing up Ingress after Service, This is what @nicksardo explained before in different msg thread. BTW, ingress doesn't have to be removed to use custom healthcheck. |
No description provided.