diff --git a/kube/cashaddress-autoscale.yml b/kube/cashaddress-autoscale.yml index ecb89ca..e328993 100644 --- a/kube/cashaddress-autoscale.yml +++ b/kube/cashaddress-autoscale.yml @@ -8,6 +8,6 @@ spec: apiVersion: apps/v1 kind: Deployment name: cashaddress - minReplicas: 2 + minReplicas: 3 maxReplicas: 10 targetCPUUtilizationPercentage: 90 diff --git a/kube/cashaddress-ingress-tls.yml b/kube/cashaddress-ingress-tls.yml index 465cd99..ce8da07 100644 --- a/kube/cashaddress-ingress-tls.yml +++ b/kube/cashaddress-ingress-tls.yml @@ -1,4 +1,4 @@ -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: cashaddress-ingress @@ -12,21 +12,29 @@ spec: - cashaddress.org - www.cashaddress.org secretName: cashaddress-tls - backend: - serviceName: cashaddress - servicePort: 88 + defaultBackend: + service: + name: cashaddress + port: + number: 88 rules: - host: cashaddress.org http: paths: - path: / + pathType: ImplementationSpecific backend: - serviceName: cashaddress - servicePort: 88 + service: + name: cashaddress + port: + number: 88 - host: www.cashaddress.org http: paths: - path: / + pathType: ImplementationSpecific backend: - serviceName: cashaddress - servicePort: 88 + service: + name: cashaddress + port: + number: 88