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;
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!
add a comment |
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!
add a comment |
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!
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!
asked May 7 at 16:10
Quang AnhQuang Anh
11
11
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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