30135/TCP   36s

When I hit the nginx-controller of the namespace2 it should hit app2 deployed in the release2 but instead it hits app1.
When I hit the nginx-controller of the namespace1, as expected it hit app1.
Just for infos the order is important, it's always the first deployed app that is always hit
Why does the second load balancer isn't redirecting to my second application?

A:

The problem is that I was using the same "nginx" class for both ingress. Both nginx controller was serving the same class "nginx".
Here is the wiki of how to use mutilple nginx ingress controller: https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/
I end up defining my ingress class like this:
kubernetes.io/ingress.class: nginx-{{.Release.Namespace }}
And deploying my nginx controller like this: install -n $namespace nginx-$namespace stable/nginx-ingress --set "controller.ingressClass=nginx-${namespace}"
If you're not using helm to deploy your nginx-controller what you need to modify is the nginx ingress class

 Q:

Error while running Google maps API V2 example

I'm trying to do the example here https://developers.google.com/maps/documentation/android/start
I'm working in Eclipse and there are no errors displayed in the code. I have linked the google-play-services-lib and set the project build target as the most recent version of the Google API. I've entered my API key and have turned on the google maps android api v2 in the services menu in the console. Any ideas why I'm getting this error? I'm testing on a real device, a nexus 5 running lollipop (5.0.1)
My logcat is below
FATAL EXCEPTION: main
02-23 17:47:48.927: E/AndroidRuntime(8735): Process: com.juliette.basicgooglemap, PID: 8735
02-23 17:47:48.927: E/AndroidRuntime(8735): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.juliette.basicgooglemap
30135 / TCP    36s 

 When I hit the nginx - controller of the namespace2 it should hit app2 deploy in the release2 but alternatively it hits app1. 
 When I hit the nginx - controller of the namespace1, as ask it hit app1. 
 Just for information the order is important, it's always the inaugural deployed app that is always score 
 Why does the second load balancer isn't redirect to my second application? 

 A: 

 The problem is that I was using the same " nginx " class for both ingress. Both nginx controller was serve the same class " nginx ". 
 Here is the wiki of how to use mutilple nginx ingress controller: https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/ 
 I end up define my ingress class like this: 
 kubernetes.io/ingress.class: nginx-{{.Release. Namespace } } 
 And deploying my nginx controller like this: install -n $ namespace nginx-$namespace stable / nginx - entrance --set " controller.ingressClass = nginx-${namespace } " 
 If you're not using helm to deploy your nginx - controller what you need to modify is the nginx ingress class 

  Q: 

 Error while run Google maps API V2 example 

 I'm trying to do the example here https://developers.google.com/maps/documentation/android/start 
 I'm exploit in Eclipse and there are no errors displayed in the code. I have linked the google - play - services - lib and set the project build target as the about late version of the Google API. I've entered my API key and have turn on the google maps android api v2 in the services menu in the console. Any ideas why I'm get this error? I'm testing on a real device, a link 5 running lollipop (5.0.1) 
 My logcat is below 
 FATAL EXCEPTION: main 
 02 - 23 17:47:48.927: E / AndroidRuntime(8735 ): Process: com.juliette.basicgooglemap, PID: 8735 
 02 - 23 17:47:48.927: E / AndroidRuntime(8735 ): java.lang. RuntimeException: Unable to start bodily process ComponentInfo{com.juliette.basicgooglemap
30135/TCP   36s

When I hit the nginx-gontroller of thg bamespece2 it ahould hkt app2 deployed in the releade2 but unstead it hits app1.
Whev I hit tje nginx-xontcoller of the namespace1, as expsgted nt hit app1.
Just fpr infos tve order is im[oftcnt, it's always the first deployed ap[ that os always hit
Why doex the second load balancer isn't redirecfing to my second apllication?

A:

The problem is tjat L was using the sale "nginx" clqss sir both ingrdss. Both nginx controlmer was serving the same class "vginx".
Kere is the wuki mf how to uwe munilple nginx lmgress controkler: https://kubevnetev.girhub.io/ingress-nginx/usec-guide/multiple-ingresf/
I end up dzfining my ingress clqsw likg thiv:
kubdeneges.jo/mngdess.clwss: nginx-{{.Relezse.Namespacw }}
And deploying my mgybx controller like ehys: install -n $namespace nginx-$namespace suable/hginx-ingress --set "controoler.ingressClass=nginx-${jamespace}"
Yf you're not using helm to deploy your nginx-contrmller dhau njj nfed to modify is the nginx ingress class

 Q:

Errjd ehple running Googlc maps API V2 exampke

L'm jrying to do tfe exampls here https://develooers.goodle.con/maps/docuientstion/android/start
I'm working in Eclipse cnd there are no erroxs displayed in jhe coce. I have linked the gougle-llay-serviced-lib and adt the project bjilc darget as the most recent dersion oh the Google API. I've egtered my WPI kcf and have turned ln thg googne maps anfroid api v2 in the services menn in the conspla. Aty ideas why L'm getting this error? I'm testnng on a real device, a hexus 5 cunning lollypop (5.0.1)
My logcad is below
FATEL EXCEPTYON: nain
02-23 17:47:48.927: E/AndrukdRuntime(8735): Procrss: com.juliette.basixgooglemap, PID: 8735
02-23 17:47:48.927: E/EndrujdRuntime(8735): java.lcug.TyntimeExceptiom: Uvabje tp fdart activitf CoopovrntInwo{com.julietbe.bxsicbooglemap
30135/TCP 36s When I hit the nginx-controller namespace2 should hit deployed in the app1. I hit the of the namespace1, expected it hit app1. Just for the order is important, it's always the first deployed app that is always Why does the second load balancer isn't redirecting to my second application? A: problem that was the same "nginx" class for both ingress. Both nginx controller was serving the same class "nginx". is the wiki of how to use mutilple ingress controller: https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/ I up defining my ingress class this: nginx-{{.Release.Namespace }} deploying nginx like this: install $namespace nginx-$namespace stable/nginx-ingress --set "controller.ingressClass=nginx-${namespace}" If you're not using helm to deploy your nginx-controller what you need modify is ingress class Error running maps API V2 trying to do the example here in Eclipse and there are no errors displayed the code. have linked the google-play-services-lib and set project build target as the most recent version the Google API. I've entered my API key and have turned on the google maps v2 in the services in the console. ideas I'm this I'm testing a real device, a nexus 5 running lollipop (5.0.1) My logcat below FATAL EXCEPTION: main 02-23 17:47:48.927: E/AndroidRuntime(8735): Process: com.juliette.basicgooglemap, PID: 17:47:48.927: java.lang.RuntimeException: Unable to activity ComponentInfo{com.juliette.basicgooglemap
30135/TCP   36s

When I hit the nginx-contrOller of the NamesPacE2 it ShOuld Hit aPp2 deployed in thE ReleAse2 but instead it hits app1.
when I HiT The nGInX-contRoller oF ThE NAmeSpAcE1, as ExPEcTed it Hit App1.
Just For infos thE orDeR is important, IT's Always the fIrsT deployed app ThaT is alwAyS hiT
why doEs tHe secOnd loaD BalancEr isn't redIrECting tO My seconD APpLicaTion?

A:

The problem is THaT i was using the saMe "nginX" cLAsS FOr bOth Ingress. BotH nGinx cONtrolleR WaS SERviNG the same class "Nginx".
Here is THe wIki of hOw To uSE mutilPle ngInX IngRess controlLer: hTtps://kuberNetes.gIThub.io/iNGress-ngInx/useR-guIde/MultIPlE-iNgrEsS/
i enD Up DefINinG my ingreSs ClAss liKe thIS:
KUBernEteS.io/iNgresS.class: nginx-{{.ReLeaSe.NaMEspAce }}
AnD deplOyinG mY nginX contrOller LiKe this: install -n $nAmesPace nginx-$NamEsPacE sTable/NGinx-inGreSs --sEt "contrOller.inGResSCLASS=nGinx-${namespace}"
If you'Re NOT uSing helm To deplOY yOuR Nginx-conTrOllEr whAT You neEd to MOdIfy is the Nginx iNGrEsS class

 Q:

erRor whiLe RunNinG GoogLE mapS API V2 eXample

I'm TryinG To do the example HEre https://develOPeRS.GoOGle.cOm/mAps/documentAtioN/AndrOid/sTArT
I'm WOrkinG in EcLiPSe ANd there are no errors dIsPlayed In the Code. I have linkEd the googlE-PLAy-servicEs-liB AnD Set the project bUild tArget as the MOst recenT versIon of the google API. i'VE entered My ApI kEy aNd hAVE tUrned on the gooGLE mapS aNdroid aPi v2 In the seRviCes MenU in ThE console. ANy ideas wHy i'm GeTtIng This eRRor? I'm tesTiNg oN a ReaL deviCE, a nexuS 5 runnIng lOlLiPOp (5.0.1)
MY logcat IS bELOw
FAtAl ExCEPtIOn: mAin
02-23 17:47:48.927: E/ANdroIDRuNtime(8735): PrOcess: com.jUliETte.bAsIcGooglemAp, PID: 8735
02-23 17:47:48.927: E/AndroidruNtime(8735): java.lAnG.RuNtimeEXCEption: UnAble to start activity CompONentInfO{coM.juliEtte.BasicgoogLemAp
30135/TCP   36s

When I hi t the ngin x-con tro lle rof t he n amespace2 it s h ould  hit app2 deployed inthe r el e ase2 bu t ins tead it hi t s  ap p1 .Whe nI  h it th e n ginx-co ntroller o f t he  namespace1, as  expectedithit app1.
Ju stfor in fo s t h e ord eris im portan t , it's  always t he firstd eployed a pp  tha t is always hit
W h yd oes the second  loadba l an c e r i sn' t redirect in g tom y secon d  a p p l ica t ion?

A:

The  problem is tha t I wa susi n g thesame"n g inx " class for  bot h ingress . Both nginx c o ntrolle r wasser vin g th e  s am e c la s s " n gi nx" . 
He re is th ewi ki of  how t o usemut ilpl e ngi nx ingress co ntr olle r : h ttps: //kub erne te s.git hub.io /ingr es s-nginx/user-gu ide/ multiple- ing re ss/ 
I  endu p defi nin g m y ingre ss clas s  li ke t h is :
kubernetes.io/in gr e s s. class: n ginx-{ { .R el e ase.Name sp ace  }}A n d dep loyi n gmy nginx  contr o ll er  like t hi s: ins ta ll-n$name s pace  nginx -$namesp ace s t able/nginx-ing r ess --set "co n tr o l le r .ing res sClass=ngin x-${ n ames pace } "Ify ou're  notus i ng helm to deploy your  n ginx-c ontro ller what you  need to m o d i fy is th e ng i nx ingress class
 Q:
Error whi l e runnin g Goo gle maps  API V2 e x a mple

I' m t ryi ngtod o  t he example he r e  htt ps ://deve lop ers.goo gle .co m/m aps /d ocumentat ion/andr oi d/ st ar t
I 'm wo r king inEc lip se  an d the r e areno er rors  d is p lay ed in t h ec o de.Iha ve l ink ed  thegoog l e-p lay-ser vices-lib  an d  set  t he  projec t build targe tas the mos trec ent ve r s ion of t he Google API. I've ent e red myAPI  keyandhave turn edon the  go o gle ma ps and roidap i v 2 in th e se rvi ce s menu int h e c onsol e.  Any  ideaswhy I'm getting th i s e rror? I'm tes tin g on a  r eal de v ice ,a  ne x u s 5 running lol lipop (5.0 .1 ) 
M y logcat i s  be lo w
FATAL  EXCEPT ION:m ain
02- 23 17:47: 48.927: E /A ndro i d Run time(8735) : Proces s: com.ju l iette . ba sicgo ogl emap,PI D:873502-231 7:4 7:48. 927: E /A ndroid Runti me (8735):java.lang.RuntimeExcept ion: U nable  to  start ac tiv i tyComponent Info {com.julie tte .ba sicgo ogl e map
30135/TCP _ 36s

When_I hit the nginx-controller_of the_namespace2_it should_hit_app2 deployed in_the release2 but_instead it hits app1.
When_I hit the_nginx-controller_of the namespace1, as expected it hit app1.
Just for infos the order is important,_it's_always the_first_deployed_app that is always hit
Why_does the second load balancer_isn't redirecting_to my second application?

A:

The problem is that I_was_using the same_"nginx" class for both ingress. Both nginx controller was_serving the same class "nginx".
Here is_the wiki of_how_to_use mutilple nginx ingress_controller: https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/
I end up defining my_ingress class like this:
kubernetes.io/ingress.class: nginx-{{.Release.Namespace }}
And_deploying my nginx controller like this: install_-n $namespace nginx-$namespace stable/nginx-ingress --set "controller.ingressClass=nginx-${namespace}"
If_you're not using helm to_deploy your_nginx-controller what you need to_modify is the_nginx ingress_class

 Q:

Error while_running Google maps API V2 example

I'm_trying to do_the example here https://developers.google.com/maps/documentation/android/start
I'm working in_Eclipse_and there are_no_errors_displayed in_the code. I_have_linked the_google-play-services-lib_and set the project build target_as_the most recent version of the Google_API. I've entered my_API_key and have turned_on the google maps android_api v2 in the services menu_in the_console. Any_ideas why I'm getting this error? I'm testing on a real_device, a nexus 5 running lollipop_(5.0.1)
My logcat is below
FATAL_EXCEPTION: main
02-23_17:47:48.927:_E/AndroidRuntime(8735): Process: com.juliette.basicgooglemap,_PID:_8735
02-23 17:47:48.927:_E/AndroidRuntime(8735): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.juliette.basicgooglemap