Skip to content

Instantly share code, notes, and snippets.

@roobre
Created April 27, 2021 18:51
Embed
What would you like to do?
MITMProxy kubernetes manifest
---
apiVersion: v1
kind: Service
metadata:
name: mitmproxy
spec:
type: ClusterIP
ports:
- name: http
port: 8080
targetPort: http
- name: webui
port: 8081
targetPort: webui
selector:
app: mitmproxy
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: mitmproxy
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
app: mitmproxy
template:
metadata:
labels:
app: mitmproxy
spec:
containers:
- name: mitmproxy
image: mitmproxy/mitmproxy
command:
- mitmweb
args:
- --web-host
- 0.0.0.0
ports:
- name: http
containerPort: 8080
- name: webui
containerPort: 8081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment