DataScientest / helm-phpbb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubernetes phpbb + MySQL helm chart

Dependencies

kubectl will be automatically configured to your created cluster

You can check your demo-cluster status with next command

kubectl get nodes

Usage

  1. Clone this git repository
git clone https://github.com/DataScientest/helm-phpbb.git
  1. Execute next commands from repository directory

check that all templates are valid

cd helm-phpbb
helm template .

install chart

helm install phpbb-mysql . --values=values.yaml
  1. Check your phpbb service NodePort with next command (may take some time)
kubectl get service -n phpbb

By-default namespace that used in the chart called phpbb. If you changed it, make sure you define the proper namespace in kubectl get command.

Now you can check this IP address with web-browser

Helm Variables

Defined in values.yaml

Name Default Value Difinition
namespace phpbb Kubernetes namespace

phpbb:

Name Default Value Difinition
deployment.image phpbb:4.8-apache Docker image for phpbb
deployment.replicaCount 1 Number of Pods to run
service.type NodePort Kubernetes Service type
service.port 80 Publishing port

mysql:

Name Default Value Difinition
deployment.image mysql:5.6 Docker image for MySQL
deployment.replicaCount 1 Number of Pods to run
service.type ClusterIP Kubernetes Service type
service.port 3306 Publishing port
pvc.accessMode ReadWriteOnce PVC Access mode
pvc.storage 2Gi PVC Storage size

Uninstall

  1. Execute the next command to get the list of helm releases
helm list
  1. Execute the next command to uninstall helm release by RELEASE_NAME
helm uninstall phpbb-mysql

License

MIT License

Copyright (c) 2023 Datascientest

About

License:MIT License


Languages

Language:Mustache 100.0%