Created
March 9, 2022 04:02
-
-
Save TheBinitGhimire/641e09d448e75ed5ffc488bb6be6ae89 to your computer and use it in GitHub Desktop.
Revisions
-
TheBinitGhimire created this gist
Mar 9, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ # MobSF on Kubernetes ## Implementation ```bash kubectl apply -f mobsf.yaml ``` ## Usage ```bash kubectl port-forward service/mobsf-entrypoint 80:1337 ``` Now, you will be able to access MobSF on your local port 80, i.e. http://localhost:80. 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ apiVersion: apps/v1 kind: Deployment metadata: name: mobsf-deployment namespace: default spec: replicas: 1 selector: matchLabels: mobsf: web template: metadata: labels: mobsf: web spec: containers: - name: mobsf-container image: opensecurity/mobile-security-framework-mobsf --- apiVersion: v1 kind: Service metadata: name: mobsf-entrypoint namespace: default spec: type: NodePort selector: mobsf: web ports: - port: 1337 targetPort: 8000 nodePort: 31337