-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
taking away metrics server health checks and failure debug
Signed-off-by: Austin Abro <[email protected]>
- Loading branch information
1 parent
b0f79ba
commit 52e1989
Showing
7 changed files
with
348 additions
and
264 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,165 +1,139 @@ | ||
# zarf dev generate big-bang 2.35.0 --values-files=values-files/ingress.yaml,values-files/kyverno.yaml,values-files/loki.yaml,values-files/neuvector.yaml | ||
apiVersion: zarf.dev/v1alpha1 | ||
kind: ZarfPackageConfig | ||
metadata: | ||
name: bigbang | ||
components: | ||
- name: flux | ||
required: true | ||
manifests: | ||
- name: flux-system | ||
namespace: flux-system | ||
files: | ||
- flux/bb-flux.yaml | ||
images: | ||
- registry1.dso.mil/ironbank/fluxcd/source-controller:v1.3.0 | ||
- registry1.dso.mil/ironbank/fluxcd/kustomize-controller:v1.3.0 | ||
- registry1.dso.mil/ironbank/fluxcd/helm-controller:v1.0.1 | ||
- registry1.dso.mil/ironbank/fluxcd/notification-controller:v1.3.0 | ||
- name: bigbang | ||
required: true | ||
manifests: | ||
- name: flux | ||
required: true | ||
manifests: | ||
- name: flux-system | ||
namespace: flux-system | ||
files: | ||
- flux/bb-flux.yaml | ||
images: | ||
- registry1.dso.mil/ironbank/fluxcd/source-controller:v1.3.0 | ||
- registry1.dso.mil/ironbank/fluxcd/kustomize-controller:v1.3.0 | ||
- registry1.dso.mil/ironbank/fluxcd/helm-controller:v1.0.1 | ||
- registry1.dso.mil/ironbank/fluxcd/notification-controller:v1.3.0 | ||
- name: bigbang | ||
namespace: bigbang | ||
files: | ||
- manifests/gitrepository.yaml | ||
- manifests/bb-zarf-credentials.yaml | ||
- values-files/ingress.yaml | ||
- values-files/kyverno.yaml | ||
- values-files/loki.yaml | ||
- values-files/neuvector.yaml | ||
- manifests/helmrelease.yaml | ||
images: | ||
- registry1.dso.mil/ironbank/big-bang/grafana/grafana-plugins:11.1.4 | ||
- registry1.dso.mil/ironbank/kiwigrid/k8s-sidecar:1.27.5 | ||
- registry1.dso.mil/ironbank/big-bang/base:2.1.0 | ||
- registry1.dso.mil/ironbank/opensource/istio/pilot:1.22.4 | ||
- registry1.dso.mil/ironbank/opensource/istio/proxyv2:1.22.4 | ||
- registry1.dso.mil/ironbank/opensource/istio/operator:1.22.4 | ||
- registry1.dso.mil/ironbank/opensource/kiali/kiali:v1.89.0 | ||
- registry1.dso.mil/ironbank/opensource/kiali/kiali-operator:v1.89.1 | ||
- registry1.dso.mil/ironbank/opensource/kyverno:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/kyvernopre:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kubernetes/kubectl:v1.29.7 | ||
- registry1.dso.mil/ironbank/redhat/ubi/ubi9-minimal:9.4 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/kyverno/reports-controller:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/kyverno/background-controller:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/kyverno/cleanup-controller:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/kyvernocli:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/policy-reporter:2.20.1 | ||
- registry1.dso.mil/ironbank/opensource/grafana/loki:3.1.1 | ||
- registry1.dso.mil/ironbank/opensource/kubernetes-sigs/metrics-server:v0.7.1 | ||
- registry1.dso.mil/ironbank/opensource/prometheus/alertmanager:v0.27.0 | ||
- registry1.dso.mil/ironbank/opensource/kubernetes/kubectl:v1.29.6 | ||
- registry1.dso.mil/ironbank/opensource/kubernetes/kube-state-metrics:v2.12.0 | ||
- registry1.dso.mil/ironbank/opensource/ingress-nginx/kube-webhook-certgen:v1.3.0 | ||
- registry1.dso.mil/ironbank/opensource/prometheus/prometheus:v2.53.0 | ||
- registry1.dso.mil/ironbank/opensource/prometheus-operator/prometheus-config-reloader:v0.75.0 | ||
- registry1.dso.mil/ironbank/opensource/prometheus-operator/prometheus-operator:v0.75.0 | ||
- registry1.dso.mil/ironbank/opensource/prometheus/node-exporter:v1.8.1 | ||
- registry1.dso.mil/ironbank/opensource/thanos/thanos:v0.35.1 | ||
- registry1.dso.mil/ironbank/neuvector/neuvector/controller:5.3.4 | ||
- registry1.dso.mil/ironbank/neuvector/neuvector/enforcer:5.3.4 | ||
- registry1.dso.mil/ironbank/neuvector/neuvector/manager:5.3.4 | ||
- registry1.dso.mil/ironbank/neuvector/neuvector/scanner:5 | ||
- registry1.dso.mil/ironbank/neuvector/neuvector/prometheus-exporter:5.3.2 | ||
- registry1.dso.mil/ironbank/opensource/grafana/promtail:v3.0.0 | ||
- registry1.dso.mil/ironbank/opensource/grafana/tempo:2.5.0 | ||
- registry1.dso.mil/ironbank/opensource/grafana/tempo-query:2.5.0 | ||
repos: | ||
- https://repo1.dso.mil/big-bang/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
actions: | ||
onDeploy: | ||
onFailure: | ||
- cmd: ./zarf tools kubectl get nodes -o wide | ||
- cmd: ./zarf tools kubectl get hr -n bigbang | ||
- cmd: ./zarf tools kubectl get gitrepo -n bigbang | ||
- cmd: ./zarf tools kubectl get pods -A | ||
- mute: true | ||
cmd: ./zarf tools kubectl describe hr -n bigbang | ||
description: Storing debug information to the log for troubleshooting. | ||
- mute: true | ||
cmd: ./zarf tools kubectl describe gitrepo -n bigbang | ||
description: Storing debug information to the log for troubleshooting. | ||
- mute: true | ||
cmd: ./zarf tools kubectl describe pods -A | ||
description: Storing debug information to the log for troubleshooting. | ||
- mute: true | ||
cmd: ./zarf tools kubectl describe nodes | ||
description: Storing debug information to the log for troubleshooting. | ||
- mute: true | ||
cmd: ./zarf tools kubectl get events -A | ||
description: Storing debug information to the log for troubleshooting. | ||
onRemove: | ||
before: | ||
- cmd: ./zarf tools kubectl patch helmrelease -n bigbang bigbang --type=merge -p '{"spec":{"suspend":true}}' | ||
description: Suspend Big Bang HelmReleases to prevent reconciliation during removal. | ||
healthChecks: | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: grafana | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: istio | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: istio-operator | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: kiali | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: kyverno | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: kyverno-policies | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: kyverno-reporter | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: loki | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: metrics-server | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: monitoring | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: neuvector | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: promtail | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: tempo | ||
required: true | ||
manifests: | ||
- name: bigbang | ||
namespace: bigbang | ||
files: | ||
- manifests/bb-gitrepository.yaml | ||
- manifests/bb-zarf-credentials.yaml | ||
- values-files/ingress.yaml | ||
- values-files/kyverno.yaml | ||
- values-files/loki.yaml | ||
- values-files/neuvector.yaml | ||
- manifests/bb-helmrelease.yaml | ||
images: | ||
- registry1.dso.mil/ironbank/big-bang/grafana/grafana-plugins:11.1.4 | ||
- registry1.dso.mil/ironbank/kiwigrid/k8s-sidecar:1.27.5 | ||
- registry1.dso.mil/ironbank/big-bang/base:2.1.0 | ||
- registry1.dso.mil/ironbank/opensource/istio/pilot:1.22.4 | ||
- registry1.dso.mil/ironbank/opensource/istio/proxyv2:1.22.4 | ||
- registry1.dso.mil/ironbank/opensource/istio/operator:1.22.4 | ||
- registry1.dso.mil/ironbank/opensource/kiali/kiali:v1.89.0 | ||
- registry1.dso.mil/ironbank/opensource/kiali/kiali-operator:v1.89.1 | ||
- registry1.dso.mil/ironbank/opensource/kyverno:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/kyvernopre:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kubernetes/kubectl:v1.29.7 | ||
- registry1.dso.mil/ironbank/redhat/ubi/ubi9-minimal:9.4 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/kyverno/reports-controller:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/kyverno/background-controller:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/kyverno/cleanup-controller:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/kyvernocli:v1.12.5 | ||
- registry1.dso.mil/ironbank/opensource/kyverno/policy-reporter:2.20.1 | ||
- registry1.dso.mil/ironbank/opensource/grafana/loki:3.1.1 | ||
- registry1.dso.mil/ironbank/opensource/kubernetes-sigs/metrics-server:v0.7.1 | ||
- registry1.dso.mil/ironbank/opensource/prometheus/alertmanager:v0.27.0 | ||
- registry1.dso.mil/ironbank/opensource/kubernetes/kubectl:v1.29.6 | ||
- registry1.dso.mil/ironbank/opensource/kubernetes/kube-state-metrics:v2.12.0 | ||
- registry1.dso.mil/ironbank/opensource/ingress-nginx/kube-webhook-certgen:v1.3.0 | ||
- registry1.dso.mil/ironbank/opensource/prometheus/prometheus:v2.53.0 | ||
- registry1.dso.mil/ironbank/opensource/prometheus-operator/prometheus-config-reloader:v0.75.0 | ||
- registry1.dso.mil/ironbank/opensource/prometheus-operator/prometheus-operator:v0.75.0 | ||
- registry1.dso.mil/ironbank/opensource/prometheus/node-exporter:v1.8.1 | ||
- registry1.dso.mil/ironbank/opensource/thanos/thanos:v0.35.1 | ||
- registry1.dso.mil/ironbank/neuvector/neuvector/controller:5.3.4 | ||
- registry1.dso.mil/ironbank/neuvector/neuvector/enforcer:5.3.4 | ||
- registry1.dso.mil/ironbank/neuvector/neuvector/manager:5.3.4 | ||
- registry1.dso.mil/ironbank/neuvector/neuvector/scanner:5 | ||
- registry1.dso.mil/ironbank/neuvector/neuvector/prometheus-exporter:5.3.2 | ||
- registry1.dso.mil/ironbank/opensource/grafana/promtail:v3.0.0 | ||
- registry1.dso.mil/ironbank/opensource/grafana/tempo:2.5.0 | ||
- registry1.dso.mil/ironbank/opensource/grafana/tempo-query:2.5.0 | ||
repos: | ||
- https://repo1.dso.mil/big-bang/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
- https://repo1.dso.mil/big-bang/product/packages/[email protected] | ||
actions: | ||
onRemove: | ||
before: | ||
- cmd: ./zarf tools kubectl patch helmrelease -n bigbang bigbang --type=merge -p '{"spec":{"suspend":true}}' | ||
description: Suspend Big Bang HelmReleases to prevent reconciliation during removal. | ||
healthChecks: | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: grafana | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: istio | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: istio-operator | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: kiali | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: kyverno | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: kyverno-policies | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: kyverno-reporter | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: loki | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: monitoring | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: neuvector | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: promtail | ||
- apiVersion: v1 | ||
kind: HelmRelease | ||
namespace: bigbang | ||
name: tempo | ||
|
||
# YAML keys starting with `x-` are custom keys that are ignored by the Zarf CLI | ||
# The `x-mdx` key is used to render the markdown content for https://docs.zarf.dev/ref/examples | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.