Created
April 27, 2021 18:51
-
-
Save nadiamoe/970e32232066b72c021aa5b606aa6b8f to your computer and use it in GitHub Desktop.
MITMProxy kubernetes manifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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