1
0
Fork 0

make ajustments to cadvisor

This commit is contained in:
Massaki Archambault 2021-09-06 12:40:08 -04:00
parent 4df81101ad
commit 0494ca1356
4 changed files with 8 additions and 7 deletions

View File

@ -67,10 +67,10 @@ spec:
resources: resources:
requests: requests:
cpu: 1500m cpu: 1500m
memory: 1.5Gi memory: 1Gi
limits: limits:
cpu: 2000m cpu: 2000m
memory: 2Gi memory: 1.5Gi
volumeMounts: volumeMounts:
- name: nextcloud-pv - name: nextcloud-pv
mountPath: /var/www/html mountPath: /var/www/html

View File

@ -16,7 +16,7 @@ spec:
scheme: https scheme: https
path: /metrics path: /metrics
honorLabels: true honorLabels: true
interval: 60s interval: 30s
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig: tlsConfig:
caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
@ -25,7 +25,7 @@ spec:
scheme: https scheme: https
path: /metrics/cadvisor path: /metrics/cadvisor
honorLabels: true honorLabels: true
interval: 60s interval: 10s
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig: tlsConfig:
caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt

View File

@ -17,7 +17,8 @@ images:
- name: drone/drone-runner-kube - name: drone/drone-runner-kube
newTag: 1.0.0-beta.9 newTag: 1.0.0-beta.9
- name: nextcloud - name: nextcloud
newTag: 22.1.0 newName: badjware/nextcloud-tweak
newTag: 22.1.0-2
- name: postgres - name: postgres
newTag: 9.6.23 newTag: 9.6.23
- name: redis - name: redis
@ -30,6 +31,7 @@ secretGenerator:
behavior: replace behavior: replace
literals: literals:
- rpc_secret=9128146e66f104873df80dad3ef12cf0 - rpc_secret=9128146e66f104873df80dad3ef12cf0
- database_secret=a5dbfbc0577505041759fcf6f87598bf
# https://docs.drone.io/server/provider/gitea/ # https://docs.drone.io/server/provider/gitea/
- name: drone-gitea-oauth-secret - name: drone-gitea-oauth-secret
type: Opaque type: Opaque

View File

@ -2,7 +2,6 @@ bases:
- ../../namespaces/kube-system - ../../namespaces/kube-system
- ../../namespaces/operators - ../../namespaces/operators
- ../../bases/longhorn - ../../bases/longhorn
# - ../../namespaces/cert-manager
# allow "kubectl apply -l managed-by=cluster --prune ..." # allow "kubectl apply -l managed-by=cluster --prune ..."
commonlabels: commonlabels: