Internal loadbalancing on GKE with static IP is not workingExpose port 80 and 443 on Google Container Engine without load balancerGKE can't tag cluster with Terraform configErrors when using Google Container Engine (GKE) with Google Container Registry (GCR)GKE Internal Server errorGKE Clusters not coming back after project restoreEnsure only internal access to App Engine FlexibleGKE - Kube-DNS stubDomain resolution to VPN network not workingUsing “Let's Encrypt” TLS with a Google Load Balancer? (Kubernetes/GKE)GKE lost node tag and static ip after auto-upgradeGKE private loadbalancer / ingress service with path based routing?

How to tease a romance without a cat and mouse chase?

Warped chessboard

Best practice for printing and evaluating formulas with the minimal coding

What does it mean to "take the Cross"

Does the Aboleth have expertise in History and Perception?

Why is こと used in 「私に何かできること」?

Germany rejected my entry to Schengen countries

In Dutch history two people are referred to as "William III"; are there any more cases where this happens?

What is metrics.roc_curve and metrics.auc measuring when I'm comparing binary data with probability estimates?

why "American-born", not "America-born"?

What's is the easiest way to purchase a stock and hold it

What should I wear to go and sign an employment contract?

How to prove the emptiness of intersection of two context free languages is undecidable?

Are there any nuances between "dismiss" and "ignore"?

How could the B-29 bomber back up under its own power?

On a piano, are the effects of holding notes and the sustain pedal the same for a single chord?

What does "bella ciao" mean literally?

How to determine the distribution of Ubuntu

What quantum phenomena violate the superposition principle in electromagnetism?

Is it wise to pay off mortgage with 401k?

Does a windmilling propeller create more drag than a stopped propeller in an engine out scenario?

Can 2 light bulbs of 120V in series be used on 230V AC?

Story about encounter with hostile aliens

Eigenvalues of the Laplace-Beltrami operator on a compact Riemannnian manifold



Internal loadbalancing on GKE with static IP is not working


Expose port 80 and 443 on Google Container Engine without load balancerGKE can't tag cluster with Terraform configErrors when using Google Container Engine (GKE) with Google Container Registry (GCR)GKE Internal Server errorGKE Clusters not coming back after project restoreEnsure only internal access to App Engine FlexibleGKE - Kube-DNS stubDomain resolution to VPN network not workingUsing “Let's Encrypt” TLS with a Google Load Balancer? (Kubernetes/GKE)GKE lost node tag and static ip after auto-upgradeGKE private loadbalancer / ingress service with path based routing?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I follow this guide to create an internal load balancing on GCE.
Everything runs just fine as I follow exactly what they instructed.
I see in the example, the internal IP address is picked randomly by the service loadbalancer which is not what I want. So I put the spec: loadBalancerIP with my preferred static internal IP and it does not work any more.
The app deployment is exactly what provided in that guide, here is my service and ingress yaml config:



apiVersion: v1
kind: Service
metadata:
name: hello-service
annotations:
cloud.google.com/load-balancer-type: "Internal"
spec:
type: LoadBalancer
loadBalancerIP: 172.19.0.7
selector:
app: hello
ports:
- name: web
port: 80
targetPort: 8080

---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: hello-web
spec:
rules:
- host: hello.internal
http:
paths:
- path: /
backend:
serviceName: hello-service
servicePort: web


Could you provide me some advice?
Thanks in advanced!










share|improve this question




























    0















    I follow this guide to create an internal load balancing on GCE.
    Everything runs just fine as I follow exactly what they instructed.
    I see in the example, the internal IP address is picked randomly by the service loadbalancer which is not what I want. So I put the spec: loadBalancerIP with my preferred static internal IP and it does not work any more.
    The app deployment is exactly what provided in that guide, here is my service and ingress yaml config:



    apiVersion: v1
    kind: Service
    metadata:
    name: hello-service
    annotations:
    cloud.google.com/load-balancer-type: "Internal"
    spec:
    type: LoadBalancer
    loadBalancerIP: 172.19.0.7
    selector:
    app: hello
    ports:
    - name: web
    port: 80
    targetPort: 8080

    ---
    apiVersion: extensions/v1beta1
    kind: Ingress
    metadata:
    name: hello-web
    spec:
    rules:
    - host: hello.internal
    http:
    paths:
    - path: /
    backend:
    serviceName: hello-service
    servicePort: web


    Could you provide me some advice?
    Thanks in advanced!










    share|improve this question
























      0












      0








      0








      I follow this guide to create an internal load balancing on GCE.
      Everything runs just fine as I follow exactly what they instructed.
      I see in the example, the internal IP address is picked randomly by the service loadbalancer which is not what I want. So I put the spec: loadBalancerIP with my preferred static internal IP and it does not work any more.
      The app deployment is exactly what provided in that guide, here is my service and ingress yaml config:



      apiVersion: v1
      kind: Service
      metadata:
      name: hello-service
      annotations:
      cloud.google.com/load-balancer-type: "Internal"
      spec:
      type: LoadBalancer
      loadBalancerIP: 172.19.0.7
      selector:
      app: hello
      ports:
      - name: web
      port: 80
      targetPort: 8080

      ---
      apiVersion: extensions/v1beta1
      kind: Ingress
      metadata:
      name: hello-web
      spec:
      rules:
      - host: hello.internal
      http:
      paths:
      - path: /
      backend:
      serviceName: hello-service
      servicePort: web


      Could you provide me some advice?
      Thanks in advanced!










      share|improve this question














      I follow this guide to create an internal load balancing on GCE.
      Everything runs just fine as I follow exactly what they instructed.
      I see in the example, the internal IP address is picked randomly by the service loadbalancer which is not what I want. So I put the spec: loadBalancerIP with my preferred static internal IP and it does not work any more.
      The app deployment is exactly what provided in that guide, here is my service and ingress yaml config:



      apiVersion: v1
      kind: Service
      metadata:
      name: hello-service
      annotations:
      cloud.google.com/load-balancer-type: "Internal"
      spec:
      type: LoadBalancer
      loadBalancerIP: 172.19.0.7
      selector:
      app: hello
      ports:
      - name: web
      port: 80
      targetPort: 8080

      ---
      apiVersion: extensions/v1beta1
      kind: Ingress
      metadata:
      name: hello-web
      spec:
      rules:
      - host: hello.internal
      http:
      paths:
      - path: /
      backend:
      serviceName: hello-service
      servicePort: web


      Could you provide me some advice?
      Thanks in advanced!







      google-cloud-platform google-kubernetes-engine






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 7 at 16:10









      Quang AnhQuang Anh

      11




      11




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f966212%2finternal-loadbalancing-on-gke-with-static-ip-is-not-working%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f966212%2finternal-loadbalancing-on-gke-with-static-ip-is-not-working%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

          What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

          Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos