This file contains hidden or 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
apiVersion: argoproj.io/v1alpha1 | |
kind: Application | |
metadata: | |
name: microk8s-hcp-vault | |
namespace: argocd | |
spec: | |
syncPolicy: | |
automated: | |
prune: false | |
selfHeal: true |
This file contains hidden or 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
name: Deploy to Amazon ECS | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- releases | |
pull_request: |
This file contains hidden or 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
name: generate-task-definition-json | |
author: Raphael Moraes | |
decription: Action to generate a custom task definition json file | |
inputs: | |
environment: | |
description: 'Environment Name' | |
required: true | |
default: dev | |
ecr_name: |
This file contains hidden or 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
stages: | |
- kube-bench | |
Kube bench: | |
stage: kube-bench | |
environment: | |
name: dev | |
variables: | |
KUBE_BENCH_VERSION: v0.6.9 | |
tags: |
This file contains hidden or 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
rules: | |
default: true | |
custom: [] | |
# Mounts a configMap with pre-generated rules for use. Overrides the | |
# default, custom, external and resource entries | |
existing: | |
external: | |
# External metric for Gitlab Runner: Devops Group | |
- seriesQuery: 'gitlab_runner_jobs{job=~".*your-gitlab-runner-name.*"}' | |
resources: |
This file contains hidden or 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
prometheusSpec: | |
additionalAlertManagerConfigs: [] | |
additionalAlertRelabelConfigs: [] | |
additionalPrometheusSecretsAnnotations: {} | |
additionalRemoteRead: [] | |
additionalRemoteWrite: [] | |
additionalScrapeConfigs: | |
- job_name: serviceMonitor/gitlab-runners/your-gitlab-runner-name | |
kubernetes_sd_configs: | |
- namespaces: |
This file contains hidden or 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
podLabels: | |
name: your-gitlab-runner-name | |
hpa: | |
minReplicas: 2 | |
maxReplicas: 10 | |
metrics: | |
- type: External | |
external: | |
metricName: gitlab_runner_jobs_devops_group | |
targetAverageValue: 1000m |
This file contains hidden or 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
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole | |
metadata: | |
name: horizontal-pod-autoscaler-external-metrics | |
rules: | |
- apiGroups: | |
- external.metrics.k8s.io | |
resources: | |
- '*' |
This file contains hidden or 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
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: horizontal-pod-autoscaler-external-metrics | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: horizontal-pod-autoscaler-external-metrics | |
subjects: |
This file contains hidden or 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
# Url to access prometheus | |
prometheus: | |
# Value is templated | |
url: http://kube-prometheus-stack-helm-prometheus.kube-prometheus-stack.svc.cluster.local | |
port: 9090 | |
path: "" |
NewerOlder