Files
240e3f47c4 [apiserver]: merge http utils (timeout) of apiserver v1/v2 (#3946)
* fix: missing timeout deadline in context

Signed-off-by: Cheng-Yeh Chung <[email protected]>

* feat: merge v1/v2 RetryConfig

Signed-off-by: Cheng-Yeh Chung <[email protected]>

* feat: merge v1/v2 backoff logic and timeout machenism

Signed-off-by: Cheng-Yeh Chung <[email protected]>

* update util function

Signed-off-by: Cheng-Yeh Chung <[email protected]>

* naming consistency

Signed-off-by: Cheng-Yeh Chung <[email protected]>

* update naming in util func

Signed-off-by: Cheng-Yeh Chung <[email protected]>

* Update apiserversdk/proxy.go

Co-authored-by: Nary Yeh <[email protected]>
Signed-off-by: Cheng-Yeh Chung <[email protected]>

* simplify http util

Signed-off-by: Cheng-Yeh Chung <[email protected]>

---------

Signed-off-by: Cheng-Yeh Chung <[email protected]>
Co-authored-by: Nary Yeh <[email protected]>
2025-08-22 09:20:02 -07:00

44 lines
1.0 KiB
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base/insecure
namespace: ray-system
images:
- name: kuberay/apiserver
newName: quay.io/kuberay/apiserver
newTag: latest
# Replace NodePort with ClusterIP as we do not need to receive requests from outside the Kubernetes cluster
patches:
- patch: |-
- op: replace
path: /spec/template/spec/containers/0/imagePullPolicy
value: IfNotPresent
target:
kind: Deployment
name: kuberay-apiserver
version: v1
- patch: |-
- op: add
path: /spec/template/spec/containers/1
value:
name: apiserver-curl
image: curlimages/curl:latest
command: ["sleep", "infinity"]
imagePullPolicy: IfNotPresent
target:
kind: Deployment
name: kuberay-apiserver
version: v1
- patch: |-
- op: replace
path: /spec/type
value: ClusterIP
- op: remove
path: /spec/ports/0/nodePort
- op: remove
path: /spec/ports/1/nodePort
target:
kind: Service
name: kuberay-apiserver
version: v1