Minimal Drupal site example
This is a compact example of a Drupal custom resource showing only a few
essential fields for a basic site.
apiVersion: ozzi.io/v1alpha2
kind: Drupal
metadata:
name: minimal-drupal
namespace: drupal-demo
spec:
drupal_image: drupal:11.2.8-php8.4-apache
drupal_replicas: 1
drupal_cron: true
Save this as minimal-drupal.yaml and apply it:
kubectl apply -f minimal-drupal.yaml
Then check the resources:
kubectl get pods -n drupal-demo
kubectl get svc -n drupal-demo
Use the service created for drupal to to access the site.