Skip to content

Commit

Permalink
feat: 10GBe, Unifi Network Application & MongoDB Operator (#41)
Browse files Browse the repository at this point in the history
* feat: Unifi Network Application

* feat: MongoDB Operator

* fix: add Unifi/MongoDB to Startup/Shutdown

* feat: Update mermaid diagram
  • Loading branch information
ArthurVardevanyan authored Feb 9, 2024
1 parent db63c4c commit b3a98a9
Show file tree
Hide file tree
Showing 31 changed files with 1,742 additions and 27 deletions.
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"recommendations": [
"abusaidm.html-snippets",
"alefragnani.project-manager",
"bierner.markdown-mermaid",
//"Bridgecrew.checkov",
"christian-kohler.path-intellisense",
"DavidAnson.vscode-markdownlint",
Expand Down
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"anongid",
"anonuid",
"anyuid",
"apdiscovery",
"apiextensions",
"apiregistration",
"apiserver",
Expand Down Expand Up @@ -144,13 +145,15 @@
"dateext",
"dateformat",
"datetime",
"DBNAME",
"dbus",
"dconf",
"ddns",
"deesser",
"delaycompress",
"desktopclient",
"devfile",
"devicecom",
"devs",
"devworkspace",
"dind",
Expand Down Expand Up @@ -216,6 +219,8 @@
"horizontalpodautoscaler",
"hostmount",
"hotplug",
"httpredirects",
"httpsredirects",
"hyperconverged",
"hyperthreading",
"iface",
Expand Down Expand Up @@ -321,6 +326,7 @@
"mitigations",
"mkdir",
"mkpasswd",
"mongodbcommunity",
"moreutils",
"mountsatoken",
"mtls",
Expand Down Expand Up @@ -368,6 +374,7 @@
"pfsense",
"pgbackrest",
"pgdata",
"PGID",
"pgmonitor",
"photoprism",
"phpmyadmin",
Expand All @@ -394,6 +401,7 @@
"provisione",
"psql",
"psutil",
"PUID",
"pulseeffects",
"pulsesink",
"pulsesrc",
Expand Down Expand Up @@ -428,6 +436,7 @@
"serverstransports",
"serviceaccount",
"serviceaccounts",
"servicebinding",
"servicemonitor",
"sharemanager",
"sharemanagers",
Expand Down Expand Up @@ -485,6 +494,7 @@
"truenas",
"tsdb",
"ubackup",
"unifi",
"unmanaged",
"usercreated",
"usermod",
Expand All @@ -507,6 +517,7 @@
"vscodium",
"vxlan",
"wdelay",
"webapi",
"webex",
"webfinger",
"websecure",
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,19 @@ graph TD
wan1[<center>WAN 500/50<br>192.168.100.1</center>]---router{<center>PfSense<br>10.0.0.2</center>}
wan2[<center>LTE 100/25 Mb<br>192.168.1.1</center>]---router
router---ap{<center>TP-AX1800<br>10.0.0.1</center>}
ap---switch[<center>TL-SG1005D</center>]
ap---switch[<center>USW-Flex-XG</center>]
subgraph HomeLab
switch-.-truenas(<center>TrueNas<br>10.0.0.3</center>)
switch-.-kvm-1(<center>kvm-1<br>10.0.0.107</center>)
switch-.-kvm-2(<center>kvm-2<br>10.0.0.108</center>)
switch-.-kvm-3(<center>kvm-3<br>10.0.0.109</center>)
switch-.-|1 GbE|truenas(<center>TrueNas<br>10.0.0.3</center>)
switch-.-|10 GbE|kvm-1(<center>kvm-1<br>10.0.0.107</center>)
switch-.-|10 GbE|kvm-2(<center>kvm-2<br>10.0.0.108</center>)
switch-.-|10 GbE|kvm-3(<center>kvm-3<br>10.0.0.109</center>)
subgraph OKD KVM-1
kvm-1-.-server-1(<center>server-1<br>10.0.0.101</center>)
kvm-1-.-infra-1(<center>infra-1<br>10.0.0.121</center>)
kvm-1-.-worker-1(<center>worker-1<br>10.0.0.111</center>)
kvm-1-.-worker-4(<center>worker-4<br>10.0.0.114</center>)
end
subgraph OKD KVM-2
kvm-2-.-server-2(<center>server-2<br>10.0.0.102</center>)
kvm-2-.-infra-2(<center>infra-2<br>10.0.0.121</center>)
Expand Down
Binary file modified img/Heimdall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions kubernetes/argocd/applications/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ resources:
- longhorn-system.yaml
- mariadb-galera.yaml
- minio-operator.yaml
- mongodb-operator.yaml
- network-observability.yaml
- nextcloud.yaml
- okd-configuration.yaml
Expand All @@ -36,6 +37,7 @@ resources:
- stackrox-central.yaml
- stackrox-secure.yaml
- tekton.yaml
- unifi-network-application.yaml
- uptime-kuma.yaml
- vault.yaml
- version-checker.yaml
Expand Down
23 changes: 23 additions & 0 deletions kubernetes/argocd/applications/mongodb-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: mongodb-operator
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "1"
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
labels:
app.kubernetes.io/instance: argocd
spec:
destination:
namespace: mongodb-operator
server: https://kubernetes.default.svc
project: default
source:
path: kubernetes/mongodb-operator/overlays/okd
repoURL: https://git.<path:secret/data/homelab/domain#url>/ArthurVardevanyan/HomeLab
targetRevision: HEAD
syncPolicy:
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
22 changes: 22 additions & 0 deletions kubernetes/argocd/applications/unifi-network-application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: unifi-network-application
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "1"
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
labels:
app.kubernetes.io/instance: argocd
spec:
destination:
namespace: bitwarden
server: https://kubernetes.default.svc
project: default
source:
path: kubernetes/unifi-network-application/overlays/okd
repoURL: https://git.<path:secret/data/homelab/domain#url>/ArthurVardevanyan/HomeLab
targetRevision: HEAD
syncPolicy:
syncOptions:
- CreateNamespace=true
4 changes: 4 additions & 0 deletions kubernetes/mongodb-operator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# MongoDB Operator

<https://github.com/mongodb/mongodb-kubernetes-operator/blob/master/docs/install-upgrade.md#install-the-operator-using-kubectl>
<https://github.com/mongodb/mongodb-kubernetes-operator/tree/master/config/samples>
Loading

0 comments on commit b3a98a9

Please sign in to comment.