Init Commit
This commit is contained in:
commit
b63d7e778d
65956
Monitoring/Prometheus-Operator/bundle.yaml
Normal file
65956
Monitoring/Prometheus-Operator/bundle.yaml
Normal file
File diff suppressed because it is too large
Load Diff
16
Monitoring/longhorn-servicemonitor.yaml
Normal file
16
Monitoring/longhorn-servicemonitor.yaml
Normal 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
|
34
Proxy-Cache/caching-pod.yaml
Normal file
34
Proxy-Cache/caching-pod.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user