diff --git a/hello-world-nginx-deploy.yaml b/hello-world-nginx-deploy.yaml index fb1c817..e6bf4d0 100644 --- a/hello-world-nginx-deploy.yaml +++ b/hello-world-nginx-deploy.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: name: hello-world-nginx-deployment spec: - replicas: 2 + replicas: 3 template: metadata: labels: diff --git a/hello-world-nginx-ingress.yaml b/hello-world-nginx-ingress.yaml index aea515b..a6278f3 100644 --- a/hello-world-nginx-ingress.yaml +++ b/hello-world-nginx-ingress.yaml @@ -2,7 +2,11 @@ apiVersion: extensions/v1beta1 kind: Ingress metadata: name: hello-world-nginx-ingress + annotations: + kubernetes.io/ingress.global-static-ip-name: "kubernetes-ingress" spec: backend: serviceName: hello-world-nginx-svc servicePort: 80 + rules: + - host: kubeguy.ga diff --git a/www-data/index.html b/www-data/index.html index 964bce5..91f3695 100644 --- a/www-data/index.html +++ b/www-data/index.html @@ -1,3 +1,5 @@ -