mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
* 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]>
44 lines
1.0 KiB
YAML
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
|