Skip to content

Commit

Permalink
Move all controllers to infrastructure-controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
devantler committed Sep 28, 2024
1 parent 445e875 commit 472cd4b
Show file tree
Hide file tree
Showing 71 changed files with 20 additions and 21 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ The cluster configuration is stored in the `k8s/*` directories where the structu
- [Homepage](k8s/shared/apps/homepage) - To provide a dashborad for the cluster.
- [Open WebUI](k8s/shared/apps/open-webui) - To provide a web interface and a REST API for interacting with LLM's.
- [PlantUML](k8s/shared/infrastructure/plantuml) - To provide a web interface and a REST API for generating PlantUML diagrams.
- [Traefik](k8s/shared/infrastructure/traefik) - To provide an ingress controller for the cluster.
- [Traefik](k8s/shared/infrastructure/controllers/traefik) - To provide an ingress controller for the cluster.
- [`custom-resources/`](k8s/shared/custom-resources): Contains the custom resources that are used across the cluster.
- [Middlewares](k8s/shared/custom-resources/middlewares) - Contains the middlewares that are used by Traefik.
- [Selfsigned Cluster Issuer](k8s/shared/custom-resources/selfsigned-cluster-issuer) - Contains the selfsigned cluster issuer that is used by Traefik.
Expand All @@ -159,18 +159,18 @@ The cluster configuration is stored in the `k8s/*` directories where the structu
- [Cluster API Operator](k8s/shared/infrastructure/capi-operator) - For managing the lifecycle of Kubernetes clusters.
- [GitHub Actions Runner Scale Set Controller](k8s/shared/infrastructure/gha-runner-scale-set-controller) - To manage GitHub Actions Runner Scale Sets in the cluster.
- [GitHub Actions Runner Scale Sets](k8s/clusters/homelab-prod/infrastructure/gha-runner-scale-sets) - To run GitHub Actions in the cluster.
- [Goldilocks](k8s/shared/infrastructure/goldilocks) - To provide and apply resource recommendations for pods.
- [Goldilocks](k8s/shared/infrastructure/controllers/goldilocks) - To provide and apply resource recommendations for pods.
- [Harbor](k8s/shared/infrastructure/harbor) - To store and distribute container images.
- [K8sGPT Operator](k8s/shared/infrastructure/k8sgpt-operator) - To analyze the cluster for improvements, vulnerabilities or bugs.
- [K8sGPT Operator](k8s/shared/infrastructure/controllers/k8sgpt-operator) - To analyze the cluster for improvements, vulnerabilities or bugs.
- [Kube Prometheus Stack](k8s/shared/infrastructure/kube-prometheus-stack) - To provide monitoring for the cluster. (Prometheus, Grafana, Alertmanager, etc.)
- [Kyverno](k8s/shared/infrastructure/kyverno) - To enforce policies in the cluster.
- [Kyverno](k8s/shared/infrastructure/controllers/kyverno) - To enforce policies in the cluster.
- [Longhorn](k8s/distributions/talos/core/longhorn) - To provide distributed storage for the cluster.
- [Metrics Server](k8s/shared/infrastructure/metrics-server) - To provide metrics for the cluster.
- [Metrics Server](k8s/shared/infrastructure/controllers/metrics-server) - To provide metrics for the cluster.
- [OAuth2 Proxy](k8s/shared/infrastructure/oauth2-proxy) - To provide authentication for the cluster.
- [Ollama](k8s/shared/infrastructure/ollama) - To run LLM's on the cluster.
- [Reloader](k8s/shared/infrastructure/reloader) - To reload deployments when secrets or configmaps change.
- [Testkube](k8s/shared/infrastructure/testkube) - To provide a testing framework for the cluster.
- [Trivy Operator](k8s/shared/infrastructure/trivy-operator) - To analyze the cluster for vulnerabilities.
- [Reloader](k8s/shared/infrastructure/controllers/reloader) - To reload deployments when secrets or configmaps change.
- [Testkube](k8s/shared/infrastructure/controllers/testkube) - To provide a testing framework for the cluster.
- [Trivy Operator](k8s/shared/infrastructure/controllers/trivy-operator) - To analyze the cluster for vulnerabilities.
- [`tenants`](k8s/shared/tenants): Contains Flux kustomizations to bootstrap and onboard tenants. (currently not in use)
- [`variables/`](k8s/shared/variables): Contains global variables, that are the same for all clusters.

Expand Down
13 changes: 12 additions & 1 deletion k8s/shared/infrastructure/controllers/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources: []
resources:
- capi-operator
- cert-manager
- gha-runner-scale-set-controller
- goldilocks
- kyverno
- metrics-server
- reloader
#- testkube
- traefik
- trivy-operator
# - k8sgpt-operator

components:
- ../../../components/helm-release-crds-label
Expand Down
File renamed without changes.
File renamed without changes.
12 changes: 0 additions & 12 deletions k8s/shared/infrastructure/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- capi-operator
- cert-manager
- cloudflared
- dex
- gha-runner-scale-set-controller
- goldilocks
#- harbor
- kube-prometheus-stack
- kyverno
- metrics-server
- oauth2-proxy
#- ollama
- reloader
#- testkube
- traefik
- trivy-operator
# - helm-charts-oci-proxy
# - k8sgpt-operator

components:
- ../../components/helm-release-crds-label
Expand Down

0 comments on commit 472cd4b

Please sign in to comment.