rename(hequet)

drone
nold 3 years ago
parent 6e862a5c76
commit 82430d4f6a

@ -0,0 +1,28 @@
# Heqet
*Heqet (Egyptian ḥqt, also ḥqtyt "Heqtit") is an Egyptian goddess of fertility.*
I would call it a 'GitOps Kubernetes Development Distribution/Environment' supplying everything you need to get startet with k8s. Heqet heavily relies on a Helm-Chart `charts/heqet` which will generate all applications using ArgoCD's [App-of-Apps-Pattern](https://argoproj.github.io/argo-cd/operator-manual/cluster-bootstrapping/)
Heqet Keyfeatures:
* As easy to setup as possible
* Follow the GitOps principles
* Supply an independent development environment; incl:
* Continous Deployment
* Storage [for bare-metal/on-prem]
* Ingress
* ...
**This project is still in a very early stage of development - WIP**
## Components
Core component is `ArgoCD` which will deploy all of Heqet's apps & your's if you want. All you need is a git-repo & k8s cluster.
Hequet contains / will contain:
* ArgoCD [Deploys all Applications from Git]
* Prometheus, Grafana, Loki & fluentd - preconfigured for basic Monitoring and Logging
* Kubernetes Dashboard
* Traefik Ingress
* Jaeger [Tracing]
* Rook [Block/Object-Strage]

@ -4,6 +4,6 @@ kubectl apply -n argocd -f manifests/argocd.yaml
echo
echo "Bootstrapping Heket Apps..."
kubectl apply -n argocd -f manifests/heket-apps.yaml
kubectl apply -n argocd -f manifests/heqet-apps.yaml
exit 0

@ -1,4 +1,4 @@
#!/bin/bash
echo "Grafana 'admin': $(kubectl get secret -n heket-loki loki-grafana --output jsonpath='{.data.admin-password}' | base64 -d)"
echo "Grafana 'admin': $(kubectl get secret -n heqet-loki loki-grafana --output jsonpath='{.data.admin-password}' | base64 -d)"
echo "ArgoCD 'admin': $(kubectl get pods -n argocd -l app.kubernetes.io/name=argocd-server -o name | cut -d'/' -f 2)"
exit 0

@ -6,5 +6,7 @@ killall kubectl
sleep 1
kubectl port-forward svc/argocd-server -n argocd 8081:443 &>/dev/null &
kubectl port-forward svc/loki-grafana -n heket-loki 8082:80 &>/dev/null &
kubectl port-forward svc/loki-grafana -n heqet-loki 8082:80 &>/dev/null &
kubectl port-forward svc/heqet-vault-ui -n heqet-vault 8083:8200 &>/dev/null &
kubectl port-forward service/heqet-jaeger-jaeger-operator-jaeger-query -n heqet-jaeger 8084:8200 &>/dev/null &
exit 0

@ -1,5 +0,0 @@
apiVersion: v1
appVersion: "0.1"
description: Heket-Bootstrap Applications
name: heket
version: 0.1.0

@ -0,0 +1,5 @@
apiVersion: v1
appVersion: "0.1"
description: Heqet-Bootstrap Applications
name: heqet
version: 0.1.0

@ -1,4 +1,4 @@
{{- range .Values.heket.apps }}
{{- range .Values.heqet.apps }}
---
apiVersion: v1
kind: Namespace
@ -18,11 +18,17 @@ spec:
project: {{ .project | default "default" }}
destination:
namespace: {{ .namespace | default .name | quote }}
server: {{ .server | default $.Values.heket.defaults.server }}
server: {{ .server | default $.Values.heqet.defaults.server }}
source:
path: {{ .path | default "." | quote }}
repoURL: {{ .repoURL | default $.Values.heket.defaults.repoURL | quote }}
repoURL: {{ .repoURL | default $.Values.heqet.defaults.repoURL | quote }}
targetRevision: {{ .targetRevision | default "HEAD" | quote }}
syncPolicy:
{{- if .automated }}
automated:
prune: {{ .automated.prune | default $.Values.heqet.defaults.automated.prune | default false }}
selfHeal: {{ .automated.prune | default $.Values.heqet.defaults.automated.selfHeal | default false }}
{{- end }}
{{- if .values }}
helm:
parameters:

@ -1,10 +1,14 @@
heket:
heqet:
defaults:
project: "default"
repoURL: https://github.com/nold360/heket
repoURL: https://github.com/nold360/heqet
server: https://kubernetes.default.svc
automated:
prune: true
selfheal: true
apps:
- name: heqet
- name: jaeger
path: charts/jaeger-operator
repoURL: https://github.com/jaegertracing/helm-charts
@ -18,7 +22,7 @@ heket:
repoURL: https://github.com/containous/traefik-helm-chart
# We can even declare values here :)
- name: heket-vault
- name: vault
repoURL: https://github.com/hashicorp/vault-helm
values:
- name: server.dev.enabled
@ -30,7 +34,7 @@ heket:
- name: kubernetes-dashboard
path: charts/kubernetes-dashboard
- name: heket-loki
- name: loki-stack
path: charts/loki-stack
- name: sync-waves
path: charts/sync-waves

@ -1,14 +1,14 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: heket
name: heqet
spec:
destination:
namespace: kube-heket
namespace: argocd
server: 'https://kubernetes.default.svc'
source:
path: charts/heket
repoURL: 'https://github.com/nold360/heket'
path: charts/heqet
repoURL: 'https://github.com/nold360/heqet'
targetRevision: HEAD
helm:
valueFiles:
@ -16,8 +16,5 @@ spec:
project: default
syncPolicy:
automated:
automated:
prune: true
selfHeal: true
prune: true
selfHeal: true
Loading…
Cancel
Save