modified: akashop/ingress.yml

This commit is contained in:
Sangmin Kim 2024-04-02 10:22:38 +09:00
parent 907676febe
commit 6bb64c5601
2 changed files with 8 additions and 7 deletions

View File

@ -4,7 +4,7 @@ metadata:
name: wp
namespace: akashop
spec:
replicas: 1
replicas: 3
selector:
matchLabels:
app: wp
@ -41,12 +41,12 @@ spec:
# secretKeyRef:
# name: my-secret # Name of the secret containing the variable
# key: VAR2_KEY
# livenessProbe:
# httpGet:
# path: /
# port: 80
# initialDelaySeconds: 5
# periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 10
volumeMounts:
- name: wp-data
mountPath: /var/www/html

View File

@ -7,6 +7,7 @@ metadata:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
traefik.ingress.kubernetes.io/router.tls.certresolver: le
traefik.ingress.kubernetes.io/router.sticky.cookie: "sticky"
spec:
rules:
- host: whoami.172.233.168.9.nip.io