Tcp and Udp Nginx Auto Config in Kubernetes
Auto configuration service for TCP and UDP services for Kubernetes Nginx ingress manager
Tunack is made to be deployed in your cluster. YAML files are provided in deploy folder.
You need to have Nginx ingress manager fully functionnal (doc)
kubectl apply -f https://raw.githubusercontent.com/mafzst/tunack/v0.1.0/deploy/with-rbac.yaml
It will create a deployement in ingress-nginx
namespace
Tunack uses annotations in services to detect ports to expose.
tunack.dahus.io/[protocol]-service-[proxyPort]: [servicePort]
- protocol:
tcp|udp
: Specify service type - proxyPort: Port to export to outside (ie. public port)
- servicePort: Target service port (ie. port on which your service is listening to)
ONLY TCP IS IMPLEMENTED YET
apiVersion: v1
kind: Service
metadata:
name: my-tcp-service
annotations:
- tunack.dahus.io/tcp-service-3000: 80
spec:
ports:
- port: 80
targetPort: 8080
selector:
app: my-tcp-service
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Nicolas Perraut - Initial work - Dahus
See also the list of contributors who participated in this project.
This project is licensed under the GNU GPLv3 License - see the LICENSE file for details
- Kubernetes client-go contributors