Comments (4)
If anyone is having this problem an environment variable must be set to avoid creating a default namespace:
(...)
env:
- name: POD_NAMESPACE
value: kong-system
(...)
This behaviour will be fixed in future versions
from kong-ingress.
Hi,
- Could you specify which version of Kubernetes are you using?
- Are you running the kong-ingress inside of a Kubernetes cluster?
This should not be happening if you're running the ingress inside of a POD in kubernetes, the creation of a namespace is required if you're running the ingress outside of the cluster. To validate if this is true, the controller verifies if the POD_NAMESPACE
variable is empty.
I forgot to specify the required RBAC options for having the ingress working with it.
For now you could specify a rolebinding
enabling access to the following resources:
- Services [update,patch,list,get]
- Third Party Resource [create,list,get]
- Ingress [update,patch,list,get]
- Namespaces [create,list,get]
- Domains [TPR - create,update,list,get,delete]
Another option is using the same certificates used to manage your cluster:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kong-ingress
namespace: kong-system
spec:
replicas: 1
template:
metadata:
labels:
app: kong-ingress
spec:
terminationGracePeriodSeconds: 60
containers:
- name: kong-ingress
image: 'quay.io/koli/kong-ingress:v0.2.0-alpha'
args:
- --auto-claim
- --wipe-on-delete
- --kong-server=http://kong-admin:8001
- --v=4
- --logtostderr
- --cert-file=/path/to/kube.crt
- --key-file=/path/to/kube.key
- --ca-file=/path/to/ca.crt
Warning: Use this only for testing, using RBAC is more secure than this option
from kong-ingress.
Thank you sandromello, helped me.
I think document need to change.
from kong-ingress.
Could this issue be closed ? I didn't understand what's wrong with the documentation, could you please open another issue explaining your issue?
from kong-ingress.
Related Issues (20)
- Feature Request: Let's Encrypt Certificates HOT 2
- Deprecate TPR
- Improve documentation
- The request path must be normalize properly
- having difficulties using servicePort that isn't 80 HOT 6
- Add support for custom ports on ingress
- Check supported images using regexp
- Support for http2/grpc HOT 29
- Add travis CI and vendor folder
- Global configuration for API defaults
- thirdpartyresources.extensions issue HOT 4
- Domains and CSD are not deleting HOT 2
- not able to connect kong proxy HOT 13
- Stop versioning vendor folder
- Add monitoring http endpoints
- GO import package HOT 1
- Support for kong CE version 0.13 HOT 2
- does not re-sync a route that went down but now is up HOT 3
- automated builds
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 kong-ingress.