we have kubernetes deployed api and grpc in same cluster and grpc set under sub domain and grpc on https are working when access on local but when try to connect from api hosted in same cluster gives error as "name or service not known" Source: Docker..
I am using Kubernetes v1.21.5 on docker. The following is my ingress YAML file kind: Ingress metadata: name: ingress-service annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/use-regex: "true" nginx.ingress.kubernetes.io/cors-allow-credentials: "true" nginx.ingress.kubernetes.io/cors-allow-headers: Authorization, origin, accept nginx.ingress.kubernetes.io/cors-allow-methods: GET,POST nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/ssl-redirect: "false" spec: rules: – http: paths: – path: /service/account/?(.*) pathType: Prefix backend: service: name: auth-srv port: number: 3000 I am ..
I’m trying to deploy what I think is a pretty common use case onto a GKE cluster we have created with Terraform, microservices all hosted on one cluster, but cannot for the life of me get the routing to serve traffic to the correct services. The setup I’m trying to create is as follows: Deployment ..
I am trying to host my own Nextcloud server using Kubernetes. I want my Nextcloud server to be accessed from http://localhost:32738/nextcloud but every time I access that URL, it gets redirected to http://localhost:32738/login and gives me "404 Not Found". If I replace the path with path: / then, it works no problem on http://localhost:32738/login, but ..
I wanted to install npm packages from nexus repository in docker container. to do that I have done some poc on local machine. I want to change default registry of npmjs.org to nexus private URL. So to do that I have checked that if I download package locally pacakge-name.tgz file and do npm install then ..
I walked through the code in a 3 node K8 cluster and doesn’t seem like I am able to block the flow of traffic using networkpolicy on a deployment pod. Here is the the output from the exercise. [email protected]:~$ kubectl get deployment,svc,networkpolicy NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubernetes ClusterIP X.X.X.X <none> 443/TCP 20d [email protected]:~$ ..
I got 2 spring app pods deployed in k8 cluster. 1 replica each. Both have their cluster-ip services exposing the services. /upstream/agentLabs/makeotherTierCall should forward to prevlab deployment /agentLabs/makeOtherTierCall /downstream/basics/hello should forward to newlab deployment /basics/hello I am using ingress-nginx to redirect the traffic with following rules. ingress-service.yml apiVersion: networking.k8s.io/v1 # UPDATE API kind: Ingress metadata: ..
We have configured traefik Ingress controller with self signed certificate, its working fine. Now we have to configure valid signed certificates(cert chain) with traefik controller. for this we have application_request.key, application.crt, intermediate.crt and root.crt certificates. we are trying to create secret by appending all the crt file in the below format. —–BEGIN CERTIFICATE—– application.crt —–END ..
Here is my ingress: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: 8link-app-kubernetes-ingress annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/use-regex: "true" nginx.ingress.kubernetes.io/rewrite-target: / spec: rules: – host: link8.in http: paths: – backend: service: name: link8-app-prod-svc port: number: 80 path: / pathType: Prefix – host: test.link8.in http: paths: – backend: service: name: link8-app-prod-svc port: number: 80 path: / pathType: Prefix In ..
I am trying to learn .NET Microservice. I have been following a great tutorial on Youtube (Time: 4:44:55, Adding An API Gateway). Everything worked well until NGINX Ingress came into the picture. I pasted the same YAML file from the GitHub account of the trainer I doubled checked all the things but couldn’t find anything: ..