Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (25 sloc) 449 Bytes
apiVersion: v1
kind: Pod
metadata:
name: www
spec:
containers:
- name: nginx
image: nginx
volumeMounts:
- mountPath: /home
name: home
- mountPath: /git
name: git
readOnly: true
- mountPath: /temp
name: temp
volumes:
- name: home
hostPath:
path: /home/debian
- name: git
gitRepo:
repository: https://github.com/josedom24/kubernetes.git
- name: temp
emptyDir: {}
You can’t perform that action at this time.