add memory medium for proxy cache
This commit is contained in:
+7
-2
@@ -34,9 +34,11 @@ spec:
|
||||
- name: reverse-proxy-ssl
|
||||
mountPath: /etc/nginx/ssl/
|
||||
- mountPath: /etc/nginx/nginx.conf
|
||||
name: example-volume
|
||||
name: nginx-configfile-volume
|
||||
- name: reverse-proxy-www
|
||||
mountPath: /var/www/certbot/
|
||||
- name: proxy-cache-path-volume
|
||||
mountPath: /tmp/cache/
|
||||
volumes:
|
||||
- name: reverse-proxy-conf
|
||||
hostPath:
|
||||
@@ -47,10 +49,13 @@ spec:
|
||||
- name: reverse-proxy-ssl
|
||||
hostPath:
|
||||
path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/conf/
|
||||
- name: example-volume
|
||||
- name: nginx-configfile-volume
|
||||
hostPath:
|
||||
path: /opt/kubernetes/Reverse_proxy_Nginx/nginx.conf # directory location on host
|
||||
type: File # this field is optional
|
||||
- name: proxy-cache-path-volume
|
||||
emptyDir:
|
||||
medium: Memory
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Reference in New Issue
Block a user