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..2bea95e 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 \ No newline at end of file diff --git a/img/obiwan.jpg b/img/obiwan.jpg new file mode 100644 index 0000000..8c3ca55 Binary files /dev/null and b/img/obiwan.jpg differ diff --git a/skaffold.yaml b/skaffold.yaml index 81a214e..897b1a1 100644 --- a/skaffold.yaml +++ b/skaffold.yaml @@ -9,4 +9,9 @@ build: deploy: kubectl: manifests: - - hello-world-nginx* \ No newline at end of file + - hello-world-nginx* +profiles: + - name: gcb + build: + googleCloudBuild: + projectId: gcp-demo-200100 \ No newline at end of file diff --git a/www-data/index.html b/www-data/index.html index 964bce5..1fc59d9 100644 --- a/www-data/index.html +++ b/www-data/index.html @@ -1,3 +1,8 @@ -