values.yaml を更新
This commit is contained in:
87
values.yaml
87
values.yaml
@@ -1,4 +1,5 @@
|
|||||||
replicaCount: 1
|
# デフォルト値設定
|
||||||
|
replicaCount: 2
|
||||||
|
|
||||||
image:
|
image:
|
||||||
nginx:
|
nginx:
|
||||||
@@ -8,53 +9,93 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
wordpress:
|
wordpress:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: repo-name
|
repository: wordpress
|
||||||
tag: "fpm-alpine"
|
tag: "6.8.3-php8.4-fpm-alpine"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
# WordPress設定
|
||||||
|
wordpress:
|
||||||
|
dbHost: mysql-service
|
||||||
|
dbName: wordpress
|
||||||
|
dbUser: wordpress
|
||||||
|
# 本番環境ではSecretを使用してください
|
||||||
|
dbPassword: "changeme"
|
||||||
|
tablePrefix: wp_
|
||||||
|
|
||||||
|
# Service設定
|
||||||
service:
|
service:
|
||||||
# type: ClusterIP
|
# type: ClusterIP
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
port: 80
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
|
|
||||||
|
# Ingress設定
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
className: ""
|
className: nginx
|
||||||
annotations: {}
|
annotations: {}
|
||||||
# {
|
# {
|
||||||
# acme.cert-manager.io/http01-ingress-class: "nginx",
|
# acme.cert-manager.io/http01-ingress-class: "nginx",
|
||||||
# cert-manager.io/cluster-issuer: "letsencrypt-issuer",
|
# cert-manager.io/cluster-issuer: "letsencrypt-issuer",
|
||||||
# nginx.ingress.kubernetes.io/from-to-www-redirect: "true",
|
# 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:
|
hosts:
|
||||||
- host: example.tld
|
- host: wordpress.local
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
tls: []
|
tls: []
|
||||||
# [
|
# - secretName: phpmyadmin-tls
|
||||||
# {
|
# hosts:
|
||||||
# hosts: [ "example.com" ],
|
# - phpmyadmin.local
|
||||||
# secretName: "example-tls"
|
|
||||||
# }
|
|
||||||
# ]
|
|
||||||
|
|
||||||
|
# PersistentVolume設定
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
storageClass: ""
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
size: 1Gi
|
size: 10Gi
|
||||||
|
|
||||||
|
# リソース設定
|
||||||
|
resources:
|
||||||
nginx:
|
nginx:
|
||||||
customConfig:
|
limits:
|
||||||
enabled: false
|
cpu: 500m
|
||||||
snippet: |-
|
memory: 512Mi
|
||||||
|
requests:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 256Mi
|
||||||
|
wordpress:
|
||||||
|
limits:
|
||||||
|
cpu: 1000m
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 512Mi
|
||||||
|
|
||||||
externalDatabase:
|
# Health Check
|
||||||
host: mariadb-hostname
|
healthCheck:
|
||||||
port: 3306
|
enabled: true
|
||||||
database: dbname
|
livenessProbe:
|
||||||
username: user
|
httpGet:
|
||||||
password: pass
|
path: /
|
||||||
|
port: 80
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 80
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
periodSeconds: 5
|
||||||
|
|
||||||
resources: {}
|
# Node Selector
|
||||||
|
nodeSelector: {}
|
||||||
|
|
||||||
|
# Tolerations
|
||||||
|
tolerations: []
|
||||||
|
|
||||||
|
# Affinity
|
||||||
|
affinity: {}
|
||||||
Reference in New Issue
Block a user