kubernetes-ingress

Ingress controller name for the ingress class

|▌冷眼眸甩不掉的悲伤 提交于 2020-12-07 03:40:23
问题 I am setting up my ingress controller, ingress class and ingress to expose a service outside the cluster. This is fresh cluster setup. I have setup the nginx-ingress controller using kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.41.0/deploy/static/provider/baremetal/deploy.yaml The next step based on my understanding is to create the ingress class https://v1-18.docs.kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class apiVersion:

Ingress controller name for the ingress class

自古美人都是妖i 提交于 2020-12-07 03:40:15
问题 I am setting up my ingress controller, ingress class and ingress to expose a service outside the cluster. This is fresh cluster setup. I have setup the nginx-ingress controller using kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.41.0/deploy/static/provider/baremetal/deploy.yaml The next step based on my understanding is to create the ingress class https://v1-18.docs.kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class apiVersion:

Traefik Dashboard: Ingress and IngressRoute, can they co-exist?

ε祈祈猫儿з 提交于 2020-12-06 12:56:29
问题 Recently I am moving a project to Kubernetes and have used Traefik as the ingress controller. For Traefik I have used the Traefik Kubernetes Ingress provider for routing. When I tried to add the Traefik dashboard, I found that seems it can only be added using IngressRoute (ie. using Kubernetes CRD as provider). I have a few questions: Is it possible to use Traefik Kubernetes Ingress provider to bring up the dashboard? Can I use both kubernetesingress and kubernetescrd as provider? Can both

Unable to access Spring Boot microservice exposed via nginx ingress controller on Kubernetes cluster running on AWS

给你一囗甜甜゛ 提交于 2020-12-04 07:57:01
问题 I have spun up a 3 node Kubernetes cluster (version: 1.5.8) on AWS using the kube-up.sh script following this walkthrough: https://ryaneschinger.com/blog/building-a-kubernetes-cluster-on-aws/ I'm able to successfully access the cluster and view the UI. Output of kubectl cluster-info command: I wrote a simple Spring Boot microservice: @RestController public class AddCustomerController { private static final String template = "Customer %s is added."; @RequestMapping("/addcustomer") public

Unable to access Spring Boot microservice exposed via nginx ingress controller on Kubernetes cluster running on AWS

瘦欲@ 提交于 2020-12-04 07:56:53
问题 I have spun up a 3 node Kubernetes cluster (version: 1.5.8) on AWS using the kube-up.sh script following this walkthrough: https://ryaneschinger.com/blog/building-a-kubernetes-cluster-on-aws/ I'm able to successfully access the cluster and view the UI. Output of kubectl cluster-info command: I wrote a simple Spring Boot microservice: @RestController public class AddCustomerController { private static final String template = "Customer %s is added."; @RequestMapping("/addcustomer") public

How do I use Ingress with basic auth but only for certain routes?

折月煮酒 提交于 2020-11-29 21:07:47
问题 How do I make an ingress with basic auth on every path of the domain except on one. My ingress looks like this: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: frontend-ingress namespace: dev labels: app: x annotations: kubernetes.io/ingress.global-static-ip-name: x.x.x ingress.kubernetes.io/auth-secret: "basic-auth" ingress.kubernetes.io/auth-type: "basic" spec: rules: - host: x.x.x http: paths: - path: / backend: serviceName: hello servicePort: 80 What i wanna make is to have