Init Commit

This commit is contained in:
Emma Ruby 2024-08-18 19:01:46 +01:00
commit b63d7e778d
3 changed files with 66006 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: longhorn-prometheus-servicemonitor
namespace: monitoring
labels:
name: longhorn-prometheus-servicemonitor
spec:
selector:
matchLabels:
app: longhorn-manager
namespaceSelector:
matchNames:
- longhorn-system
endpoints:
- port: manager

View File

@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: mirror-proxy
labels:
app: mirror-proxy
spec:
replicas: 3
selector:
matchLabels:
app: mirror-proxy
template:
metadata:
labels:
app: mirror-proxy
spec:
containers:
- name: nginx
image: nginx:1.27.1
ports:
- containerPort: 80
name: http
volumeMounts:
- name: tmpfs_cache
mountPath: /cache
- name: nginx_config
mountPath: /etc/nginx
readOnly: true
volumes:
- name: tmpfs_cache
emptyDir: {}
- name: nginx_config
configMap:
name: mirror-proxy-cfg