Cannot create Ingress for PrometheusKubernetes Ingress servicePort alternative?GKE with Ingress setup always gives status UNHEALTHYHow to mount a volume with a windows container in kubernetes?Deleting path from kubernetes ingress with java kubernetes-clientIngress resource does not give access to exposed servicesAccess stateful headless kubernetes externally?Why Kubernetes config file for ThingsBoard service use TCP for CoAP?Kubernetes HPA with metrics from Prometheus Node-ExporterHow to handle http 303 redirects from an app behind an ingress controller?Unable to setup kubernetes ingress-nginx

expiry or manufactured date?

How does a blind passenger not die, if driver becomes unconscious

Can White Castle?

Links to webpages in books

What is the mechanical difference between the Spectator's Create Food and Water action and the Banshee's Undead Nature Trait?

What was the Shuttle Carrier Aircraft escape tunnel?

First-year PhD giving a talk among well-established researchers in the field

Is my Rep in Stack-Exchange Form?

Why do textbooks often include the solutions to odd or even numbered problems but not both?

Should I prioritize my 401(k) over my student loans?

Do I have any obligations to my PhD supervisor's requests after I have graduated?

Why is C++ initial allocation so much larger than C's?

Would it be a copyright violation if I made a character’s full name refer to a song?

How can I politely work my way around not liking coffee or beer when it comes to professional networking?

Why cruise at 7000' in an A319?

If I wouldn't want to read the story, is writing it still a good idea?

Is it possible writing coservation of relativistic energy in this naive way?

Interaction between Leyline of Anticipation and Teferi, Time Raveler

Impossible darts scores

What are the penalties for overstaying in USA?

C-152 carb heat on before landing in hot weather?

Is it damaging to turn off a small fridge for two days every week?

Archery in modern conflicts

Has there been any indication at all that further negotiation between the UK and EU is possible?



Cannot create Ingress for Prometheus


Kubernetes Ingress servicePort alternative?GKE with Ingress setup always gives status UNHEALTHYHow to mount a volume with a windows container in kubernetes?Deleting path from kubernetes ingress with java kubernetes-clientIngress resource does not give access to exposed servicesAccess stateful headless kubernetes externally?Why Kubernetes config file for ThingsBoard service use TCP for CoAP?Kubernetes HPA with metrics from Prometheus Node-ExporterHow to handle http 303 redirects from an app behind an ingress controller?Unable to setup kubernetes ingress-nginx






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I would like to create an entry for Prometheus.



I have nodePort service deployed like this :



---
apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: monitoring
labels:
app: prometheus
spec:
type: NodePort
ports:
- port: 9090
targetPort: 9090
nodePort: 31190
protocol: TCP
selector:
app: prometheus


And my Ingress is :



apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: prometheus-ingress
namespace: monitoring
annotations:
ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: prometheus.example.com
http:
paths:
- path: /
backend:
serviceName: prometheus
servicePort: 9090


Can you explain me why my ingress didn't work ?










share|improve this question
























  • How are you testing if it works or not? You curl it?

    – suren
    Mar 25 at 10:09











  • Yes I trying and it didn't work.

    – M.Hol
    Mar 25 at 10:26











  • can you paste the test? what's your curl command?

    – suren
    Mar 25 at 10:30











  • You are not using an ingress controller properly here, use an annotation in your ingress like kubernetes.io/ingress.class: nginx depending on the kind of controller you are using.

    – cookiedough
    Mar 25 at 18:15











  • Paste the error (and other steps you've executed to debug it) please to the question.

    – AhmetB - Google
    Mar 25 at 19:16

















0















I would like to create an entry for Prometheus.



I have nodePort service deployed like this :



---
apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: monitoring
labels:
app: prometheus
spec:
type: NodePort
ports:
- port: 9090
targetPort: 9090
nodePort: 31190
protocol: TCP
selector:
app: prometheus


And my Ingress is :



apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: prometheus-ingress
namespace: monitoring
annotations:
ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: prometheus.example.com
http:
paths:
- path: /
backend:
serviceName: prometheus
servicePort: 9090


Can you explain me why my ingress didn't work ?










share|improve this question
























  • How are you testing if it works or not? You curl it?

    – suren
    Mar 25 at 10:09











  • Yes I trying and it didn't work.

    – M.Hol
    Mar 25 at 10:26











  • can you paste the test? what's your curl command?

    – suren
    Mar 25 at 10:30











  • You are not using an ingress controller properly here, use an annotation in your ingress like kubernetes.io/ingress.class: nginx depending on the kind of controller you are using.

    – cookiedough
    Mar 25 at 18:15











  • Paste the error (and other steps you've executed to debug it) please to the question.

    – AhmetB - Google
    Mar 25 at 19:16













0












0








0








I would like to create an entry for Prometheus.



I have nodePort service deployed like this :



---
apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: monitoring
labels:
app: prometheus
spec:
type: NodePort
ports:
- port: 9090
targetPort: 9090
nodePort: 31190
protocol: TCP
selector:
app: prometheus


And my Ingress is :



apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: prometheus-ingress
namespace: monitoring
annotations:
ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: prometheus.example.com
http:
paths:
- path: /
backend:
serviceName: prometheus
servicePort: 9090


Can you explain me why my ingress didn't work ?










share|improve this question
















I would like to create an entry for Prometheus.



I have nodePort service deployed like this :



---
apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: monitoring
labels:
app: prometheus
spec:
type: NodePort
ports:
- port: 9090
targetPort: 9090
nodePort: 31190
protocol: TCP
selector:
app: prometheus


And my Ingress is :



apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: prometheus-ingress
namespace: monitoring
annotations:
ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: prometheus.example.com
http:
paths:
- path: /
backend:
serviceName: prometheus
servicePort: 9090


Can you explain me why my ingress didn't work ?







kubernetes google-cloud-platform prometheus google-kubernetes-engine






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 25 at 10:27







M.Hol

















asked Mar 25 at 9:41









M.HolM.Hol

258 bronze badges




258 bronze badges












  • How are you testing if it works or not? You curl it?

    – suren
    Mar 25 at 10:09











  • Yes I trying and it didn't work.

    – M.Hol
    Mar 25 at 10:26











  • can you paste the test? what's your curl command?

    – suren
    Mar 25 at 10:30











  • You are not using an ingress controller properly here, use an annotation in your ingress like kubernetes.io/ingress.class: nginx depending on the kind of controller you are using.

    – cookiedough
    Mar 25 at 18:15











  • Paste the error (and other steps you've executed to debug it) please to the question.

    – AhmetB - Google
    Mar 25 at 19:16

















  • How are you testing if it works or not? You curl it?

    – suren
    Mar 25 at 10:09











  • Yes I trying and it didn't work.

    – M.Hol
    Mar 25 at 10:26











  • can you paste the test? what's your curl command?

    – suren
    Mar 25 at 10:30











  • You are not using an ingress controller properly here, use an annotation in your ingress like kubernetes.io/ingress.class: nginx depending on the kind of controller you are using.

    – cookiedough
    Mar 25 at 18:15











  • Paste the error (and other steps you've executed to debug it) please to the question.

    – AhmetB - Google
    Mar 25 at 19:16
















How are you testing if it works or not? You curl it?

– suren
Mar 25 at 10:09





How are you testing if it works or not? You curl it?

– suren
Mar 25 at 10:09













Yes I trying and it didn't work.

– M.Hol
Mar 25 at 10:26





Yes I trying and it didn't work.

– M.Hol
Mar 25 at 10:26













can you paste the test? what's your curl command?

– suren
Mar 25 at 10:30





can you paste the test? what's your curl command?

– suren
Mar 25 at 10:30













You are not using an ingress controller properly here, use an annotation in your ingress like kubernetes.io/ingress.class: nginx depending on the kind of controller you are using.

– cookiedough
Mar 25 at 18:15





You are not using an ingress controller properly here, use an annotation in your ingress like kubernetes.io/ingress.class: nginx depending on the kind of controller you are using.

– cookiedough
Mar 25 at 18:15













Paste the error (and other steps you've executed to debug it) please to the question.

– AhmetB - Google
Mar 25 at 19:16





Paste the error (and other steps you've executed to debug it) please to the question.

– AhmetB - Google
Mar 25 at 19:16












0






active

oldest

votes














Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
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%2fstackoverflow.com%2fquestions%2f55334933%2fcannot-create-ingress-for-prometheus%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 Stack Overflow!


  • 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%2fstackoverflow.com%2fquestions%2f55334933%2fcannot-create-ingress-for-prometheus%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

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현