Comments (7)
/remove-kind bug
/triage accepted
post your values.yaml file exactly as it is being used. What you posted is invalid. The field is controller.service.annotation
from ingress-nginx.
My values.yaml
% cat values.yaml
controller:
service:
annotations:
load-balancer.hetzner.cloud/location: nbg1
[~/Documents/ingressnginxissues/11272]
My controller-service.yaml after helm templating using my values.yaml shows the annotation
% helm install ingress-nginx-2 ingress-nginx/ingress-nginx \
--namespace ingress-nginx-2 \
--set controller.ingressClassResource.name=nginx-two \
--set controller.ingressClass=nginx-two \
--set controller.ingressClassResource.controllerValue="example.com/ingress-nginx-2" \
--set controller.ingressClassResource.enabled=true \
--set controller.ingressClassByName=true \
--values values.yaml \
--dry-run=client | grep "controller-service.yaml" -A 6
# Source: ingress-nginx/templates/controller-service.yaml
apiVersion: v1
kind: Service
metadata:
annotations:
load-balancer.hetzner.cloud/location: "nbg1"
labels:
[~/Documents/ingressnginxissues/11272]
from ingress-nginx.
/remove-triage accepted
/kind support
from ingress-nginx.
Hi @longwuyuan thank you for your quick response.
Chart.yaml
apiVersion: v2
name: ingress-nginx
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer
type: application
version: 4.10.0
appVersion: "1.10.0"
dependencies:
- name: ingress-nginx
version: 4.10.0
repository: https://kubernetes.github.io/ingress-nginx
values.yaml
controller:
nodeSelector:
architecture: arm
autoscaling:
enabled: true
service:
annotations:
load-balancer.hetzner.cloud/location: nbg1
I don't know what I was doing wrong earlier.
Maybe other labels
values.yaml
controller:
nodeSelector:
architecture: arm
autoscaling:
enabled: true
service:
annotations:
load-balancer.hetzner.cloud/location: nbg1
load-balancer.hetzner.cloud/type: lb11
load-balancer.hetzner.cloud/use-private-ip: "true"
load-balancer.hetzner.cloud/disable-private-ingress: "true"
Yes,
it looks like other labels are causing this.
@longwuyuan Do you have any idea what is causing the problem with several labels?
from ingress-nginx.
no idea. but almost certainly seems like parsing. do the helm templating and you will know.
Please close the issue if not a problem of the controller.
from ingress-nginx.
/close
reopen if there is a problem found in the controller
from ingress-nginx.
@longwuyuan: Closing this issue.
In response to this:
/close
reopen if there is a problem found in the controller
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.
from ingress-nginx.
Related Issues (20)
- GeoIP2 auto_reload doesn't work HOT 12
- Method Based Routing in Nginx Ingress HOT 2
- use-proxy-protocol for SSL passthrough breaks HTTP HOT 27
- checkOverlap is a little loose. HOT 6
- How to instrument NGINX with OpenTelemetry HOT 3
- externalTrafficPolciy and healthprobe HOT 5
- nginx_status block configuration HOT 3
- Custom-error page is not working HOT 3
- error page for response code 302 HOT 6
- Option to skip the rbac creation in admission-webhooks HOT 1
- Download via Ingress Nginx super slow compared to External IP or NodePort HOT 20
- Kafka Broker Cannot Access Outside Kubernetes Cluster via ClusterIP Services HOT 1
- Open Telemetry can not collect header request and body HOT 1
- LanguageSpecificPackageVulnerability HOT 4
- Vulnerability (CVE-2022-27782) in the curl package HOT 2
- Add option to forbid plain http requests (where ssl-redirect is unsafe) HOT 3
- Kubectl plugin backends does not show backends for TCP and UDP services HOT 1
- [Vulnerabilities] current version of nginx-ingress-controller v1.10.1 has many vulnerabilties HOT 6
- Question: why the case insensitive regular expression location modifier will be enforced on ALL paths If the use-regex is set HOT 12
- Nginx version 1.25.3 is End Of Life HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ingress-nginx.