From 6435d66e7c25a53d54c7ebb4c2929f0c7f185f64 Mon Sep 17 00:00:00 2001 From: "tariqislam@google.com" Date: Mon, 30 Jul 2018 15:31:06 +0000 Subject: [PATCH] adding image --- hello-world-nginx-deploy.yaml | 2 +- hello-world-nginx-ingress.yaml | 4 ++++ www-data/index.html | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) 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 @@ -

Hello and welcome to some random stateless app on GKE!

+ + +

and welcome to some random stateless app on GKE!

It's a brave new world out here. \ No newline at end of file