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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"datasource": "Prometheus", | |
"enable": true, | |
"expr": "time() - kube_replicaset_created{namespace=\"$namespace\"} * on(replicaset) group_right() label_replace(kube_pod_owner{namespace=\"$namespace\"}, \"replicaset\", \"$1\", \"owner_name\", \"(.*)\") * on(pod) group_left(label_version, label_app) kube_pod_labels{ label_app=\"$container_name\"} < BOOL 60", | |
"hide": false, | |
"iconColor": "rgba(255, 96, 96, 1)", | |
"limit": 100, |
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
.deploy:template: &deployment_definition | |
stage: deploy | |
image: alpine | |
when: manual | |
environment: | |
name: develop | |
before_script: | |
- apk add --no-cache curl | |
- apk add --update openssl | |
- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get > get_helm.sh |
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: v1 | |
kind: Service | |
metadata: | |
name: ambassador-monitor | |
labels: | |
service: ambassador-monitor | |
spec: | |
selector: | |
service: ambassador |
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
{{- if .Values.hpa.enabled -}} | |
apiVersion: autoscaling/v2beta1 | |
kind: HorizontalPodAutoscaler | |
metadata: | |
name: {{ .Release.Name }} | |
labels: | |
app: {{ template "podinfo.name" . }} | |
spec: | |
scaleTargetRef: | |
apiVersion: apps/v1beta2 |
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: v1 | |
kind: Service | |
metadata: | |
name: {{ .Release.Name }} | |
labels: | |
app: {{ template "podinfo.name" . }} | |
chart: {{ template "podinfo.chart" . }} | |
release: {{ .Release.Name }} | |
heritage: {{ .Release.Service }} | |
serviceName: {{ template "podinfo.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
--- | |
kind: ServiceAccount | |
apiVersion: v1 | |
metadata: | |
name: {{ .Release.Name }} | |
namespace: {{ .Release.Namespace }} | |
--- | |
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: |
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: v1 | |
kind: Secret | |
metadata: | |
name: vault-token | |
type: Opaque | |
data: | |
vaultToken: <encoded-token> |
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: v1 | |
kind: ServiceAccount | |
metadata: | |
name: gitlab-service-account | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: gitlab-service-account |
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
replicaCount: 1 | |
service: | |
name: vault | |
type: ClusterIP | |
externalPort: 8200 | |
port: 8200 | |
fullnameOverride: vault |
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
prometheus: | |
prometheusSpec: | |
serviceMonitorNamespaceSelector: | |
matchNames: | |
- monitoring | |
grafana: | |
service: | |
type: NodePort | |
annotations: |
NewerOlder