# Kong gateway does not cares about strip-path annotation

**URL:** <https://discuss.konghq.com/t/kong-gateway-does-not-cares-about-strip-path-annotation/11631>\
**Category:** General\
**Tags:** kubernetes, kong-gateway\
**Created:** [June 24, 2023, 9:00pm UTC](https://discuss.konghq.com/t/kong-gateway-does-not-cares-about-strip-path-annotation/11631 "2023-06-24T21:00:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OZGUR\_SALGINCI](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/ozgur_salginci/32/4016_2.png) [@OZGUR\_SALGINCI](https://discuss.konghq.com/u/OZGUR_SALGINCI)\
**Post date:** [June 24, 2023, 9:00pm UTC](https://discuss.konghq.com/t/kong-gateway-does-not-cares-about-strip-path-annotation/11631/1 "2023-06-24T21:00:32Z")

</div>

On GKE I run a Kong gateway on K8S .I send request to my path …/goal/admin/weather/hello ,  
But target upstream service ( weather-hello) always receives request with full path /goal/admin/weather/hello . which means strip-path:true not working. Any helps?  
Thanks.

apiVersion: [networking.k8s.io/v1](http://networking.k8s.io/v1)  
kind: Ingress  
metadata:  
name: apibase-lima-mydomainturkey  
annotations:  
[konghq.com/strip-path:](http://konghq.com/strip-path:) ‘true’  
[kubernetes.io/ingress.class:](http://kubernetes.io/ingress.class:) kong  
[kubernetes.io/tls-acme:](http://kubernetes.io/tls-acme:) “true”  
[konghq.com/preserve-host:](http://konghq.com/preserve-host:) “true”  
spec:  
rules:  
- http:  
paths:  
- path: /  
pathType: Prefix  
backend:  
service:  
name: lima-api  
port:  
number: 80  
- path: /smp/pt  
pathType: Prefix  
backend:  
service:  
name: sample-service3  
port:  
number: 80  
- path: /goal/admin/weather  
pathType: Prefix  
backend:  
service:  
name: weather-hello  
port:  
number: 50601  
- path: /goal/admin/weather2  
pathType: Prefix  
backend:  
service:  
name: weather-hello  
port:  
number: 50601  
host: api.mydomain.com.tr  
tls:  
- secretName: mydomain-secret-name  
hosts:  
- api.mydomain.com.tr
