kubectl apply -f mobsf.yaml
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.
kubectl apply -f mobsf.yaml
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.
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 |