Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion kubernetes/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ spec:
volumeMounts:
- mountPath: /var/spool/squid
name: data
# add config file to persist the required config
- mountPath: /etc/squid/squid.conf
name: config
volumes:
- name: data
emptyDir: {}
hostPath:
# directory location on host
path: /srv/docker/squid/cache
type: Directory
- name: config
hostPath:
# file location on host
path: /srv/docker/squid/squid.conf
type: File

Loading