Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when i use kong plugin-url-rewrite with kubernetes #32

Open
AlZero-t opened this issue Aug 31, 2020 · 2 comments
Open

when i use kong plugin-url-rewrite with kubernetes #32

AlZero-t opened this issue Aug 31, 2020 · 2 comments

Comments

@AlZero-t
Copy link

Hi, I have a question for you about plugin for kubernetes .
this is example
plugins:

I want to switch from A domain to B domain
I wrote the following YAML file
But I don't know how to modify it
Can you take a look at it for me

1 apiVersion: extensions/v1betal
2 kind: Ingress
3 metadata:
4 name: rewrite-icc-api-kong
5 annotations:
6 plugins.kongq.com: kong-plugin-url-rewrite
7 konghq.com/strip-path: "false"
8
9 spec:
10 rules:
11 - host: services.dev.iccchina.com/api/test
12 http:
13 paths:
14 -backend:
15 serviceName: icc-api
16 servicePort: 80
17 url: icc-api.dev.iccchina.com/api/v1/test

@AlZero-t
Copy link
Author

A domain services.dev.iccchina.com/api/test
B domain icc-api.dev.iccchina.com/api/v1/test

@AlZero-t
Copy link
Author

thinks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant