Comments (7)
I came across this as well, and noticed that the ingress controller ignores any ingress rules that don't have a specific hostname attached to it. It worked once I specified a host to the ingress rule.
from kubernetes-ingress-controller.
Same behavior with same manifests on minikube.
from kubernetes-ingress-controller.
It seems that ingress-controller is not doing anything. I see no POST requests in admin-api and database tables are also empty.
from kubernetes-ingress-controller.
kubernetes.io/ingress.class: "kong"
should be
kubernetes.io/ingress.class: "nginx"
export KONG_ADMIN_PORT=$(minikube service -n kong kong-ingress-controller --url --format "{{ .Port }}")
export KONG_ADMIN_IP=$(minikube service -n kong kong-ingress-controller --url --format "{{ .IP }}")
export PROXY_IP=$(minikube service -n kong kong-proxy --url --format "{{ .IP }}" | head -1)
export HTTP_PORT=$(minikube service -n kong kong-proxy --url --format "{{ .Port }}" | head -1)
export HTTPS_PORT=$(minikube service -n kong kong-proxy --url --format "{{ .Port }}" | tail -1)
curl ${KONG_ADMIN_IP}:${KONG_ADMIN_PORT}/routes |jq .
curl ${KONG_ADMIN_IP}:${KONG_ADMIN_PORT}/services |jq .
from kubernetes-ingress-controller.
But I specified --ingress-class=kong in ingress-controller args...
from kubernetes-ingress-controller.
Hmm, ok. What do you get on the endpoints listed above?
And the upstreams one:
curl ${KONG_ADMIN_IP}:${KONG_ADMIN_PORT}/upstreams |jq .
from kubernetes-ingress-controller.
@yorinasub17 you are right. Configuring hosts did the trick. Thank you!
from kubernetes-ingress-controller.
Related Issues (20)
- Helm Chart - Multiple kong releases - ingress classes overrides HOT 3
- Not able to Use configPatches in KongPlugin Resource HOT 9
- KongPlugin Konnect sync fails when Konnect sanitizer enabled and configFrom used HOT 12
- Release 3.1.2 HOT 1
- Test Request: Kong Gateway EE kong/kong-gateway-dev:3.4.3.5-rc.1 HOT 2
- `GRPCRoute` conformance HOT 9
- Errors during start KIC HOT 6
- Flaky test `TestExampleUDPRoute` HOT 1
- Test Request: Kong Gateway EE kong/kong-gateway-dev:3.4.3.5-rc2 HOT 3
- KongUpstreamPolicy controller depends on HTTPRoute CRD presence HOT 10
- `jwt` credentials `Secret` with `konghq.com/credential` label require `rsa_public_key` field even when configured with HMAC algos HOT 2
- Test Request: Kong Gateway EE 2.8.4.8-rc1 HOT 2
- Check duplicate plugins in webhooks
- Renovate dependency lookup warnings
- Get rid of `tcpMutex` and `tlsMutex` from integration tests
- Handle same-selector Service targets
- Expose un-parseable config post error content
- Integration test `TestTCPRouteEssentials` fails HOT 1
- release/3.1.3 HOT 5
- Kong ingress controller failed to fetch secrets for kong consumers if restarted (either due to some crash or planned) HOT 7
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 kubernetes-ingress-controller.