modified: akashop/ingress.yml
This commit is contained in:
parent
907676febe
commit
6bb64c5601
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue