-
Notifications
You must be signed in to change notification settings - Fork 52
k8s deployment
Snawoot edited this page Sep 16, 2025
·
4 revisions
Use following deployment definition to deploy dumbproxy in kubernetes cluster:
apiVersion: apps/v1
kind: Deployment
metadata:
name: dumbproxy
namespace: <your-namespace>
labels:
app: dumbproxy
spec:
selector:
matchLabels:
app: dumbproxy
template:
metadata:
labels:
app: dumbproxy
spec:
containers:
- name: dumbproxy
image: ghcr.io/senseunit/dumbproxy:1.29.0
args:
- -bind-address
- :8080
ports:
- containerPort: 8080Service definition:
apiVersion: v1
kind: Service
metadata:
name: dumbproxy
namespace: <your-namespace>
spec:
type: ClusterIP
selector:
app: dumbproxy
ports:
- port: 8080
protocol: TCPIngress definition:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: dumbproxy
namespace: <your-namespace>
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production # use cert-manager
spec:
ingressClassName: nginx # use ingress-nginx
rules:
- host: <your-domain>
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: dumbproxy
port:
number: 8080
tls:
- hosts:
- <your-domain>
secretName: <your-domain>-cert