Disable kubelet cadadvisor metrics

This commit is contained in:
Stefan Reimer 2020-08-04 14:45:42 +01:00
parent 14be15423a
commit 9dab68e0d3
5 changed files with 31 additions and 4 deletions

14
CHANGES.md Normal file
View File

@ -0,0 +1,14 @@
# CFN / Platform
- Kube to 1.17
- Kube-proxy uses ipvs
- metrics support for kube-proxy
- no reliance on custom resource for S3 buckets anymore
# Kubezero
- fully automated one command bootstrap incl. all kubezero components
- migrated from kube-prometheuss to community helm charts for metrics
- latest Grafana incl. peristence
- kube-prometheus adapter improvements / customizations
- integrated EFS CSI driver into Kubezero
- prometheus itself can be exposed via istio ingress on demand to ease development of custom metrics

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezero-metrics name: kubezero-metrics
description: KubeZero Umbrella Chart for prometheus-operator description: KubeZero Umbrella Chart for prometheus-operator
type: application type: application
version: 0.1.0 version: 0.1.1
home: https://kubezero.com home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
keywords: keywords:

View File

@ -19,7 +19,7 @@ prometheus-operator:
enabled: true enabled: true
kubeStateMetrics: kubeStateMetrics:
enabled: true enabled: true
kubelet: kubeProxy:
enabled: true enabled: true
# Disabled until we figure out how to scrape etcd with ssl client certs, scheduler/proxy/controller require https since 1.17 # Disabled until we figure out how to scrape etcd with ssl client certs, scheduler/proxy/controller require https since 1.17
@ -29,11 +29,15 @@ prometheus-operator:
enabled: false enabled: false
kubeEtcd: kubeEtcd:
enabled: false enabled: false
kubeProxy:
enabled: true
kubeScheduler: kubeScheduler:
enabled: false enabled: false
kubelet:
enabled: true
serviceMonitor:
# removed with 1.18 anyways
cAdvisor: false
prometheusOperator: prometheusOperator:
enabled: true enabled: true
#image: #image:

View File

@ -50,6 +50,10 @@ EOF
echo "Waiting for cert-manager to be deployed..." echo "Waiting for cert-manager to be deployed..."
wait_for kubectl get deployment -n cert-manager cert-manager-webhook 2>/dev/null 1>&2 wait_for kubectl get deployment -n cert-manager cert-manager-webhook 2>/dev/null 1>&2
kubectl rollout status deployment -n cert-manager cert-manager-webhook kubectl rollout status deployment -n cert-manager cert-manager-webhook
# Now that we have the cert-manager webhook, get the kiam certs in place but do NOT deploy kiam yet
helm template $DEPLOY_DIR -f values.yaml -f cloudbender.yaml --set kiam.not_ready=true --set kiam.enabled=false --set istio.enabled=false --set prometheus.enabled=false > generated-values.yaml
helm upgrade -n argocd kubezero kubezero/kubezero-argo-cd --create-namespace -f generated-values.yaml
wait_for kubectl get Issuer -n kube-system kubezero-local-ca-issuer 2>/dev/null 1>&2 wait_for kubectl get Issuer -n kube-system kubezero-local-ca-issuer 2>/dev/null 1>&2
kubectl wait --for=condition=Ready -n kube-system Issuer/kubezero-local-ca-issuer kubectl wait --for=condition=Ready -n kube-system Issuer/kubezero-local-ca-issuer

View File

@ -13,6 +13,11 @@ kubezero:
cert-manager: cert-manager:
enabled: {{ index .Values "cert-manager" "enabled" }} enabled: {{ index .Values "cert-manager" "enabled" }}
values: values:
# Disable all until webhook is in place
{{- if index .Values "cert-manager" "not_ready" }}
localCA:
enabled: false
{{- end }}
{{- if eq .Values.platform "aws" }} {{- if eq .Values.platform "aws" }}
cert-manager: cert-manager:
podAnnotations: podAnnotations: