Skip to content

Commit

Permalink
🚀 v0.8.2
Browse files Browse the repository at this point in the history
0.8.2
  • Loading branch information
kyfelipe authored Nov 26, 2020
2 parents 3e714b0 + c62c18f commit 112e857
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 1 deletion.
7 changes: 6 additions & 1 deletion charts/vkpr/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: vkpr
version: 0.8.1
version: 0.8.2
appVersion: v1.4.0
home: https://github.com/vertigobr/vkpr
icon: https://vertigo.com.br/wp-content/uploads/favicon.png
Expand Down Expand Up @@ -73,6 +73,11 @@ dependencies:
version: 10.3.1
condition: kube-prometheus-stack.enabled

- name: jaeger
repository: https://jaegertracing.github.io/helm-charts
version: 0.39.0
condition: jaeger.enabled

# - name: metrics-server
# repository: https://kubernetes-charts.storage.googleapis.com
# version: 2.8.8
Expand Down
3 changes: 3 additions & 0 deletions charts/vkpr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ vault:
loki-stack:
enabled: false

jaeger:
enabled: false

kube-prometheus-stack:
enabled: false
prometheusOperator:
Expand Down
149 changes: 149 additions & 0 deletions examples/local/values-local-loki-grafana-jaeger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
#
# Valores para testes locais com o k3d.
# O objetivo é mostrar a integração e uso de Open Tracing entre Loki, Jaeger e Grafana.
#
# O que executa:
# - Ingress controller (ingress-nginx)
# - Aplicação "whoami"
# - Loki
# - Grafana
# - Prometheus
# - Jaeger
#
# INSTALAÇÃO COM MAKEFILE:
#
# make k3d_create
# make example_local_loki_grafana_jaeger
# make get_grafana_secret
#
# INSTALAÇÃO VIA HELM (manual):
#
# helm upgrade -i vkpr -f examples/local/values-local-loki-grafana.yaml ./charts/vkpr
# kubectl get secret vkpr-grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
#
# Coloque as seguintes entradas no /etc/hosts :
# 127.0.0.1 grafana.localdomain
#
# Abrir a seguinte URL no browser:
#
# http://grafana.localdomain:8080
#

#
# INGRESS STACK (enables OpenTracing)
#
ingress-nginx:
enabled: true
controller:
config:
enable-opentracing: "true"
jaeger-collector-host: vkpr-jaeger-agent

external-dns:
enabled: false
cert-manager:
enabled: false

# chart values
ingress:
enabled: true
annotations:
ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/enable-opentracing: "true"
hosts:
- host: whoami.localdomain
paths: ["/"]

#
# LOGGING STACK:
#

loki-stack:
enabled: true
grafana:
enabled: false

jaeger:
enabled: true
cassandra:
config:
max_heap_size: 1024M
heap_new_size: 256M
cluster_size: 1
persistence:
enabled: true
resources:
requests:
memory: 2048Mi
cpu: 0.4
limits:
memory: 2048Mi
cpu: 1.0
query:
ingress:
enabled: true
hosts:
- jaeger.localdomain

#
# MONITORING STACK
#
kube-prometheus-stack:
enabled: true
## Manages Prometheus and Alertmanager components
prometheusOperator:
enabled: false
## CRDs são mandatórios no Helm 3 (ignorar as duas linhas abaixo)
createCustomResource: false
cleanupCustomResource: false
prometheus:
enabled: false
alertmanager:
enabled: false
grafana:
enabled: true
sidecar:
datasources:
enabled: true
persistence:
enabled: false
ingress:
enabled: true
hosts:
- grafana.localdomain
## Component scraping the kube api server
kubeApiServer:
enabled: false
## Component scraping the kubelet and kubelet-hosted cAdvisor
kubelet:
enabled: false
## Component scraping the kube controller manager
kubeControllerManager:
enabled: false
## Component scraping coreDns. Use either this or kubeDns
coreDns:
enabled: false
## Component scraping kubeDns. Use either this or coreDns
kubeDns:
enabled: false
## Component scraping etcd
kubeEtcd:
enabled: false
## Component scraping kube scheduler
kubeScheduler:
enabled: false
## Component scraping kube proxy
kubeProxy:
enabled: false
## Component scraping kube state metrics
kubeStateMetrics:
enabled: false

#
# SECURITY STACK
#
vault:
enabled: false

keycloak:
enabled: false
4 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ example_local_loki_grafana:
@echo "KUBECONFIG = $(KUBECONFIG)"
helm upgrade -i vkpr -f examples/local/values-local-loki-grafana.yaml ./charts/vkpr

example_local_loki_grafana_jaeger:
@echo "KUBECONFIG = $(KUBECONFIG)"
helm upgrade -i vkpr -f examples/local/values-local-loki-grafana-jaeger.yaml ./charts/vkpr

example_local_keycloak_grafana:
@echo "KUBECONFIG = $(KUBECONFIG)"
kubectl create secret generic vkpr-realm-secret --from-file=examples/keycloak/realm.json
Expand Down

0 comments on commit 112e857

Please sign in to comment.