From 6e6c1316f7653cc167320f68972f007592e49fc2 Mon Sep 17 00:00:00 2001 From: pieter Date: Thu, 20 Nov 2025 07:54:19 +0000 Subject: [PATCH] =?UTF-8?q?values.yaml=20=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- values.yaml | 89 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 65 insertions(+), 24 deletions(-) diff --git a/values.yaml b/values.yaml index beee593..9845489 100644 --- a/values.yaml +++ b/values.yaml @@ -1,4 +1,5 @@ -replicaCount: 1 +# デフォルト値設定 +replicaCount: 2 image: nginx: @@ -8,53 +9,93 @@ image: pullPolicy: IfNotPresent wordpress: registry: docker.io - repository: repo-name - tag: "fpm-alpine" + repository: wordpress + tag: "6.8.3-php8.4-fpm-alpine" pullPolicy: IfNotPresent +# WordPress設定 +wordpress: + dbHost: mysql-service + dbName: wordpress + dbUser: wordpress + # 本番環境ではSecretを使用してください + dbPassword: "changeme" + tablePrefix: wp_ + +# Service設定 service: # type: ClusterIP type: LoadBalancer port: 80 + targetPort: 80 +# Ingress設定 ingress: enabled: false - className: "" + className: nginx annotations: {} # { # acme.cert-manager.io/http01-ingress-class: "nginx", # cert-manager.io/cluster-issuer: "letsencrypt-issuer", # nginx.ingress.kubernetes.io/from-to-www-redirect: "true", - # nginx.ingress.kubernetes.io/proxy-body-size: "100m" + # nginx.ingress.kubernetes.io/proxy-body-size: "100m", + # nginx.ingress.kubernetes.io/rate-limit: "10" # } hosts: - - host: example.tld + - host: wordpress.local paths: - path: / pathType: Prefix tls: [] - # [ - # { - # hosts: [ "example.com" ], - # secretName: "example-tls" - # } - # ] + # - secretName: phpmyadmin-tls + # hosts: + # - phpmyadmin.local +# PersistentVolume設定 persistence: enabled: true + storageClass: "" accessMode: ReadWriteOnce - size: 1Gi + size: 10Gi -nginx: - customConfig: - enabled: false - snippet: |- +# リソース設定 +resources: + nginx: + limits: + cpu: 500m + memory: 512Mi + requests: + cpu: 250m + memory: 256Mi + wordpress: + limits: + cpu: 1000m + memory: 1Gi + requests: + cpu: 500m + memory: 512Mi -externalDatabase: - host: mariadb-hostname - port: 3306 - database: dbname - username: user - password: pass +# Health Check +healthCheck: + enabled: true + livenessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 30 + periodSeconds: 10 + readinessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 10 + periodSeconds: 5 -resources: {} +# Node Selector +nodeSelector: {} + +# Tolerations +tolerations: [] + +# Affinity +affinity: {} \ No newline at end of file