dokuwiki_helm_deploy
Differences
This shows you the differences between two versions of the page.
| dokuwiki_helm_deploy [2025/07/26 17:09] – - Imported by DokuWiki Advanced Plugin wikiadm | dokuwiki_helm_deploy [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Dokuwiki via helm ====== | ||
| - | <file bash> | ||
| - | $ helm repo add bitnami https:// | ||
| - | " | ||
| - | </ | ||
| - | <file bash> | ||
| - | $ helm show values bitnami/ | ||
| - | </ | ||
| - | |||
| - | <file yaml values.yaml> | ||
| - | dokuwikiUsername: | ||
| - | dokuwikiPassword: | ||
| - | dokuwikiEmail: | ||
| - | dokuwikiFullName: | ||
| - | dokuwikiWikiName: | ||
| - | |||
| - | persistence: | ||
| - | storageClass: | ||
| - | |||
| - | service: | ||
| - | type: ClusterIP | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl create ns wiki-system | ||
| - | namespace/ | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ helm install wiki -f values.yaml bitnami/ | ||
| - | NAME: wiki | ||
| - | LAST DEPLOYED: Fri May 13 12:31:54 2022 | ||
| - | NAMESPACE: wiki-system | ||
| - | STATUS: deployed | ||
| - | REVISION: 1 | ||
| - | TEST SUITE: None | ||
| - | NOTES: | ||
| - | CHART NAME: dokuwiki | ||
| - | CHART VERSION: 12.3.0 | ||
| - | APP VERSION: 20200729.0.0 | ||
| - | |||
| - | ** Please be patient while the chart is being deployed ** | ||
| - | |||
| - | 1. Get the DokuWiki URL by running: | ||
| - | |||
| - | export NODE_PORT=$(kubectl get --namespace wiki-system -o jsonpath=" | ||
| - | export NODE_IP=$(kubectl get nodes --namespace wiki-system -o jsonpath=" | ||
| - | echo "URL: http:// | ||
| - | |||
| - | 2. Login with the following credentials | ||
| - | |||
| - | echo Username: admin | ||
| - | echo Password: $(kubectl get secret --namespace wiki-system wiki-dokuwiki -o jsonpath=" | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ echo Password: $(kubectl get secret --namespace wiki-system wiki-dokuwiki -o jsonpath=" | ||
| - | Password: YWRtaW4K | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ helm list -n wiki-system | ||
| - | NAME NAMESPACE | ||
| - | wiki wiki-system | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl get all -n wiki-system -o wide | ||
| - | NAME READY | ||
| - | pod/ | ||
| - | |||
| - | NAME TYPE | ||
| - | service/ | ||
| - | |||
| - | NAME READY | ||
| - | deployment.apps/ | ||
| - | |||
| - | NAME DESIRED | ||
| - | replicaset.apps/ | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl get pv,pvc -n wiki-system | ||
| - | NAME CAPACITY | ||
| - | persistentvolume/ | ||
| - | |||
| - | NAME STATUS | ||
| - | persistentvolumeclaim/ | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl describe pv pvc-14d94a74-5b61-4a1b-929b-6ed3c8816223 -n wiki-system | ||
| - | Name: pvc-14d94a74-5b61-4a1b-929b-6ed3c8816223 | ||
| - | Labels: | ||
| - | Annotations: | ||
| - | Finalizers: | ||
| - | StorageClass: | ||
| - | Status: | ||
| - | Claim: | ||
| - | Reclaim Policy: | ||
| - | Access Modes: | ||
| - | VolumeMode: | ||
| - | Capacity: | ||
| - | Node Affinity: | ||
| - | Message: | ||
| - | Source: | ||
| - | Type: NFS (an NFS mount that lasts the lifetime of a pod) | ||
| - | Server: | ||
| - | Path: / | ||
| - | ReadOnly: | ||
| - | Events: | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl describe pvc wiki-dokuwiki -n wiki-system | ||
| - | Name: wiki-dokuwiki | ||
| - | Namespace: | ||
| - | StorageClass: | ||
| - | Status: | ||
| - | Volume: | ||
| - | Labels: | ||
| - | | ||
| - | | ||
| - | | ||
| - | Annotations: | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | Finalizers: | ||
| - | Capacity: | ||
| - | Access Modes: | ||
| - | VolumeMode: | ||
| - | Used By: | ||
| - | Events: | ||
| - | Type Reason | ||
| - | ---- ------ | ||
| - | Normal | ||
| - | Normal | ||
| - | Normal | ||
| - | </ | ||
| - | |||
| - | ===== Serviço em dual stack ===== | ||
| - | <file bash> | ||
| - | $ kubectl describe service wiki-dokuwiki -n wiki-system | ||
| - | Name: | ||
| - | Namespace: | ||
| - | Labels: | ||
| - | app.kubernetes.io/ | ||
| - | app.kubernetes.io/ | ||
| - | helm.sh/ | ||
| - | Annotations: | ||
| - | meta.helm.sh/ | ||
| - | Selector: | ||
| - | Type: | ||
| - | IP Family Policy: | ||
| - | IP Families: | ||
| - | IP: | ||
| - | IPs: 10.96.35.202 | ||
| - | Port: | ||
| - | TargetPort: | ||
| - | NodePort: | ||
| - | Endpoints: | ||
| - | Port: | ||
| - | TargetPort: | ||
| - | NodePort: | ||
| - | Endpoints: | ||
| - | Session Affinity: | ||
| - | External Traffic Policy: | ||
| - | Events: | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl edit service wiki-dokuwiki -n wiki-system | ||
| - | </ | ||
| - | |||
| - | Adicione/ | ||
| - | <file yaml> | ||
| - | ipFamilyPolicy: | ||
| - | ipFamilies: | ||
| - | - IPv6 | ||
| - | - IPv4 | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl describe service wiki-dokuwiki -n wiki-system | ||
| - | Name: | ||
| - | Namespace: | ||
| - | Labels: | ||
| - | app.kubernetes.io/ | ||
| - | app.kubernetes.io/ | ||
| - | helm.sh/ | ||
| - | Annotations: | ||
| - | meta.helm.sh/ | ||
| - | Selector: | ||
| - | Type: | ||
| - | IP Family Policy: | ||
| - | IP Families: | ||
| - | IP: | ||
| - | IPs: 10.96.35.202, | ||
| - | Port: | ||
| - | TargetPort: | ||
| - | NodePort: | ||
| - | Endpoints: | ||
| - | Port: | ||
| - | TargetPort: | ||
| - | NodePort: | ||
| - | Endpoints: | ||
| - | Session Affinity: | ||
| - | External Traffic Policy: | ||
| - | Events: | ||
| - | </ | ||
| - | |||
| - | ===== Ingress ===== | ||
| - | <file yaml wiki-ingress.yaml> | ||
| - | --- | ||
| - | apiVersion: networking.k8s.io/ | ||
| - | kind: Ingress | ||
| - | metadata: | ||
| - | creationTimestamp: | ||
| - | name: wiki | ||
| - | namespace: wiki-system | ||
| - | spec: | ||
| - | ingressClassName: | ||
| - | rules: | ||
| - | - host: wiki.juntotelecom.com.br | ||
| - | http: | ||
| - | paths: | ||
| - | - backend: | ||
| - | service: | ||
| - | name: wiki-dokuwiki | ||
| - | port: | ||
| - | number: 80 | ||
| - | path: / | ||
| - | pathType: Prefix | ||
| - | status: | ||
| - | loadBalancer: | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl apply -f wiki-ingress.yaml | ||
| - | ingress.networking.k8s.io/ | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl get ingress -n wiki-system | ||
| - | NAME | ||
| - | wiki | ||
| - | </ | ||
| - | |||
| - | <file bash> | ||
| - | $ kubectl describe ingress wiki -n wiki-system | ||
| - | Name: wiki | ||
| - | Labels: | ||
| - | Namespace: | ||
| - | Address: | ||
| - | Default backend: | ||
| - | Rules: | ||
| - | Host Path Backends | ||
| - | ---- ---- -------- | ||
| - | wiki.juntotelecom.com.br | ||
| - | / | ||
| - | Annotations: | ||
| - | Events: | ||
| - | Type Reason | ||
| - | ---- ------ | ||
| - | Normal | ||
| - | </ | ||
| - | |||
| - | [[http:// | ||
| - | ===== Para remover ===== | ||
| - | |||
| - | <file bash> | ||
| - | $ helm uninstall wiki -n wiki-system | ||
| - | release " | ||
| - | </ | ||
| - | |||
| - | ===== Referências ===== | ||
| - | - [[https:// | ||
dokuwiki_helm_deploy.1753560543.txt.gz · Last modified: by wikiadm
