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

View File

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