Upstream timeout

Hello,
How can I change upstream timeout on kong ingress 3.1.x?
Before, (version 2.7.x), I was using this plugin:

apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
  name: up-timeout
  annotations:
    kubernetes.io/ingress.class: kong
  labels:
    global: "true"
plugin: upstream-timeout
config:
  connect_timeout: 30000
  send_timeout: 3600000
  read_timeout: 3600000

thanks is advance

I tried to apply through service base on this documentation https://docs.konghq.com/kubernetes-ingress-controller/latest/reference/custom-resources/#kongingressupstream

my yaml:

apiVersion: v1
kind: Service
metadata:
  name: logistics-simulator
  annotations:
    konghq.com/override: kong-timeout
    konghq.com/connect-timeout: 3600000
spec:
    type: ClusterIP
    ports:
    - port: 80 
    selector:
        app: logistics-simulator

but I am getting error on kubernetes deployment:

error: unable to decode “/home/vsts/work/_temp/Service_logistics-simulator_1712325946614”: json: cannot unmarshal number into Go struct field ObjectMeta.metadata.annotations of type string
##[error]error: unable to decode “/home/vsts/work/_temp/Service_logistics-simulator_1712325946614”: json: cannot unmarshal number into Go struct field ObjectMeta.metadata.annotations of type string