- kubectl (installation guide is here)
- helm (installation guide is here)
kubectl will be automatically configured to your created cluster
You can check your demo-cluster status with next command
kubectl get nodes
- Clone this git repository
git clone https://github.com/DataScientest/helm-phpbb.git
- 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
- 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
Defined in values.yaml
Name | Default Value | Difinition |
---|---|---|
namespace |
phpbb |
Kubernetes namespace |
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 |
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 |
- Execute the next command to get the list of helm releases
helm list
- Execute the next command to uninstall helm release by RELEASE_NAME
helm uninstall phpbb-mysql
Copyright (c) 2023 Datascientest