portefaix / portefaix-kubernetes

Kubernetes resources
https://github.com/portefaix/.github
Apache License 2.0
9 stars 7 forks source link

how monitoring #1492

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

how monitoring

enablePrometheusServer: true

podMonitor:

enabled: true

labels:

monitoring: portefaix

https://github.com/portefaix/portefaix/blob/ce13ffcf0bfa9a2f4051f6e4a52bed8cd57f1a26/kubernetes/base/kube-system/aws-node-terminaison-handler/aws-node-termination-handler.yaml#L63


# Copyright (C) 2021 Nicolas Lamirault <nicolas.lamirault@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: aws-node-termination-handler
  namespace: kube-system
spec:
  chart:
    spec:
      # renovate: registryUrl=https://aws.github.io/eks-charts
      chart: aws-node-termination-handler
      version: 0.16.0
      sourceRef:
        kind: HelmRepository
        name: eks
        namespace: flux-system
  interval: 5m0s
  releaseName: aws-node-termination-handler
  targetNamespace: kube-system
  install:
    crds: CreateReplace
  upgrade:
    crds: CreateReplace
  values:
    # TODO: aws-node-termination-handler: Support custom labels
    # labels: kind/feature, priority/low, lifecycle/frozen, area/kubernetes, cloud/aws
    # https://github.com/aws/aws-node-termination-handler/pull/529

    # customLabels:
    #   portefaix.xyz/version: v0.25.0

    # additionalAnnotations:
    #   a8r.io/description: A Kubernetes controller for Elastic Load Balancers
    #   a8r.io/owner: aws
    #   a8r.io/bugs: https://github.com/kubernetes-sigs/aws-node-termination-handler/issues
    #   a8r.io/documentation: https://kubernetes-sigs.github.io/aws-node-termination-handler
    #   a8r.io/repository: https://github.com/kubernetes-sigs/aws-node-termination-handler/
    #   a8r.io/support: https://github.com/kubernetes-sigs/aws-node-termination-handler/issues

    jsonLogging: true
    logLevel: "info"

    nodeSelector:
      lifecycle: self-managed-spot

    serviceAccount:
      name: aws-node-termination-handler

    # TODO: how monitoring
    # enablePrometheusServer: true
    # podMonitor:
    #   enabled: true
    #   labels:
    #     monitoring: portefaix

8ec3c041acef068f21bde5a5f40244a5a308d752

github-actions[bot] commented 2 years ago

Closed in 12112690ae71e5d238cc10421272eaa147d2766c