Skip to content
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

Unknown field "logging" in com.google.cloud.v1beta1.BackendConfig.spec #1598

Closed
caddac opened this issue Nov 3, 2021 · 7 comments
Closed
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@caddac
Copy link

caddac commented Nov 3, 2021

Attempting to disable LB logging on my backend (version cloud.google.com/v1beta1/BackendConfig) and getting this error: error validating data: ValidationError(BackendConfig.spec): unknown field "logging" in com.google.cloud.v1beta1.BackendConfig.spec

My full BackendConfig:

apiVersion: cloud.google.com/v1beta1
kind: BackendConfig
metadata:
  name: gke-ingress-config
spec:
  healthCheck:
    type: HTTP
    port: 15021
    requestPath: /healthz/ready
  logging:
    enable: false

This is being applied via FluxCD (which is reporting the error). In my cluster, the BackendConfig is actually v1. If I manually modify the resource, I am able to disable logging in the load balancer. I have been unable to find a doc for the v1beta1 version.

Any ideas what I'm doing wrong here?

@caddac
Copy link
Author

caddac commented Nov 3, 2021

updating my manifest to v1 solved this issue. But I'd still like to understand why v1beta1 doesn't work.

@freehan
Copy link
Contributor

freehan commented Dec 21, 2021

cc @skmatti

Do you see any reason why v1beta1 did not work?

@freehan freehan added the kind/support Categorizes issue or PR as a support question. label Dec 21, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 21, 2022
@skmatti
Copy link
Contributor

skmatti commented Mar 21, 2022

Logging field is not defined in v1beta1 API. We have introduced this field only in V1 API.

@skmatti
Copy link
Contributor

skmatti commented Mar 21, 2022

/close

@k8s-ci-robot
Copy link
Contributor

@skmatti: Closing this issue.

In response to this:

/close

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.

@skmatti
Copy link
Contributor

skmatti commented Mar 21, 2022

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

5 participants