mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 01:49:44 +00:00
local-path-provisioner
This commit is contained in:
parent
d83f13189a
commit
8ab01dec6d
2 changed files with 39 additions and 4 deletions
14
README.rst
14
README.rst
|
|
@ -20,11 +20,13 @@ Applications & Projects
|
||||||
+------------------------------+----------------------------------------------------------------+-------------------------+
|
+------------------------------+----------------------------------------------------------------+-------------------------+
|
||||||
| ArgoCD_ | `GitOps tool for Kubernetes`_ | |argocd_status| |
|
| ArgoCD_ | `GitOps tool for Kubernetes`_ | |argocd_status| |
|
||||||
+------------------------------+----------------------------------------------------------------+-------------------------+
|
+------------------------------+----------------------------------------------------------------+-------------------------+
|
||||||
|
| Cert-Manager_ | `Certificate Management`_ | |cert-manager_status| |
|
||||||
|
+------------------------------+----------------------------------------------------------------+-------------------------+
|
||||||
| Cilium_ | `Cluster CNI plugin`_ | |cilium_status| |
|
| Cilium_ | `Cluster CNI plugin`_ | |cilium_status| |
|
||||||
+------------------------------+----------------------------------------------------------------+-------------------------+
|
+------------------------------+----------------------------------------------------------------+-------------------------+
|
||||||
| Ingress-Nginx_ | `Ingress Controller`_ | |ingress-nginx_status| |
|
| Ingress-Nginx_ | `Ingress Controller`_ | |ingress-nginx_status| |
|
||||||
+------------------------------+----------------------------------------------------------------+-------------------------+
|
+------------------------------+----------------------------------------------------------------+-------------------------+
|
||||||
| Cert-Manager_ | `Certificate Management`_ | |cert-manager_status| |
|
| Local-Path-Provisioner_ | `Rancher Local-Path`_ | |local-path_status| |
|
||||||
+------------------------------+----------------------------------------------------------------+-------------------------+
|
+------------------------------+----------------------------------------------------------------+-------------------------+
|
||||||
| `Apps Project`_, **user level applications** |
|
| `Apps Project`_, **user level applications** |
|
||||||
+------------------------------+----------------------------------------------------------------+-------------------------+
|
+------------------------------+----------------------------------------------------------------+-------------------------+
|
||||||
|
|
@ -43,6 +45,10 @@ Applications & Projects
|
||||||
.. _GitOps tool for Kubernetes: https://argo-cd.readthedocs.io
|
.. _GitOps tool for Kubernetes: https://argo-cd.readthedocs.io
|
||||||
.. |argocd_status| image:: https://argocd.ioot.xyz/api/badge?name=argocd&revision=true
|
.. |argocd_status| image:: https://argocd.ioot.xyz/api/badge?name=argocd&revision=true
|
||||||
|
|
||||||
|
.. _Cert-Manager: https://argocd.ioot.xyz/applications/argocd/cert-manager
|
||||||
|
.. _Certificate Management: https://cert-manager.io/
|
||||||
|
.. |cert-manager_status| image:: https://argocd.ioot.xyz/api/badge?name=cert-manager&revision=true
|
||||||
|
|
||||||
.. _Cilium: https://argocd.ioot.xyz/applications/argocd/cilium
|
.. _Cilium: https://argocd.ioot.xyz/applications/argocd/cilium
|
||||||
.. _Cluster CNI plugin: https://github.com/cilium/cilium
|
.. _Cluster CNI plugin: https://github.com/cilium/cilium
|
||||||
.. |cilium_status| image:: https://argocd.ioot.xyz/api/badge?name=cilium&revision=true
|
.. |cilium_status| image:: https://argocd.ioot.xyz/api/badge?name=cilium&revision=true
|
||||||
|
|
@ -51,9 +57,9 @@ Applications & Projects
|
||||||
.. _Ingress Controller: https://github.com/kubernetes/ingress-nginx
|
.. _Ingress Controller: https://github.com/kubernetes/ingress-nginx
|
||||||
.. |ingress-nginx_status| image:: https://argocd.ioot.xyz/api/badge?name=ingress-nginx&revision=true
|
.. |ingress-nginx_status| image:: https://argocd.ioot.xyz/api/badge?name=ingress-nginx&revision=true
|
||||||
|
|
||||||
.. _Cert-Manager: https://argocd.ioot.xyz/applications/argocd/cert-manager
|
.. _Local-Path-Provisioner: https://argocd.ioot.xyz/applications/argocd/local-path-provisioner
|
||||||
.. _Certificate Management: https://cert-manager.io/
|
.. _Rancher Local-Path: https://github.com/rancher/local-path-provisioner
|
||||||
.. |cert-manager_status| image:: https://argocd.ioot.xyz/api/badge?name=cert-manager&revision=true
|
.. |local-path_status| image:: https://argocd.ioot.xyz/api/badge?name=local-path-provisioner&revision=true
|
||||||
|
|
||||||
|
|
||||||
Cluster initialization
|
Cluster initialization
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: local-path-provisioner
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: local-path-storage
|
||||||
|
project: system
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
# https://argo-cd.readthedocs.io/en/stable/user-guide/multiple_sources/#helm-value-files-from-external-git-repository
|
||||||
|
source:
|
||||||
|
repoURL: https://github.com/rancher/local-path-provisioner.git
|
||||||
|
targetRevision: v0.0.24
|
||||||
|
path: deploy/chart/local-path-provisioner
|
||||||
|
helm:
|
||||||
|
values: |
|
||||||
|
# https://github.com/rancher/local-path-provisioner/blob/v0.0.24/deploy/chart/local-path-provisioner/values.yaml
|
||||||
|
storageClass:
|
||||||
|
defaultClass: true
|
||||||
|
nodePathMap:
|
||||||
|
- node: DEFAULT_PATH_FOR_NON_LISTED_NODES
|
||||||
|
paths:
|
||||||
|
- /data/local-path-provisioner
|
||||||
Loading…
Reference in a new issue