ingress for kubernetes wordpress

0 votes

I'm trying to set ingress for wordpress deployments. I am able to access through nodeport but I know nodeport is not recommended so I am trying to setup the ingress. Can somebody guide me

Also i'm a noob at kubernetes

Sep 7, 2018 in Kubernetes by lina
• 8,110 points
298 views

1 answer to this question.

0 votes

You can configure your ingress to forward traffic to a different service depending on path.

An example of such a confugration is this:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: test
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
  - host: foo.bar.com
    http:
      paths:
      - path: /foo
        backend:
          serviceName: s1
          servicePort: 80
      - path: /bar
        backend:
          serviceName: s2
          servicePort: 80
answered Sep 7, 2018 by Kalgi
• 41,460 points

Related Questions In Kubernetes

0 votes
1 answer

Forcing ssl for Kubernetes Ingress on GKE

https://github.com/kubernetes/ingress-gce#frontend-https If you want to block http, you ...READ MORE

answered Sep 6, 2018 in Kubernetes by ajs3033
• 7,280 points
1,285 views
0 votes
1 answer

Defining a fallback service for Kubernetes ingress

For the Nginx Ingress Controller there is ...READ MORE

answered Sep 11, 2018 in Kubernetes by Kalgi
• 41,460 points
241 views
0 votes
1 answer

Disable SSL redirect for Kubernetes NGINX ingress

Adding ingress.kubernetes.io/ssl-redirect: "false" to annotations will disable the SSL redirect: apiVersion: extensions/v1beta1 kind: ...READ MORE

answered Sep 12, 2018 in Kubernetes by Kalgi
• 41,460 points
1,624 views
0 votes
1 answer

Kubernetes ingress for leader follower system

you can use a traefik backend health ...READ MORE

answered Oct 1, 2018 in Kubernetes by Kalgi
• 41,460 points
32 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17 in Others by anonymous
2,535 views
+3 votes
1 answer
0 votes
2 answers

single point of entry for multiple services in kubernetes ingress

I tried having something similar too. Deployment apiVersion: extensions/v1beta1 kind: ...READ MORE

answered Sep 7, 2018 in Kubernetes by Hannah
• 15,120 points
114 views
0 votes
1 answer

Kubernetes Ingress controllers for wildcard url mapping

If you use the stock controllers you ...READ MORE

answered Sep 10, 2018 in Kubernetes by Kalgi
• 41,460 points
865 views